Providers and the proxies in front of them often write errors for people, with bold text, a list of things to try, a link to a status page or an id to quote, but the error box under a reply showed the Markdown marks as typed and the links as plain text. The error box now renders its message the way replies are rendered, so links open like links in replies, and single line breaks still show as line breaks, as they have since #34954. HTML and images in an error are shown as text and never rendered, and a plain one-line error looks exactly as before.
Fixes#34951
On a phone, a quick pinch in the image preview could shrink the image to nothing, a quick spread could throw it off screen and stop zooming, and after zooming in and back out slowly the image ended up smaller than it opened. The previews made every pinch three and a half times stronger than the fingers moved, so a quick pinch reached a size of zero that the image could not recover from, and all other pinches overshot. Pinch now follows the fingers at normal speed in the image, file, diagram and slide previews.
Fixes#34939
When a model connection answered with an error message spread over several lines, the error box under the reply ran all lines together into one paragraph. The box now keeps the message's line breaks, so each line shows on its own line, and long unbroken text still wraps inside the box. Spaces at the start or end of a line are still dropped, so the box shows no odd gaps.
Fixes#34950
On a phone or tablet, tapping Download in the full-screen image view did nothing, and the same went for the other buttons over a zoomable view, such as Download as SVG and Copy to clipboard on a diagram. The zoomable view under those buttons captured every touch, so a tap on a button never became a click. Taps on these buttons now reach them and no longer zoom or pan the view. The image view's buttons also sit on a dark bar now: on a zoomed light image their white icons were invisible, which left an iPhone user with no visible way to close the preview.
Fixes#34942
In a temporary side chat, clicking a source from a knowledge base did nothing, both on the citation marker in the reply and in the source list. No tab opened beside the chat and no source dialog showed either. The file now opens in a tab beside the chat with the cited passage marked, the same as in a saved side chat or a temporary main chat.
Fixes#34921
In the skill editor, files selected with a Shift or Ctrl/Cmd click stayed selected until each one was unchecked by hand, and while any file was selected a click on a file only added it to the selection. Escape and a click on the empty part of the file list now clear the selection, like the file browser in a chat's Files panel. An Escape that closes one of the editor's dialogs or menus, or cancels a rename, keeps the selection.
Fixes#34690
The model editor waited for the tools list, skills, functions, tag suggestions and the TTS voice list one after the other before showing the form. With a TTS provider that lists voices over the network or a few tool servers, that took seconds on every open. Only the model defaults set by the admin are needed to draw the form, so the editor now waits for those alone and the other lists fill in when they arrive. Saved selections show right away, and saving before a list has arrived keeps them.
<table>
<tr><td></td><td>before</td><td>after</td></tr>
<tr><td>Edit model, voice list taking 1.5 s, 3 tool servers</td><td>2344 ms</td><td>240 ms</td></tr>
<tr><td>New model, same setup</td><td>2305 ms</td><td>227 ms</td></tr>
<tr><td>Edit model, voices and tools answering at once</td><td>231 ms</td><td>233 ms</td></tr>
</table>
Fixes#34843
In the Chrome view of the Browser tab, text typed through an input method (Korean, Japanese, Chinese and others) never reached the page, and in some browsers neither did text typed with dead keys (an accent key followed by a letter, like ´ then e for é). Plain letters and paste worked. After you click into the page, composed text now reaches it when the input method finishes it, so with Korean each syllable shows up once you start the next one, press space or Enter, or click. Plain typing, shortcuts and paste work as before while nothing is being composed.
Fixes#34717
Every page, the login page included, downloaded the full code highlighting library with all its languages before it appeared, about 300 KiB compressed. It now loads only where code is shown or edited. Code in chat messages and message inputs shows plain for a moment on first load and is colored as soon as the library arrives, while notes and other editors load it before they open, so a note is never modified just by opening it. Copying a response with formatting never actually used the library, so that leftover code is gone.
<table>
<tr><th>Cold load, 5 Mbps</th><th>Before</th><th>After</th></tr>
<tr><td>Login page JavaScript (compressed)</td><td>1062 KiB</td><td>769 KiB</td></tr>
<tr><td>Login page, password field visible</td><td>3440 ms</td><td>2945 ms</td></tr>
<tr><td>New chat JavaScript (compressed)</td><td>1747 KiB</td><td>1454 KiB</td></tr>
<tr><td>New chat, input usable</td><td>5528 ms</td><td>5105 ms</td></tr>
</table>
Fixes#34888
When a reply broke off mid-stream and Continue Response then finished it, the old error stayed under the answer, also after a reload. Continuing now clears the old error as soon as the new attempt starts, on screen and in the saved chat. A continuation that fails again shows and saves its own error, and nothing sent to the model changes.
Fixes#34814
In the model editor's Features section, the switch that makes Web Search, Image Generation or Code Interpreter available and the switch that turns it on by default in new chats had the same name, so a screen reader announced two identical "Web Search" switches and labels. The default switches and their labels are now announced as "Start enabled in new chats: Web Search" and so on, matching the caption shown above them. The visible labels stay the same.
Fixes#34790
Every toggle in personal Settings and the Save button in General reloaded the full model list after storing the setting, which calls every connected provider live. The "Settings saved" message waited for that, so a slow connection made each click lag. None of these settings change the model list any more since personal connections were removed from user settings, so a save now just stores the setting and applies it.
<table>
<tr><td>Mock provider, 500 ms model list, 15 saves</td><td>Before</td><td>After</td></tr>
<tr><td>Interface toggle, click to save done</td><td>~580 ms</td><td>~45 ms</td></tr>
<tr><td>General Save, click to "Settings saved"</td><td>~585 ms</td><td>~70 ms</td></tr>
<tr><td>Provider model list calls per save</td><td>1</td><td>0</td></tr>
</table>
Fixes#34846
After selecting everything in the chat input with Ctrl+A or Cmd+A, pressing Enter did nothing. The message was not sent, and the browser console showed a RangeError. Enter now sends the message as usual, and Shift+Enter no longer logs that error.
Fixes#34758