Commit Graph
1039 Commits
Author SHA1 Message Date
Timothy Jaeryang Baek 076f6fb339 refac 2026-12-02 03:33:58 +04:00
Classic298 bde9278693 fix: chat freezes for seconds when scrolling inside an inline PDF preview (#35452)
Scrolling inside a PDF shown inline in a chat froze the whole page for seconds at a time, on phones and on desktop, and long chats had it worst. The cause was not in the PDF preview. A style rule meant only for the settings pages was active on every page and made the browser redo the styling of a whole chat message each time a piece of content was added to it, which a PDF preview does well over a hundred times per page. That rule only decides whether the mouse pointer turns into a hand over the name of a setting, and it is now written so that it no longer costs anything noticeable outside the settings pages. The settings look and behave as before.

<table>
<tr><th>Long chat with three inline PDFs, scrolling one PDF down and back up</th><th>Before</th><th>After</th></tr>
<tr><td>Time the browser spent redoing styles</td><td>15.1 s</td><td>0.24 s</td></tr>
<tr><td>Longest freeze, desktop</td><td>6.6 s</td><td>0.05 s</td></tr>
<tr><td>Longest freeze, phone sized screen with CPU slowed 4x</td><td>30 s</td><td>0.2 s</td></tr>
<tr><td>Frames per second, desktop</td><td>35</td><td>60</td></tr>
<tr><td>Adding one piece of content to a message</td><td>36 ms</td><td>under 1 ms</td></tr>
</table>

Fixes #35444
2026-12-01 19:58:39 +04:00
Timothy Jaeryang Baek c78060a62d refac 2026-12-01 01:02:02 +04:00
Classic298 e8839502dc fix: screen readers can't tell whether the Advanced section of a connection dialog is open (#35307)
The Advanced toggle in the add connection, tool server, image connection, video connection and external knowledge dialogs only turned its arrow, so screen readers could not tell whether the section was open. It now reports open or closed, like the Advanced toggles in model, knowledge, machine and chat settings already do.

Fixes #35306
2026-11-30 23:35:39 +04:00
Classic298 fcfdc472a7 feat: find models by their ID in the admin and workspace model search (#35297)
Searching in Admin Settings > Models only matched the display name, and Workspace > Models matched the name, the base model and the owner but not the model's own ID. A model that was renamed, or whose name differs from its ID, could not be found by typing the ID that the tooltip and the API show. Both searches now match the ID too, like the chat model selector, tools and functions searches already do.

Fixes #35296
2026-11-30 23:01:02 +04:00
Timothy Jaeryang Baek affe67b7df refac 2026-11-30 21:27:41 +04:00
Timothy Jaeryang Baek 00bc5c3dc8 refac 2026-11-30 21:03:32 +04:00
Classic298 e40bc6f481 fix: screen readers miss the pressed state of rating and read aloud buttons and the name of three switches (#35291)
After rating a reply, Good Response or Bad Response looks selected, but screen readers announced no state, and Read Aloud gave screen readers no sign that it was reading aloud. These buttons now report whether they are pressed. The enable switch in the tool server dialog, the Global switch in a function's menu and the enable switch in the webhook form were announced only as "switch, on", and now have a name.

Fixes #35290
2026-11-30 18:27:55 +04:00
Classic298 571e4e3b52 fix: Enter or Escape while typing with an IME saves, submits or closes too early (#35295)
When typing Japanese, Chinese or Korean with an input method (IME), Enter, Space and the arrow keys pick conversion candidates and Escape drops them. Many inputs treated those keys as their own: Escape stopped a running response, threw away a message, cell, rename or comment draft, cleared a search or closed the dialog, drawer, menu or model selector, and Enter or Space saved, submitted, searched, picked a model or added the text while it was still half-typed. Inputs, dialogs and menus that act on these keys now leave keys that belong to the IME alone, the same way chat rename already does.

Fixes #35294
2026-11-30 18:26:49 +04:00
Classic298 28ee8cd0b0 fix: Reset Vector Storage shows Success before the reset has finished (#35344)
Confirming Reset Vector Storage/Knowledge in the Documents settings showed a Success toast right away, even when the reset then failed on the server. The toast now waits for the reset and only shows Success once it actually went through.

Fixes #35343
2026-11-30 18:25:44 +04:00
Timothy Jaeryang Baek 25d880bd62 refac 2026-11-27 02:42:47 +04:00
G30 de696d4b4a fix: check ui translation placeholders against the default text (#35127) 2026-11-26 23:44:04 +04:00
Timothy Jaeryang Baek 4d49c6d950 refac 2026-11-26 21:25:16 +04:00
Timothy Jaeryang Baek ec0ef19474 refac 2026-11-26 00:40:06 +04:00
Timothy Jaeryang Baek ee591b44b3 refac 2026-11-25 12:53:12 +04:00
Classic298 fef778d194 fix: a model's new image only shows after a page reload (#34994)
After saving a model with a new image, or resetting it to the default logo, the model picker, the chat and the model lists kept showing the old image until the page was reloaded. The image address stayed the same, so the browser reused the copy it had already loaded. The address now carries the time the model was last saved, so the new image shows right away for workspace models and router models alike.

Fixes #34703
2026-11-25 03:25:19 +04:00
Timothy Jaeryang Baek 1fa28a60e4 chore: format 2026-11-25 02:36:18 +04:00
Timothy Jaeryang Baek 8522af2d61 refac 2026-11-25 01:46:31 +04:00
Classic298 4a065a5c99 fix: saving a router model with an invalid pattern only shows "[object Object]" (#34956)
Saving a router model whose pattern is not a valid regular expression showed only "[object Object]" in the error toast, so the admin could not tell what was wrong. The toast now shows the server's message, such as "Value error, Invalid pattern: missing ), unterminated subpattern at position 0". Any other rule the server refuses when a router model is saved reads the same way.

Fixes #34897
2026-11-24 22:52:10 +04:00
Classic298 179991fc1a fix: saving a router model strips the trailing space from a pattern (#34957)
A pattern like "```|def |function " (the example in the docs) lost its trailing space when the router model was saved, from the dialog or through the API. "function" without a space after it then matched as well, so a message about "functionality" went to the model meant for code. Patterns are now saved exactly as typed, and a pattern saved before this needs its space typed again. Conditions saved through the API now keep their spaces as sent too.

Fixes #34898
2026-11-24 22:51:49 +04:00
Timothy Jaeryang Baek 26f85aa220 refac 2026-11-24 21:50:41 +04:00
Timothy Jaeryang Baek 068fe7a39e refac 2026-11-24 20:49:51 +04:00
G30 a667c3176a fix(ui): remove disabled connection URL backgrounds (#34946) 2026-11-24 20:27:28 +04:00
Timothy Jaeryang Baek 57c955a033 refac 2026-11-24 16:39:36 +04:00
Timothy Jaeryang Baek c94eb96b7f refac 2026-11-24 15:46:24 +04:00
Classic298 ed1c7e45d8 perf: show the Admin Settings > Interface tab sooner (#34891)
The Interface tab in Admin Settings loaded its settings first, then the saved model settings, then the model list, waiting for each before starting the next. On a remote instance every one of those waits is a full network round trip before the task model selectors show up. All of them now load together.

<table>
<tr><th>Time until the task model selectors show, provider answering in 500 ms, median of 7</th><th>Before</th><th>After</th></tr>
<tr><td>no added latency (localhost)</td><td>635 ms</td><td>621 ms</td></tr>
<tr><td>40 ms latency</td><td>711 ms</td><td>625 ms</td></tr>
<tr><td>100 ms latency</td><td>787 ms</td><td>625 ms</td></tr>
</table>

Fixes #34889
2026-11-23 18:32:55 +04:00
Classic298 d59de004bb perf: show the Admin Settings > Models list sooner (#34873)
The Models tab in Admin Settings loaded the models config, the workspace models and the model list one after another, then loaded the provider model list, and after showing the list loaded the model list again. Every one of those waits costs a network round trip, so admins on a remote instance waited noticeably longer than needed. The first three now load together and the model list is only loaded once. The provider model list still loads after the model list, so the provider is still asked only once per visit.

<table>
<tr><th>Time until the list shows, provider answering in 500 ms, median of 7</th><th>Before</th><th>After</th></tr>
<tr><td>no added latency (localhost)</td><td>619 ms</td><td>620 ms</td></tr>
<tr><td>40 ms latency</td><td>730 ms</td><td>654 ms</td></tr>
<tr><td>100 ms latency</td><td>911 ms</td><td>710 ms</td></tr>
</table>

Fixes #34872
2026-11-23 16:16:26 +04:00
Classic298 b393504d9c fix: screen readers do not say which connection an on/off switch belongs to (#34795)
In the connection lists under Admin Settings > Images & Videos and Admin Settings > Integrations (tool servers, machines and external knowledge), a screen reader announced each connection's on/off switch without saying which connection it belongs to. This came with a recent change, not yet released, that turned the connection names into buttons. Each switch is now announced as Enabled followed by its connection's name, the same way the model and tool switches in the workspace are.

Fixes #34788
2026-11-23 00:34:21 +04:00
Timothy Jaeryang Baek 29c5fbef46 refac 2026-11-22 18:17:45 +04:00
Timothy Jaeryang Baek df6be8c3a1 refac 2026-11-22 17:13:34 +04:00
Timothy Jaeryang Baek 67863f310c refac 2026-11-22 15:54:36 +04:00
Timothy Jaeryang Baek f59a3aff85 refac 2026-11-22 02:10:33 +04:00
Timothy Jaeryang Baek 6e3e87b116 refac 2026-11-21 22:54:25 +04:00
Timothy Jaeryang Baek 27e82ba24c refac 2026-11-21 21:48:36 +04:00
Timothy Jaeryang Baek e7406ce2f3 refac 2026-11-21 20:04:01 +04:00
Timothy Jaeryang Baek 337053b74c refac 2026-11-21 16:47:31 +04:00
Timothy Jaeryang Baek e8b6f620e8 refac 2026-11-21 16:45:48 +04:00
Timothy Jaeryang Baek c5c42fe3b7 refac 2026-11-21 16:20:44 +04:00
Timothy Jaeryang Baek 86e912697a refac: drop MCP warning, shorten access button labels 2026-11-21 15:15:57 +04:00
Timothy Jaeryang Baek a78a66e7de refac 2026-11-21 13:27:07 +04:00
Timothy Jaeryang Baek 7aa18c48fe refac 2026-11-20 21:51:19 +04:00
Timothy Jaeryang Baek 76339161b0 refac 2026-11-20 14:43:49 +04:00
Timothy Jaeryang Baek aae047766a refac 2026-11-19 19:38:20 +04:00
Timothy Jaeryang Baek 96c5e86e16 refac 2026-11-19 19:27:43 +04:00
Timothy Jaeryang Baek 454d0d1a4c refac 2026-11-19 19:16:23 +04:00
Timothy Jaeryang Baek 47d2a3c758 refac 2026-11-19 19:16:10 +04:00
Timothy Jaeryang Baek 8a596a0b66 refac 2026-11-19 19:14:21 +04:00
Timothy Jaeryang Baek 8fb2bf35ad refac 2026-11-19 19:13:33 +04:00
G30 29508fb691 fix: reset an arena model's image to the default logo (#34662) 2026-11-19 00:53:57 +04:00
Timothy Jaeryang Baek 7686e6329d refac 2026-11-18 20:27:18 +04:00