Commit Graph
1186 Commits
Author SHA1 Message Date
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
Timothy Jaeryang Baek 76339161b0 refac 2026-11-20 14:43:49 +04:00
Timothy Jaeryang Baek 06b47d455e refac 2026-11-20 11:22:54 +04:00
Timothy Jaeryang Baek 916c03829d chore: format 2026-11-17 22:37:26 +09:00
G30 3807e9c87e fix: the Unpin button on a pinned note shows a tooltip, as on pinned models (#34568) 2026-11-17 20:32:49 +09:00
Timothy Jaeryang Baek 9a379eaa73 refac 2026-11-17 01:21:35 +09:00
Timothy Jaeryang Baek 7be99d1e97 refac 2026-11-16 21:56:34 +09:00
G30 683654ec22 fix: dropping a chat on the folder it is already in no longer moves it or reloads the sidebar's folders (#34461) 2026-11-16 21:13:37 +09:00
Timothy Jaeryang Baek abcebd7d0d refac 2026-11-16 20:02:16 +09:00