Skip to content

feat: add experimental workspace sidebar persistence#993

Open
AnrokX wants to merge 11 commits into
mainfrom
feat/experimental-sidebar-persistence
Open

feat: add experimental workspace sidebar persistence#993
AnrokX wants to merge 11 commits into
mainfrom
feat/experimental-sidebar-persistence

Conversation

@AnrokX

@AnrokX AnrokX commented Mar 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add an off-by-default Experimental setting to persist workspace sidebar selections and filters
  • restore per-workspace hidden worktrees plus View/Tier filters across tabs, reloads, and app/server restarts
  • cover the new user settings defaults/merge behavior and document the experimental setting

Test plan

  • node --check server/index.js
  • node --check server/userSettingsService.js
  • node --check client/app.js
  • node --check client/workspace-tab-manager.js
  • npx jest tests/unit/userSettingsDefaults.test.js

@web3dev1337

Copy link
Copy Markdown
Owner

Reviewed as part of an open-PR sweep — this one holds up well despite its age: the feature is fully gated behind the off-by-default persistWorkspaceSidebarState flag, the merge simulation against current main is clean, the one ungated tweak (preserveVisibility guard) was verified backward-compatible and actually complements main's later double-broadcast startup fix, and the full unit suite passes on the simulated merged tree. Pushed one small fix: user-settings.default.json was missing workspaceTabState (the programmatic defaults and tests already had it). Verdict: good to merge.

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.

2 participants