Commit Graph
11989 Commits
Author SHA1 Message Date
Classic298 74f2c2192e perf: stop reloading the model list on every settings save (#34847)
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
2026-11-23 18:53:20 +04:00
Timothy Jaeryang Baek c11a16f448 refac 2026-11-23 18:38:47 +04:00
Timothy Jaeryang Baek 1581377b69 refac 2026-11-23 18:38:06 +04:00
Classic298 e861fde7cd fix: Enter does nothing in the chat input after selecting all text (#34760)
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
2026-11-23 18:37:17 +04:00
Timothy Jaeryang Baek b7ce1bd194 refac 2026-11-23 18:35:34 +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 e70428af2d fix: expanding or collapsing a note's chat drops keyboard focus (#34799)
Pressing Expand above a note's chat, or Collapse in its header, removed the button that had focus, so keyboard focus fell back to the page and the next Tab started again from the top. Expanding now puts the focus in the chat's message box and collapsing gives it back to the Expand button.

Fixes #34798
2026-11-23 18:32:38 +04:00
Classic298 c3fcd04e9b fix: browser console shows a channels error on every page load when Channels is off (#34821)
With Channels turned off, or for a user without the Channels permission, every page load asked the server for the channel list right after connecting to it. The server refused, so the browser console logged a 403 (or 401) error each time. The channel list is now only requested when Channels is on and the user may use it, and it still refreshes after a reconnect when it is.

Fixes #34820
2026-11-23 18:30:16 +04:00
Timothy Jaeryang Baek 74fad78f1c refac 2026-11-23 18:23:07 +04:00
Classic298 347aceaf50 fix: generated titles of router model chats come from a model the router did not pick (#34900)
Generate in a router model chat's title editor or in its sidebar rename asked the router again, which matched its rules against the built-in title instructions instead of the conversation, so the title could come from a model unrelated to the chat and each click could cost a Decisions API call. It now comes from the model the router picked for the latest reply, as in a direct chat with that model. The automatic title, tags and follow-ups after a reply are fixed in #34895.

Refs #34887
2026-11-23 18:09:54 +04:00
Classic298 bd150cdf66 fix: machine skills show an internal name instead of Machine in the $ and / skill lists (#34810)
Since terminals were renamed to machines, skills that come from a machine showed an internal name such as terminal:my-skill next to them in the $ and / lists, while the Skills menu labels them Machine. Both lists now show the Machine label for them, matching the Skills menu.

Fixes #34809
2026-11-23 16:45:49 +04:00
Classic298 0b64d0c047 fix: a pinned model's new chat tab shows none of the model's prompt suggestions (#34845)
Since pinned models open their new chat in a tab, that tab only showed a plain New Chat heading, so the prompt suggestions set up for the model in Workspace > Models never appeared. Picking the same model in the model selector of a new chat still showed them. A new chat tab now lists the selected model's own prompt suggestions above the message input, and they filter as you type and send exactly as on the new chat screen.

Fixes #34830
2026-11-23 16:45:18 +04:00
Classic298 83e1d38d88 fix: clicking a PDF citation again does not go back to the cited page (#34836)
Once a cited PDF was open beside the chat, scrolling it or picking another page in the page strip broke the citation: clicking it again left the PDF where it was, and only closing the tab brought the cited page back. Every click on a citation now opens the PDF at its cited page again, wherever the reader went since.

Fixes #34834
2026-11-23 16:45:00 +04:00
Timothy Jaeryang Baek 411d030679 refac 2026-11-23 16:43:25 +04:00
Timothy Jaeryang Baek d599f7a08e refac 2026-11-23 16:23:46 +04:00
Timothy Jaeryang Baek 061aeae187 refac 2026-11-23 16:21:24 +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 2065ec9a80 perf: chats opened by link or reload start loading before the model list is in (#34869)
Opening a chat directly waited for the model list before it even asked for the chat, so a long chat on a slow connection added its whole download on top of the model list wait. The chat is now requested right away and the model choice, defaults and input still wait for the model list as before. The time saved is the chat download itself, so it grows with longer chats and slower links. Measured on a 500-message chat with a model list that takes 1 s, median ms until messages show and until the input is usable.

<table>
<tr><th></th><th>before</th><th>after</th></tr>
<tr><td>20 Mbit/s, messages shown</td><td>3568</td><td>3401</td></tr>
<tr><td>20 Mbit/s, input usable</td><td>3674</td><td>3485</td></tr>
<tr><td>5 Mbit/s, messages shown</td><td>7447</td><td>6442</td></tr>
<tr><td>5 Mbit/s, input usable</td><td>7519</td><td>6523</td></tr>
</table>

Fixes #34868
2026-11-23 16:14:51 +04:00
Classic298 41652d4a0a perf: Workspace Models list waits on an unused request before loading (#34871)
Opening Workspace > Models loaded every user group before it asked for the models, and nothing on the page used the groups. The list now starts loading as soon as the page opens, so it shows up one network round trip sooner. A failed groups request also no longer leaves the page blank.

<table>
<tr><th>Time to first model row (in-app click, 20 groups, 40 models)</th><th>Before</th><th>After</th></tr>
<tr><td>0 ms latency</td><td>263 ms</td><td>226 ms</td></tr>
<tr><td>50 ms latency</td><td>420 ms</td><td>327 ms</td></tr>
<tr><td>100 ms latency</td><td>658 ms</td><td>537 ms</td></tr>
</table>

Fixes #34870
2026-11-23 16:14:25 +04:00
Timothy Jaeryang Baek 5697a0939a refac 2026-11-23 16:10:09 +04:00
Timothy Jaeryang Baek 99784757b5 refac 2026-11-23 15:13:45 +04:00
Timothy Jaeryang Baek c3747e8449 refac 2026-11-23 15:06:29 +04:00
G30 8f6f1d022c chore: the Calendar grid shows a page background image (#34813) 2026-11-23 14:38:39 +04:00
Timothy Jaeryang Baek 8e548c0f77 refac 2026-11-23 14:20:59 +04:00
Timothy Jaeryang Baek cc2e033b04 refac 2026-11-23 02:26:51 +04:00
Timothy Jaeryang Baek 9b6241e541 refac 2026-11-23 02:05:05 +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
Classic298 ad8601004c fix: empty Notes page points to a Create menu that no longer exists (#34792)
With no notes yet, the Notes page told people to create their first note from the Create menu, which the notes header no longer has. The hint now points to the + menu at the top right of the page, where New Note is.

Fixes #34787
2026-11-23 00:34:03 +04:00
G30 942fe77524 i18n: fill missing translations in 48 languages (#34784) 2026-11-23 00:20:14 +04:00
Classic298 a3992d2365 fix: an agent model picked on a folder page is replaced by the default model when the message is sent (#34805)
On a folder whose default machine offers coding agents, picking one of the agent models on the folder page and sending a message opened the new chat tab on the default model, so the agent never got the message. The new tab looked up the machine's agent models before it knew the folder's working directory, got the agents of the machine's default directory and dropped the picked one. The tab now starts out with the folder's directory, so the picked agent model is kept and the chat runs on it in the folder's directory.

Fixes #34803
2026-11-23 00:18:17 +04:00
Classic298 637cca216f fix: a model link opens the model picker instead of selecting the model while a machine is picked (#34804)
Opening a model link (an address ending in ?model= and a model id) in a fresh page, with a machine picked earlier in the chat input's Machine menu, left the new chat without a model, and the model picker opened with the model's id in its search box. The picked machine made the model list look loaded but empty before the list had arrived, so the model looked missing. Now the new chat waits for the full list, and the link selects the model with or without a machine picked.

Fixes #34800
2026-11-23 00:18:05 +04:00
Timothy Jaeryang Baek e5b098c681 refac 2026-11-22 23:44:38 +04:00
Timothy Jaeryang Baek a78a9663b6 refac 2026-11-22 22:45:57 +04:00
Timothy Jaeryang Baek 53d741157b refac 2026-11-22 22:20:19 +04:00
G30 99e7b89bea feat: Overview in a tab group's + menu shows the chat open in that group (#34770) 2026-11-22 21:57:59 +04:00
G30 76fe98720d i18n: fill missing translations in 15 languages (#34775) 2026-11-22 21:41:22 +04:00
G30 39745ee06c fix: a message pair in a new note chat saves to the note instead of a sidebar chat (#34782) 2026-11-22 21:41:10 +04:00
Classic298 4fc317b3d1 fix: closed banners stay hidden after Remember Dismissal is turned off (#34684)
When a user closed a banner while its Remember Dismissal switch was on, the banner stayed hidden for them even after the admin turned the switch off, so the admin had no way to show it to them again. A closed banner now stays hidden only while its Remember Dismissal switch is on. With it off, the banner comes back on the next page load as the banners docs page says, and turning the switch back on hides it again for users who closed it while the switch was on.

Fixes #34683
2026-11-22 20:27:38 +04:00
Timothy Jaeryang Baek b51bf84835 refac 2026-11-22 20:26:22 +04:00
Classic298 d22b3f303a fix: copying a reply with math pastes garbled formula text (#34779)
Selecting part of a reply that contains math and copying it put the rendered formula on the clipboard as scattered characters and line breaks, so a pasted $E = mc^2$ came out as "E=mc", "2" on separate lines. Each formula is now copied as its LaTeX source, wrapped in $...$ for inline math and $$...$$ for display math, also when pasting into an editor that keeps formatting. Selections without math copy exactly as before.

Fixes #34776
2026-11-22 20:22:32 +04:00
Classic298 742941a436 fix: channel message stays greyed out when the send confirmation is missed or the send fails (#34772)
A channel message stayed greyed out with no actions until a reload whenever the page missed the server's confirmation, for example after switching apps on a phone right after sending, even though the server had saved it. A failed send left the same dead copy behind and the typed text was lost, and a dropped request showed no error at all. Now the message turns normal as soon as the server answers the send, and a failed send goes back to the list of waiting messages above the input, where it can be sent again, edited or deleted. Nothing is resent automatically, because a request that looked failed may still have reached the server. Thread replies get the same treatment, so a reply no longer goes missing from the thread or loses its text.

Fixes #34771
2026-11-22 19:22:59 +04:00
Timothy Jaeryang Baek 14892a184c refac 2026-11-22 18:36:20 +04:00
Timothy Jaeryang Baek 269b1bcc2b refac 2026-11-22 18:19:07 +04:00
Timothy Jaeryang Baek 1a7a13dc06 refac 2026-11-22 18:17:48 +04:00
Timothy Jaeryang Baek 29c5fbef46 refac 2026-11-22 18:17:45 +04:00
Timothy Jaeryang Baek fad6d0e72f refac 2026-11-22 18:16:23 +04:00
Timothy Jaeryang Baek 67b48ee449 refac 2026-11-22 18:09:52 +04:00
Timothy Jaeryang Baek 77b2f85d4f refac 2026-11-22 17:58:40 +04:00
Timothy Jaeryang Baek 91b7026eb0 refac 2026-11-22 17:32:06 +04:00
Timothy Jaeryang Baek 6a4bc4acbb refac 2026-11-22 17:27:46 +04:00