[codex] polish session list/header metadata UX#411
Draft
gaius-codius wants to merge 37 commits intotiann:mainfrom
Draft
[codex] polish session list/header metadata UX#411gaius-codius wants to merge 37 commits intotiann:mainfrom
gaius-codius wants to merge 37 commits intotiann:mainfrom
Conversation
Restore the original dark theme as default and offer Catpuccin Mocha as an opt-in theme. Add a manual theme toggle in Settings > Display with System, Light, Dark, and Catpuccin options. Theme persists via localStorage and syncs across tabs.
Add Gaius Light (warm pearl) and Gaius Dark (deep slate) themes using classical Roman pigments — cinnabar red, verdigris green, lapis blue, and aureus gold — rendered in a modern contemporary style. Includes auto-switching Gaius option that follows system preference.
Add permissionMode to SessionSummary, show permission mode and flavor badges in session header and list with theme-aware colors.
…nner The runner integration test was calling stopRunner() which reads the real ~/.hapi/runner.state.json and kills whatever runner it finds. This caused the production/systemd runner to die whenever tests were executed. Fix by redirecting all test runner state to a temp directory under /tmp/ and passing HAPI_HOME env to all spawned child processes. Also add rebuild-and-restart script and bump PWA cache size limit for builds.
- Remove macOS resource fork files, add ._* to .gitignore - Add error logging in upsert catch block (sessionSortPreferences.ts) - Fix GroupActionMenu/SessionActionMenu focus targeting disabled buttons - Add .max() constraints to SessionManualOrderSchema arrays - Extract duplicate sort toggle logic into shared useSortToggle hook - Fix redundant reconcileManualOrder calls (applyManualOrder now takes pre-reconciled order) - Extract duplicate SVG icons to shared SortIcons.tsx - Remove unused createEmptyManualOrder export - Add userId scoping to SSE session-sort-preference-updated broadcast - Wrap runner integration test afterAll in try/finally - Add ArrowUp/ArrowDown keyboard navigation to GroupActionMenu - Add useSessionSortPreferenceMutation tests (optimistic update, rollback, API unavailable) via [HAPI](https://hapi.run)
feat: persist session sort mode + manual ordering in hub
test(web): add playwright e2e coverage for session sort backend
# Conflicts: # hub/src/store/index.ts # hub/src/sync/syncEngine.ts # shared/src/schemas.ts # shared/src/sessionSummary.ts # web/src/components/SessionHeader.tsx # web/src/components/SessionList.tsx # web/src/lib/agentFlavorUtils.ts # web/src/router.tsx # web/src/routes/settings/index.tsx
d9cf245 to
ca3b5a5
Compare
Contributor
Author
|
Addressed the valid review items in Fixed:
Validation:
|
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)
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Scope
This PR is intentionally limited to session list/header glanceability polish and closely related UX fixes.
Not included:
Impact
Validation
bun run typecheck:webcd web && bun run test SessionList SessionHeader SessionActionMenu