Skip to content

polish session list and header follow-ups#4

Open
gaius-codius wants to merge 6 commits intomainfrom
feat/session-list-header-polish
Open

polish session list and header follow-ups#4
gaius-codius wants to merge 6 commits intomainfrom
feat/session-list-header-polish

Conversation

@gaius-codius
Copy link
Copy Markdown
Owner

@gaius-codius gaius-codius commented Apr 4, 2026

Summary

  • polish session list and session header metadata presentation
  • add targeted coverage for session list, session header, and agent flavor utility behavior
  • add Playwright web E2E coverage for session metadata chips
  • tighten session-alive payload validation in hub session handlers
  • sync the branch with main and refresh bun.lock

Why

  • improve session glanceability and metadata consistency between list and header
  • add focused regression coverage around the touched UI and metadata helpers
  • harden session metadata handling on the hub side
  • reduce review and merge friction by syncing the branch and committing the lockfile update

Impact

  • users get clearer session metadata in the list and header
  • developers get stronger focused test coverage plus a small E2E path for metadata rendering
  • the branch is now up to date with main
  • dependency state is committed and reproducible via bun install --frozen-lockfile

Validation

  • bun install --frozen-lockfile
  • bun typecheck
  • cd web && bunx vitest run src/components/SessionList.test.tsx src/components/SessionHeader.test.tsx src/lib/agentFlavorUtils.test.ts

Notes

  • full web test suite still has existing unrelated React.act is not a function failures outside this PR scope
  • branch sync was done with a merge from main, not a history rewrite/rebase

@gaius-codius gaius-codius force-pushed the feat/session-list-header-polish branch from 3e96a3a to a41ec8f Compare April 4, 2026 15:10
@gaius-codius gaius-codius force-pushed the feat/session-list-header-polish branch from d9cf245 to ca3b5a5 Compare April 7, 2026 05:42
Strip catpuccin, gaius-light, and gaius-dark theme blocks from CSS
and locale files — these belong in a separate theming PR.

via [HAPI](https://hapi.run)
@gaius-codius gaius-codius changed the title [codex] polish session list and header follow-ups polish session list and header follow-ups Apr 19, 2026
- normalize flavor in supportsModelChange and add coverage
- tighten sessionAliveSchema bounds (sid, time, model, effort)
- replace inline ModelMode import with named type import
- add useLongPress unit tests (pointer gating, threshold, keyboard)
- add positive assertions alongside SessionHeader negative checks
- decouple e2e login wait from English copy
- document session-metadata e2e spec and shared env knobs
- note session-alive payload validation in hub README
@gaius-codius gaius-codius marked this pull request as ready for review April 19, 2026 12:36
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