feat(desktop): configure sidebar section visibility
What & why
The navigation rail offers pinning, and unpinned destinations still appear in More. Settings → Appearance → Sidebar sections adds a visibility switch for each available destination in the new layout.
Turning a section off removes it from both places. Turning it back on restores its position and pin setting. Visibility changes persist across restarts and synchronize across desktop windows.
How I tested it
In a local macOS dev build, I turned off Pages, Plugins, and Pull requests, verified all three disappeared from the rail and More, then reloaded and restored Plugins. I also changed different switches from two windows at once and checked that both windows kept the complete set of changes.

bun run lint,bun run typecheck, andbun run check:i18npassed.- All 9,121 desktop tests passed.
bun run test --continue=alwayspassed 30 of 32 package tasks. The port scanner process environment and shared recurrence timezone tests failed.
Codex assisted with implementation and verification.
Checklist
- PR title follows conventional commits (
type(scope): subject) -
bun run lintandbun run typecheckpass - Allow edits from maintainers is enabled
- I have signed the CLA
Summary by cubic
Adds a visibility toggle for each sidebar destination under Settings → Appearance → Sidebar sections. Turning a section off removes it from the navigation rail and the More menu; turning it back on restores its prior pin and position.
- Writes go through the Web Locks API so visibility stays in sync across desktop windows.
- The new setting only appears when the navigation rail is active and is excluded from settings search otherwise.
- Destination labels and available IDs were extracted into shared helpers used by the rail, More menu, and settings screen.
Summary by CodeRabbit
- New Features
- Customize which sections appear in the navigation rail from Appearance settings. Available sections reflect your current app features, and changes stay synchronized across windows.
- Search settings for “Sidebar sections” when the navigation rail is available.
- Bug Fixes
- The More menu now shows its separator only when it contains destinations, and its active state better reflects the visible navigation options.
- Localization
- Added translations for “Sidebar sections” in supported languages.