Skip to content

feat: adds expand/collapse persistence and toolbar buttons#31

Merged
wgordon17 merged 11 commits intogordon-code:mainfrom
wgordon17:worktree-expand-collapse-persistence
Mar 30, 2026
Merged

feat: adds expand/collapse persistence and toolbar buttons#31
wgordon17 merged 11 commits intogordon-code:mainfrom
wgordon17:worktree-expand-collapse-persistence

Conversation

@wgordon17
Copy link
Copy Markdown
Member

Summary

  • Adds per-tab expandedRepos to viewState store with toggle, setAll, and prune helpers persisted via localStorage
  • Creates ExpandCollapseButtons shared component (expand all / collapse all) added to all three dashboard tab toolbars
  • Removes auto-expand-first-group behavior; all repos start collapsed by default with state persisting across tab switches and page reloads

- fixes Zod+SolidJS interaction where .default({}) reuses refs

- removes wrapper lambdas in ExpandCollapseButtons

- adds pruning, empty-data, round-trip, and filter tests

- adds resetViewState test proving expandedRepos cleared

- renames view.test.ts helper delegating to resetViewState
- replaces stretched pseudo-element with separate overlay <a>

- fixes truncate clipping ::after (overflow:hidden conflict)

- conditionally renders link only for valid GitHub URLs

- adds aria-label with repo, number, and title context
- resetViewStore delegates to resetViewState (single source of truth)

- increases pooled concurrency test delay from 5ms to 20ms (fixes flake)
- expands repo group before checking StatusDot in hot poll tests

- uses collapsed summary assertion for initial state verification
@wgordon17 wgordon17 force-pushed the worktree-expand-collapse-persistence branch from e1063bc to e8a2b60 Compare March 30, 2026 00:13
@wgordon17 wgordon17 merged commit 5a54903 into gordon-code:main Mar 30, 2026
1 check passed
@wgordon17 wgordon17 deleted the worktree-expand-collapse-persistence branch March 31, 2026 18:07
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