Commit Graph
1194 Commits
Author SHA1 Message Date
Classic298 78ccfb64e3 fix: copying or downloading an older chat includes raw reasoning markup (#35301)
For chats from before reasoning was stored separately, copying the whole chat and the plain-text downloads (.txt, and PDF when stylized PDF export is off) included the raw reasoning blocks, starting with <details type="reasoning" ...>, in the text. Copying a single reply already strips them. The whole-chat copy and these downloads now strip them the same way.

Fixes #35300
2026-11-30 23:05:33 +04:00
Classic298 ad372cd0e7 perf: load sidebar folders alongside the chat list (#35242)
The sidebar only started loading folders after the chat list had arrived, so on every app load and chat list refresh the folders showed up one network round trip later than needed. The two requests do not depend on each other and now run at the same time, so the folder tree also refreshes when a newer chat list refresh replaces the current one.
2026-11-30 23:02:22 +04:00
Classic298 0b63d59ee5 fix: status dialog closes and shows two errors when saving fails (#35326)
When saving a user status was rejected, for example because an admin turned user status off, two error toasts appeared and the dialog closed, throwing away what was typed. Now only the server's error is shown and the dialog stays open so the text can be kept or changed.

Fixes #35325
2026-11-30 22:38:02 +04:00
Classic298 9aa4ea3787 fix: several toasts and messages stay in English in every language (#35328)
A handful of messages skipped translation: the /model command toasts in chat, "No content" in the file preview, the valves load error, the knowledge file viewer's unsupported file type and empty workbook messages, the archived and deleted chats toasts in the sidebar selection bar, and the row errors in the user CSV import. They now go through translation, reusing existing strings where one already says the same thing.

Fixes #35327
2026-11-30 22:37:54 +04:00
Classic298 8713ff860b fix: sorting by a date column shows the oldest entries first (#35279)
Switching the sort to a date column put the oldest entries first in the admin user list, a group's member list, feedbacks, the archived, shared and per-user chat lists, the file manager and the file browser, so the entries people usually look for ended up at the end. Date columns now sort newest first when picked, like the workspace lists already do. Clicking again still flips the order.

Fixes #35278
2026-11-30 18:42:34 +04:00
Classic298 00ad719de0 fix: a subfolder created in a collapsed folder stays hidden (#35283)
Creating a subfolder from a collapsed folder's menu showed "Folder created successfully", but the parent stayed collapsed, so the new folder was nowhere to be seen. The parent now opens and remembers that it is open, the same as clicking its arrow.

Fixes #35282
2026-11-30 18:39:38 +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
Timothy Jaeryang Baek ddbae76706 refac 2026-11-27 19:59:58 +04:00
Timothy Jaeryang Baek 23de0cebab refac 2026-11-27 19:49:59 +04:00
Timothy Jaeryang Baek 606d33469a refac 2026-11-27 18:15:04 +04:00
Timothy Jaeryang Baek e07a4b2bc6 refac 2026-11-27 15:31:53 +04:00
Timothy Jaeryang Baek d36ab208f3 refac 2026-11-27 04:26:53 +04:00
Timothy Jaeryang Baek c456a6dbfd refac 2026-11-26 18:14:38 +04:00
Timothy Jaeryang Baek c6b06567b8 refac 2026-11-26 17:19:16 +04:00
Timothy Jaeryang Baek 24f49bf467 refac 2026-11-26 17:16:55 +04:00
Timothy Jaeryang Baek 7a797bee44 refac 2026-11-26 17:08:19 +04:00
Timothy Jaeryang Baek d6812c851b refac 2026-11-26 03:08:54 +04:00
Timothy Jaeryang Baek 4b648ec4e7 refac 2026-11-26 02:04:30 +04:00
Timothy Jaeryang Baek 9c9a3ca0d6 refac 2026-11-26 01:31:48 +04:00
Timothy Jaeryang Baek 301ae2cf7d refac 2026-11-26 01:15:35 +04:00
Classic298 b7a7ddff18 perf: fewer requests when opening the inbox or clicking a notification (#35068)
Opening the notification inbox fetched the badge count again right away, although opening the inbox already returns it. Clicking a notification fetched the badge count and the list after the click and a second time from the server's realtime notice that notifications changed. Both duplicates are gone, and the badge and the list still update from that notice as before, which reaches all of the user's connected tabs and so carries changes from other tabs and other users. Each tab still refetches once in reaction to the notice its own action caused, which is left for a separate change. Times are summed server time per action for a typical user on a test instance with 50 users and 22,600 notifications, at two chat counts because each request checks which of the user's chats they can see.

<table>
<tr><th></th><th>Requests</th><th>SQLite, 5,000 chats on the instance</th><th>SQLite, 25,000 chats on the instance</th><th>Postgres, 5,000 chats on the instance</th><th>Postgres, 25,000 chats on the instance</th></tr>
<tr><td>Open the inbox</td><td>4 → 3</td><td>102 → 85 ms</td><td>264 → 221 ms</td><td>142 → 118 ms</td><td>227 → 188 ms</td></tr>
<tr><td>Click a notification that links to an item</td><td>5 → 3</td><td>94 → 54 ms</td><td>227 → 137 ms</td><td>136 → 79 ms</td><td>216 → 128 ms</td></tr>
<tr><td>Click an announcement</td><td>4 → 3</td><td>77 → 54 ms</td><td>184 → 137 ms</td><td>112 → 79 ms</td><td>177 → 128 ms</td></tr>
</table>

Refs #35066
2026-11-26 01:02:36 +04:00
Classic298 02ff1ba72f fix: New Chat in a folder's menu opens no new chat tab unless the folder's page is open (#35013)
Picking New Chat in a folder's menu only opened a new chat tab when that folder's page was already open. From another page, such as the home page, a chat outside the folder or Notes, it opened the folder page without the new tab, because the folder's own tabs loaded after the new tab and replaced it. While a chat of that folder was open it did nothing at all. Now each of these opens the folder with a new chat tab in its tab bar, selected and ready for a message.

Fixes #35002
2026-11-25 03:46:04 +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 ccc8abde8e refac 2026-11-25 03:21:47 +04:00
Timothy Jaeryang Baek 2f581697ea refac 2026-11-25 02:55:33 +04:00
Timothy Jaeryang Baek abfa2cab7b refac 2026-11-25 02:55:06 +04:00
Timothy Jaeryang Baek 72184499b1 refac 2026-11-25 02:52:26 +04:00
Timothy Jaeryang Baek a0cc08f1f3 refac 2026-11-24 23:35:52 +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 e0a4ee0a9d refac 2026-11-24 22:33:49 +04:00
Timothy Jaeryang Baek 1fbb42be97 refac 2026-11-24 22:11:32 +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 1eb5274f83 refac 2026-11-24 19:10:42 +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
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
Timothy Jaeryang Baek 061aeae187 refac 2026-11-23 16:21:24 +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
Timothy Jaeryang Baek 29c5fbef46 refac 2026-11-22 18:17:45 +04:00
Timothy Jaeryang Baek b5a9aead84 refac 2026-11-22 17:23:24 +04:00
Timothy Jaeryang Baek df6be8c3a1 refac 2026-11-22 17:13:34 +04:00
Timothy Jaeryang Baek 9442dca957 refac 2026-11-22 16:29:29 +04:00
Timothy Jaeryang Baek 7476d6e7ff refac 2026-11-21 22:48:13 +04:00
Timothy Jaeryang Baek 94edfa8a5e refac 2026-11-21 19:08:50 +04:00
Timothy Jaeryang Baek 62d8a91a67 refac 2026-11-21 18:59:01 +04:00
Timothy Jaeryang Baek 679087e7b3 refac 2026-11-21 18:55:53 +04:00
Timothy Jaeryang Baek c5c42fe3b7 refac 2026-11-21 16:20:44 +04:00
Timothy Jaeryang Baek a78a66e7de refac 2026-11-21 13:27:07 +04:00