Skip to content

feat(webui): archive session support, close dialog, taller header#442

Merged
edwin-zvs merged 1 commit into
mainfrom
feat/webui-archive-sessions
Jun 23, 2026
Merged

feat(webui): archive session support, close dialog, taller header#442
edwin-zvs merged 1 commit into
mainfrom
feat/webui-archive-sessions

Conversation

@edwin-zvs

Copy link
Copy Markdown
Contributor

Summary

  • Archived session grouping: Session list now hides archived sessions behind collapsible ▸ N archived disclosure rows, matching TUI behaviour. Each ungrouped section and each project group gets its own row; clicking toggles expand/collapse. Revealed archived sessions render dimmed (opacity 0.55).

  • Close-session dialog: The × toolbar button now opens a slide-up sheet with Archive and Delete options instead of a bare window.confirm(), matching the TUI's [a]rchive / [d]elete / [N]cancel prompt. Archive fires session.archive (terminate + hide, keep history); Delete fires session.delete (permanent).

  • Taller header: Header height increased from 36 px to 44 px.

Test plan

  • Archive a session from the TUI; confirm it disappears from the webui session list and a ▸ 1 archived row appears in the correct section (ungrouped or under its project)
  • Click the disclosure row; confirm it expands to show the archived session dimmed, and collapses again on second click
  • Archive a session that belongs to a project group; confirm its disclosure row appears indented under the group header
  • Click × on an active session; confirm the slide-up sheet appears with Cancel / Delete / Archive buttons
  • Choose Archive in the sheet; confirm the session is archived and moves to the disclosure row
  • Choose Delete in the sheet; confirm the session is removed entirely
  • Choose Cancel; confirm nothing happens
  • Verify header is visibly taller than before

… dialog, taller header

- Session list now hides archived sessions behind collapsible '▸ N archived'
  disclosure rows, matching the TUI behaviour. Each ungrouped section and
  each project group gets its own row; clicking expands/collapses it.
  Archived sessions render dimmed (opacity 0.55) when revealed.

- Close-session button (×) now opens a slide-up sheet with Archive and
  Delete options instead of a bare window.confirm(), matching the TUI's
  [a]rchive / [d]elete / [N]cancel prompt. Archive fires session.archive
  RPC (terminate + hide, keep history); Delete fires session.delete.

- Header height increased from 36px to 44px.
@edwin-zvs
edwin-zvs merged commit f3a67b9 into main Jun 23, 2026
1 check passed
@edwin-zvs
edwin-zvs deleted the feat/webui-archive-sessions branch June 23, 2026 03:07
@edwin-zvs edwin-zvs mentioned this pull request Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant