You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fa7bb66
Browse filesBrowse the repository at this point in the historyBrowse files
feat(web): General Chats can be a section of Threads instead of their own page (#1031)
* feat(web): General Chats can be a section of Threads instead of their own page
Issue #1016 asked for General Chats at the bottom of the Threads list so
switching between project work and chats takes no extra step. Some people
like the separate page, so this is a per-device choice: Settings > Threads >
Sidebar > General chats, "Own page" (default, unchanged) or "Section in
Threads".
In section mode the General Chats rail button goes away and its counts move
onto Threads. The chats sit in a fold-out section under Wrapped with the same
header line (now one shared InboxShelfHeader) and a New chat button; folded,
it keeps the open chat's row and says what the hidden chats need or are doing.
/chats, and so the command palette, desktop menu and place links, opens
Threads with the section open, showing a floating list or the phone sheet.
The inbox column leaves the section its room. The chat rows are shared with
the page list (GeneralChatRows), and the palette gains "New general chat".
* fix(web): General chats section follows the computer filter and opens without a detour
Review fixes on the General chats section:
- Opening it from the command palette or the desktop menu no longer stops at
/chats: a request goes to one GeneralChatsRevealer in the shell, which
unfolds the section, shows the list or the phone sheet, and moves to Threads
only when Threads isn't already on screen. Back no longer repeats the
thread you were on.
- A launch straight onto /chats in a narrow window keeps the floating list
showing through home's own redirect to the last thread.
- Switching back to the chats' own page no longer leaves the Threads button
pointing at a general chat: it remembers project work separately.
- With the section open, previous/next walk the whole list top to bottom,
from the last project thread into the chats and back.
- With the list narrowed to one computer, the section lists only that
computer's chats and New chat starts there.
* test(web): client settings fixtures carry generalChatsPlacement
* perf(web): the General chats section loads only where it is used
The section and its chat rows are now a chunk of their own, fetched only on
a device that lists General Chats in Threads, and the revealer mounts only
there. The section takes the sheet's close action as a prop rather than
importing the sidebar's context, which would have split that context out of
the startup bundle. Reveal requests now wait as a pending count, so one made
before the revealer mounts is still carried out.
Startup closure, local build: 924,408 B before, 912,235 B after (main reads
910,464 B).
* test(web): the phone's destination row fits with General Chats and Terminals both in it
body: `A thread is one conversation with an agent in a project. Threads are listed in the sidebar; one that needs you, finished or failed says so there. In a narrow window the sidebar floats over the thread instead of sitting beside it: the sidebar button at the top left, or Cmd+B (Ctrl+B on Windows and Linux), opens it, and picking a thread or clicking the thread puts it away. A thread you scrolled up in opens where you left it when you come back, until Threadlines reloads; one that finished, failed or needs you since then opens at the end.
47
48
@@ -63,6 +64,8 @@ When Claude or Codex asks multiple-choice questions, a card takes the place of t
63
64
64
65
When a thread is done it wraps up and moves to the Wrapped shelf at the bottom of the sidebar; {place:threads.whenDone} says when that happens on its own. An agent coming back later (a check-back) doesn't keep a thread out of Wrapped: the thread returns to the list when the agent does. Old threads can be archived for you: {place:archived.cleanup}.
65
66
67
+
General Chats are chats with an agent that aren't tied to a project. By default they have their own page in the left bar, with a New chat button over the list. With {place:threads.generalChats} set to Section in Threads, that button leaves the left bar and the chats sit in a General chats section at the bottom of the thread list, under Wrapped: its header opens and closes it and has its own New chat button, and the Threads button counts what the chats need and are doing. Old General Chats links then open Threads with the section open. Each device keeps its own choice.
68
+
66
69
When Threadlines quits, updates or crashes while an agent works on something the user asked for, the agent picks it back up when Threadlines starts again: the chat gets a message marked "Sent after a restart" telling the agent to check before repeating anything. A turn waiting on an approval or a question, or one another thread, a scheduled task or an outside agent started, stops with a note instead, as does a turn restarts cut off three times in five minutes. {place:threads.continueAfterRestart} turns this off.`,
0 commit comments