Skip to content

Track D: app shell and clear UI — sidebar, grouped virtualized list, dense cards - #10

Closed
erikgoins wants to merge 1 commit into
feature/keyboardfrom
feature/shell
Closed

erikgoins wants to merge 1 commit into
feature/keyboardfrom
feature/shell

Conversation

@erikgoins

Copy link
Copy Markdown
Contributor

Roadmap Track D. Stacked on #9 (base feature/keyboard), which is stacked on #8. Merge #8, then #9, then this; GitHub retargets each to main as its base merges. Use merge commits, not squash, so the stack does not need a rebase.

What

  • Workspace layout (w/[workspaceId]/layout.tsx): one sidebar on every workspace page (workspace, role, ⌘K search, Tasks/Members/Settings, shortcuts, sync status, user). Shortcuts, the command menu, and the side panel now work on every workspace page, and the client store survives navigation.
  • Speed fix: Track C made every row read the whole context, so each focus or notice change re-rendered all rows. The context is now split (stable API vs state) and focus/selection live in a small store each row subscribes to.
  • List: grouped by status (Linear's default), one dense line per task (priority bars, ID, status ring, title, labels, due date in red when overdue, avatars), virtualized.
  • Board cards: the same properties; long columns show 50 cards with "Show 50 more".
  • Where an edit goes: "Edits save to GitHub as you" or "… through the Gitwork app, signed with your name", from a new viewer.githubLinked in the snapshot.
  • Empty states name the next step; dark mode follows the system.

Measured (2,000 tasks, local Chromium)

Track B Track C This PR
List switch 23 ms 45 ms 14–18 ms
Board switch 53 ms 105 ms 7 ms
Timeline switch 60 ms 58 ms 27–32 ms
J focus move — — 0.3 ms median
Rows in DOM 2,000 2,000 37
/sync 943 KiB, ~60 ms (200) / ~50 ms (304)

CI budgets tightened to 150 ms per switch and 16 ms per focus move. Timeline virtualization is a backlog chore.

Tested

  • Locally: pnpm lint, pnpm typecheck, pnpm test (390 passed), pnpm test:e2e (32 passed), pnpm smoke: all pass.
  • New E2E: keys and menu on the Members page; store survival (focus set on Members is still there on Tasks, no document request); write-path line; dark mode; 100 J presses reach a row far below and keep it in view.
  • One flake seen in 3 full E2E runs: sign-in in keyboard.spec.ts setup timed out during a slow (2-minute) run, with no server error or rate limit in the log.
  • Screenshots of list, panel, board, menu, and dark mode checked by eye.

🤖 Generated with Claude Code

https://claude.ai/code/session_01T7sHybpLbFAyRXzPFkfWun

…st, dense cards

- Workspace layout owns the store, sidebar, panel, and keys: shortcuts work on
  every workspace page and the store survives navigation.
- Split context (stable API vs state) and a focus store: J moves focus in 0.3 ms
  on 2,000 rows (Track C re-rendered every row).
- List grouped by status, virtualized (37 rows in the DOM of 2,000): switch 14-18 ms;
  board 7 ms with 50-card columns. Dense rows and cards: priority, ID, status,
  labels, due date, avatars.
- Write-path line (decisions 008, 021) from viewer.githubLinked; empty states;
  dark mode follows the system.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T7sHybpLbFAyRXzPFkfWun
Signed-off-by: Erik Goins <erikgoins@gmail.com>
@erikgoins

Copy link
Copy Markdown
Contributor Author

Landed in main through #11 (merge commit 29d454d), which contained every commit of this PR plus the fix for its CI failure. A merge of this branch now adds nothing: main already has the same tree.

@erikgoins erikgoins closed this Nov 10, 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