Commit Graph
4976 Commits
Author SHA1 Message Date
Timothy Jaeryang Baek 9b626e4e5b refac 2026-11-25 02:02:37 +04:00
Timothy Jaeryang Baek 352c63be19 refac 2026-11-25 01:53:55 +04:00
Timothy Jaeryang Baek d5553c53e7 refac 2026-11-25 01:48:55 +04:00
Timothy Jaeryang Baek e85500e773 refac 2026-11-25 01:48:46 +04:00
Timothy Jaeryang Baek 8522af2d61 refac 2026-11-25 01:46:31 +04:00
Timothy Jaeryang Baek 8ecc777ee6 refac 2026-11-25 01:35:06 +04:00
Timothy Jaeryang Baek afd5ba59eb refac 2026-11-25 01:27:02 +04:00
Timothy Jaeryang Baek 46ac49fe09 refac 2026-11-25 01:20:55 +04:00
Timothy Jaeryang Baek c37725b7a3 refac 2026-11-25 01:07:47 +04:00
G30 c56ba4e759 fix: reject future birth dates in account settings (#34961) 2026-11-24 23:11:24 +04:00
Timothy Jaeryang Baek 20c4133713 refac 2026-11-24 22:44:12 +04:00
Timothy Jaeryang Baek 680cd3a0f3 refac 2026-11-24 22:37:32 +04:00
Timothy Jaeryang Baek 53fc70aea7 refac 2026-11-24 22:34:25 +04:00
Timothy Jaeryang Baek e0a4ee0a9d refac 2026-11-24 22:33:49 +04:00
Timothy Jaeryang Baek f10d244d05 refac 2026-11-24 22:26:11 +04:00
Timothy Jaeryang Baek 1fbb42be97 refac 2026-11-24 22:11:32 +04:00
Classic298 8b185d8d2c feat: render Markdown in chat error messages (#34955)
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
2026-11-24 21:41:02 +04:00
Classic298 e2ae064770 fix: line breaks in a provider's error message are lost in the chat (#34954)
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
2026-11-24 21:17:37 +04:00
Timothy Jaeryang Baek c6ef4a523f refac 2026-11-24 21:02:00 +04:00
Timothy Jaeryang Baek 0f71ee15a1 refac 2026-11-24 20:58:02 +04:00
Timothy Jaeryang Baek 2be04aa5e2 refac 2026-11-24 20:30:47 +04:00
Timothy Jaeryang Baek e9bfa82d00 refac 2026-11-24 20:29:45 +04:00
Timothy Jaeryang Baek 3a8b3fb8a1 refac 2026-11-24 20:26:57 +04:00
Timothy Jaeryang Baek d22ab1251d refac 2026-11-24 20:24:18 +04:00
Timothy Jaeryang Baek aa3f714c21 refac 2026-11-24 20:08:57 +04:00
Timothy Jaeryang Baek d89cd809cb refac 2026-11-24 20:04:48 +04:00
Timothy Jaeryang Baek 34888d6905 refac 2026-11-24 19:25:20 +04:00
Timothy Jaeryang Baek 1b5af66c4d refac 2026-11-24 19:21:40 +04:00
Timothy Jaeryang Baek af44e5f92c refac 2026-11-24 19:13:59 +04:00
Timothy Jaeryang Baek 1eb5274f83 refac 2026-11-24 19:10:42 +04:00
Timothy Jaeryang Baek 8b0a8ecceb refac 2026-11-24 19:04:58 +04:00
Timothy Jaeryang Baek a762df830b refac 2026-11-24 19:02:38 +04:00
Timothy Jaeryang Baek e1855444ae refac 2026-11-24 19:01:44 +04:00
Classic298 00cb737759 fix: clicking a cited file in a temporary side chat opens nothing (#34923)
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
2026-11-24 18:52:47 +04:00
Timothy Jaeryang Baek 3e88289868 refac 2026-11-24 18:44:03 +04:00
Timothy Jaeryang Baek 09bfdcfb14 refac 2026-11-24 18:41:26 +04:00
Timothy Jaeryang Baek 2dffca8326 refac 2026-11-23 23:44:45 +04:00
Classic298 757eaad52a fix: Browser tab drops text typed with an input method or dead keys (#34738)
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
2026-11-23 20:13:06 +04:00
Classic298 3b6e0855da perf: load the code highlighter only when code needs highlighting (#34890)
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
2026-11-23 19:17:12 +04:00
Timothy Jaeryang Baek 6122544801 refac 2026-11-23 19:14:51 +04:00
Timothy Jaeryang Baek 072d0b51d6 refac 2026-11-23 19:13:20 +04:00
Classic298 d3ddbf715c fix: error box stays after Continue Response recovers a failed reply (#34822)
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
2026-11-23 19:12:45 +04:00
Timothy Jaeryang Baek 1612ec9817 refac 2026-11-23 18:54:00 +04:00
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
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 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 d599f7a08e refac 2026-11-23 16:23:46 +04:00