Skip to content

Chat and file tab strip: follow-ups #15

Backlog

Description

@andrebrait

Follow-ups to the chat and file tab strip (phase 2 of the Pendant-style layout), left for the polish phase:

  • Chat tab labels can go stale. A tab keeps the session it was opened with. A rename in the sidebar, or a generated title, reaches the tab only when that conversation is shown again. Take labels from the sidebar's session list instead.
  • Tabs for sessions deleted or archived elsewhere stay open. Only this browser tab's delete or archive closes a chat tab. Prune tabs against the session list, and apply the sidebar's offline-host check when a tab is clicked.
  • Tabs are not kept across a reload, and there is no limit or preview tab. Decide whether opening a conversation from the sidebar replaces a preview tab, and whether the strip is restored after a reload.
  • The strip hides its overflow. It scrolls to keep the active tab in view with no visible scrollbar or overflow cue, so tabs to the left can look closed.
  • Focus around a covered chat. Opening a file over a focused composer leaves focus on the page; closing the file does not return it.
  • Tests still missing: Esc and presence while a file covers the chat, the neighbour choice when closing the shown chat, and closing the last chat into a new one.
  • Delete and archive requests name only the session id. The server picks the owning host (hostForSessionId), so with a copied id across hosts it can act on a different host's session than the sidebar row. This predates the tab strip, and the strip and the chat reset now match by host and id. Tracked here from the PR feat(ui): chats and files open as tabs in one strip above the chat #16 review.

Activity

  1. andrebrait commented on Nov 25, 2026

    @andrebrait
    ContributorAuthor

    Follow-ups from the tab groups PR (#17), deferred from its review:

    • Presence for visible background chats. A chat shown in another group still counts as unviewed, so its "Completed" notification fires although it is on screen. Presence reports only the selected chat.
    • New chat in its own group. Clicking into another group drops an unsent new chat's tab, and with it the group if that was its only tab. The draft survives in the store. The new-chat tab exists only while the new chat is selected, as before.
    • Layout persistence. Groups, their tabs and their sizes live in memory until reload, alongside the strip persistence already listed here.
    • Moving a tab between groups remounts what it shows, and a split remounts the hidden views of the tabs that stay behind. A stable per-tab layer outside the groups would remove both.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions