Commit Graph
968 Commits
Author SHA1 Message Date
Timothy Jaeryang Baek f14dca0eec refac 2026-11-17 00:14:38 +09:00
Timothy Jaeryang Baek 1588ce1bfc refac 2026-11-16 22:54:17 +09:00
Timothy Jaeryang Baek 03d8d3e353 refac 2026-11-16 22:39:24 +09:00
Classic298 94329cf79c fix: chats are not saved when Allow Temporary Chat is off but Enforce Temporary Chat is on (#34537)
With Enforce Temporary Chat switched on and Allow Temporary Chat switched off in the group permissions, all of that user's new chats were opened as temporary chats and never saved, even though the user has no Temporary Chat button at all. Enforce Temporary Chat now only applies to users who are allowed temporary chats, as in v0.13.3, so these users get normal saved chats again.

Fixes #34536
2026-11-16 22:14:57 +09:00
Timothy Jaeryang Baek 7be99d1e97 refac 2026-11-16 21:56:34 +09:00
Timothy Jaeryang Baek c82884453c refac 2026-11-16 21:43:35 +09:00
Timothy Jaeryang Baek abcebd7d0d refac 2026-11-16 20:02:16 +09:00
Timothy Jaeryang Baek 6afb1681c9 refac 2026-11-16 19:38:00 +09:00
Timothy Jaeryang Baek 21605e268d refac 2026-11-16 19:14:07 +09:00
Timothy Jaeryang Baek 5d55ce7246 refac 2026-11-16 18:36:13 +09:00
Timothy Jaeryang Baek 6f04d48166 refac 2026-11-16 14:21:04 +09:00
Timothy Jaeryang Baek 10e695004c refac 2026-11-15 17:20:16 +09:00
Timothy Jaeryang Baek d7b3d08b4f refac 2026-11-14 14:16:19 +09:00
Timothy Jaeryang Baek 694dc9796c refac 2026-11-14 01:15:47 +09:00
Timothy Jaeryang Baek 6378f94a65 refac 2026-11-14 00:45:43 +09:00
G30 9180f1e208 fix: deleting a chat closes the tabs that show it (#34229) 2026-11-13 23:21:54 +09:00
Timothy Jaeryang Baek 747af24b0d refac 2026-11-13 23:05:49 +09:00
Timothy Jaeryang Baek 95d98ac40b refac 2026-11-13 23:03:46 +09:00
Timothy Jaeryang Baek 24b8bb0e68 refac 2026-11-13 22:47:48 +09:00
Timothy Jaeryang Baek 06491f0132 refac 2026-11-13 22:40:53 +09:00
Timothy Jaeryang Baek c0b90785ea refac 2026-11-13 18:53:46 +09:00
G30 dceadf9db0 fix: cancelling "Discard unsaved changes?" no longer leaves the main chat blank (#34300) 2026-11-13 17:38:08 +09:00
Timothy Jaeryang Baek 4720ff19e7 refac 2026-11-13 17:36:00 +09:00
Timothy Jaeryang Baek aa01de6ede refac 2026-11-12 23:10:58 +09:00
Classic298 301a69d401 fix: Fork in a side chat never opens the copy (#34187)
In a side chat, the Fork chat button and /fork made the copy but the side chat stayed on the original conversation, while a fork in the main chat opens right away. The copy now opens in place of the side chat, with its whole conversation, and the sidebar lists it at once as it does for a fork from the main chat.

Fixes #34182
2026-11-12 22:14:29 +09:00
Classic298 2ccf69ceac fix: the chat beside a note raises notifications and loses input requests (#34159)
With a note open and its chat beside it, every finished answer in that chat also popped up as a notification, and a tool's request for input there was cancelled at once by the main chat, which stays loaded behind the note. The chat beside a note is now listed among the chats open beside the main chat, as a side chat already is, so its answers no longer pop up and its input requests stay with it. A chat left by picking another one, beside a note or in a side chat, comes off that list again.

Fixes #34153
Fixes #34154
2026-11-12 21:43:35 +09:00
Classic298 178a6df0dc fix: unsent text of a saved chat is lost on a page reload (#34147)
Text typed into the message box of a chat that already has messages, in the main view or in a side chat, was gone after a reload, while a new chat kept its text. The saved text was put back before the message box was shown, so the box came up empty and that empty text was then saved over it. It is now put back once the box is shown, the same way a new chat already does it.

Fixes #34023
2026-11-12 21:43:21 +09:00
Timothy Jaeryang Baek a14385816f refac 2026-11-12 21:42:52 +09:00
Timothy Jaeryang Baek 08a0472968 refac 2026-11-12 21:26:52 +09:00
Timothy Jaeryang Baek 3830d6ee56 refac 2026-11-11 16:00:25 +09:00
Timothy Jaeryang Baek 6bd86a1611 refac 2026-11-11 14:05:42 +09:00
Timothy Jaeryang Baek 8ccf182d7d refac 2026-11-11 12:04:44 +09:00
Timothy Jaeryang Baek e791cbdde7 refac 2026-11-11 10:29:17 +09:00
Timothy Jaeryang Baek 8588bd2a72 refac 2026-11-11 10:20:45 +09:00
Classic298 b428dbaf2d refac: side chat uses the same chat as the main view (#34064)
* refac: chat input reads its terminal from the chat it belongs to

The message input with its menus, skills dialog and command lists read the selected terminal and the terminal's skills from one page-wide place. They now get both from the chat they are part of. Every chat still hands over the same page-wide selection, so nothing changes for users. This prepares for chats that run next to the main chat and keep their own terminal; the text editor inside the input, the message list, the model list and the current side chat's own request still look the terminal up page-wide.

* refac: the chat builds the key for its unsent input in one place

The chat spelled out the storage key for its unsent input in six places. One function builds it now, with the same keys as before, so nothing changes for users. This prepares for chats that run next to the main chat and keep their unsent input apart.

* fix: two chats on one page take each other's unsent text, input requests and regenerate shortcut

With a chat open next to a note, three things reached the wrong chat. Text typed into a new chat next to a note replaced the unsent text of a new main chat. An input request from a tool was answered as cancelled by the other chat on the page before its dialog could show. The regenerate shortcut, pressed in the main chat's input, regenerated the note chat's answer. Each chat now keeps its own unsent text and leaves the other chat's input requests alone, and the shortcut takes the main chat's last answer.

* refac: let the chat run inside a side chat tab

A second copy of the chat can already run on the same page, next to a note. This prepares it to run in a side chat tab too: it can be opened with a given conversation, unsent input and first message, and it sends the parent chat's messages to the model as context while showing only what was written in the side chat. A chat in a side tab keeps away from what belongs to the main chat: it uses the main chat's terminal without changing it, and it leaves the last used model, sign-in redirects and prompts sent by embeds to the main chat. Nothing opens a chat in a side tab yet, so the main chat and the chat next to a note behave as before.

* refac: side chat uses the same chat as the main view

The side chat was a separate, reduced version of the chat with its own code for sending, streaming and loading, so many chat features were missing or behaved differently there. A side chat tab now runs the same chat as the main view and the separate version is removed. Message buttons, sources, token usage, follow-ups, slash commands, queued messages, chat variables and tool events such as code execution and input requests now work in a side chat. Chats saved by the old side chat still open, and in most places where the old side chat had its own rules it now follows the main chat, for example it can answer with several models at once and shows errors as notifications. A new chat opened in a tab on its own, for example from a pinned model, no longer gets the neighbouring chat's system prompt and the side conversation instruction saved as its own.

Fixes #34029
2026-11-11 10:10:53 +09:00
Timothy Jaeryang Baek c15f286498 refac 2026-11-10 23:59:29 +09:00
Timothy Jaeryang Baek 41179ba85a refac 2026-11-10 23:43:38 +09:00
Timothy Jaeryang Baek 3d98e86e2d refac 2026-11-10 22:23:31 +09:00
Timothy Jaeryang Baek 6f2fc7bc7a refac 2026-11-10 21:18:18 +09:00
Timothy Jaeryang Baek f9a142db43 refac 2026-11-10 16:01:52 +09:00
Timothy Jaeryang Baek da850248d1 refac 2026-11-10 15:56:52 +09:00
Timothy Jaeryang Baek 98f94057bb refac 2026-11-10 13:05:45 +09:00
Timothy Jaeryang Baek 354c652fc9 refac 2026-11-10 12:13:49 +09:00
Timothy Jaeryang Baek d7194416e2 refac 2026-11-09 21:59:06 +09:00
Timothy Jaeryang Baek 2c1de9f129 refac 2026-11-09 21:36:39 +09:00
Timothy Jaeryang Baek a649441c0d refac 2026-11-09 18:47:42 +09:00
Timothy Jaeryang Baek d903b4ac03 refac 2026-11-08 22:03:30 +09:00
Timothy Jaeryang Baek 21fc016141 refac 2026-11-08 21:57:07 +09:00
Timothy Jaeryang Baek cbd53ddacf refac 2026-11-08 12:49:27 +09:00
Timothy Jaeryang Baek 21da7627b9 refac 2026-11-08 12:46:16 +09:00