Commit Graph
11391 Commits
Author SHA1 Message Date
G30 0c336e072b fix: dismiss note formatting toolbar when focus leaves the editor (#34966) 2026-11-25 00:21:32 +04:00
Timothy Jaeryang Baek a0cc08f1f3 refac 2026-11-24 23:35:52 +04:00
G30 c56ba4e759 fix: reject future birth dates in account settings (#34961) 2026-11-24 23:11:24 +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
G30 bb98273f9e fix(ui): dismiss dropdowns when dragging outside (#34959) 2026-11-24 22:51:38 +04:00
Timothy Jaeryang Baek 31c3377051 refac 2026-11-24 22:46:50 +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
Timothy Jaeryang Baek 26f85aa220 refac 2026-11-24 21:50:41 +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
Timothy Jaeryang Baek acdb7b5038 refac 2026-11-24 21:30:58 +04:00
Timothy Jaeryang Baek 451174d700 refac 2026-11-24 21:26:11 +04:00
Timothy Jaeryang Baek b1d3f90760 refac 2026-11-24 21:21:33 +04:00
Classic298 cf100751ec fix: image preview on phones gets stuck after pinch zoom (#34953)
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
2026-11-24 21:20:01 +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
Classic298 9aafbf4f5c fix: buttons over a zoomable preview do nothing on touch screens (#34952)
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
2026-11-24 21:17:11 +04:00
Timothy Jaeryang Baek c6ef4a523f refac 2026-11-24 21:02:00 +04:00
Timothy Jaeryang Baek 2c1e50a463 refac 2026-11-24 21:01:50 +04:00
Timothy Jaeryang Baek 0f71ee15a1 refac 2026-11-24 20:58:02 +04:00
Timothy Jaeryang Baek 59c8184bf1 refac 2026-11-24 20:53:38 +04:00
G30 f1aaad5d66 fix(ui): make file preview audio controls transparent (#34948) 2026-11-24 20:50:42 +04:00
Timothy Jaeryang Baek 068fe7a39e refac 2026-11-24 20:49:51 +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
G30 a667c3176a fix(ui): remove disabled connection URL backgrounds (#34946) 2026-11-24 20:27:28 +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 57c955a033 refac 2026-11-24 16:39:36 +04:00
Timothy Jaeryang Baek c94eb96b7f refac 2026-11-24 15:46:24 +04:00
Timothy Jaeryang Baek dc9886799a refac 2026-11-24 02:11:38 +04:00
Timothy Jaeryang Baek 2dffca8326 refac 2026-11-23 23:44:45 +04:00
Classic298 d07679e60c fix: selected skill files cannot be cleared with Escape or a click on empty space (#34691)
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
2026-11-23 22:17:11 +04:00
Classic298 306f9be784 perf: open the model editor without waiting for voices and tool lists (#34844)
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
2026-11-23 20:14:34 +04:00