Skip to content

fix(web-ui): nav search sessions, workspace scope, font custom baseline#339

Merged
GCWing merged 1 commit intomainfrom
gcwing/dev
Apr 2, 2026
Merged

fix(web-ui): nav search sessions, workspace scope, font custom baseline#339
GCWing merged 1 commit intomainfrom
gcwing/dev

Conversation

@GCWing
Copy link
Copy Markdown
Owner

@GCWing GCWing commented Apr 2, 2026

Summary

  • Nav search dialog: When opened, loads persisted session metadata from disk for all open workspaces via \sessionAPI.listSessions, merges with in-memory Flow Chat sessions (deduped), and sorts by recency (\lastActiveAt\ / \updatedAt). With an empty query, the sessions column shows a hint instead of listing every session; search matches session id as well as title. Search input uses a text cursor.
  • Workspace scope: \sessionMatchesWorkspace\ still matches by id when both are present; if ids differ or the session id is stale, it falls back to path + remote scope so sessions stay tied to the correct nav row.
  • Font preference: Choosing the custom size level preserves the currently effective UI base px (preset or valid custom input) instead of resetting to 14.

Testing

  • \pnpm run type-check:web\ (passed).

- Nav search: load persisted sessions for open workspaces and merge with store; empty query shows hint instead of listing sessions; search field uses text cursor.

- workspaceScope: fall back to path/remote match when session workspace id is stale.

- Font preference: switching to custom uses current effective UI base px.
@GCWing GCWing merged commit 8481015 into main Apr 2, 2026
1 check passed
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