Skip to content

Redesign settings page with sidebar navigation and per-plugin pages - #550

Merged
SawyerHood merged 2 commits into
mainfrom
bb/settings-page-redesign-thr_q5yg3minc5
Jul 8, 2026
Merged

SawyerHood merged 2 commits into
mainfrom
bb/settings-page-redesign-thr_q5yg3minc5

Conversation

@SawyerHood

Copy link
Copy Markdown
Collaborator

Summary

Redesigns the settings page from a single scroll page into a multi-page surface, following the sidebar-takeover IA (like Codex settings):

  • On /settings routes the app sidebar is replaced by a settings sidebar: a "Back to app" row, the setting buckets, and a Plugins group with one entry per enabled plugin that declares settings. It reuses the app sidebar's row/label class tokens (PROJECT_LIST_ACTION_BUTTON_CLASS, CHROME_SECTION_LABEL_CLASS) so both sidebar modes share the same spacing, sizing, and chrome (top reserve, resize handle).
  • Buckets are real routes: /settings/:section and /settings/plugins/:pluginId; unknown sections redirect to /settings. Header and document titles resolve across the whole subtree.
  • Buckets: General (incl. Voice Input and Updates/check-for-updates), Appearance (Theme, Palette, Favicon color), Usage limits, Files (File Preferences + File openers), Experiments, Plugins. Files/Plugins hide when irrelevant.
  • The Plugins bucket now enables/disables installed plugins with a switch per plugin (wired to the existing POST /plugins/:id/enable|disable routes, previously CLI-only). Each plugin's declarative settings form moved to its own page with a status header.
  • Server: PluginListEntry gains hasSettings so the nav knows which plugins get an entry without fetching every settings schema.
  • Adds a stroke-rounded artist-palette glyph to the shared icon set as Palette (the free hugeicons Palette export is a pen nib).

Tests

  • turbo typecheck for @bb/app, @bb/server, @bb/shared-ui
  • turbo test: 1309 app tests, 957 server tests pass; plugin settings tests updated for the management/detail split plus new coverage for the enable/disable round-trip and settings-link gating
  • Manual QA in a dev instance via browser automation: bucket navigation, plugin enable/disable round-trip (status pill, nav entry, sidebar unload), per-plugin settings form, back-to-app, and title behavior

Risks

  • Old sub-URLs never existed (/settings was the only route), so no deep links break; /settings/voice and /settings/updates style unknowns redirect to /settings.
  • hasSettings is additive on the plugin list payload; the app treats absence as false (older servers just show no per-plugin nav entries).

🤖 Generated with Claude Code

SawyerHood and others added 2 commits July 8, 2026 14:29
The settings page is now a multi-page surface: on /settings routes the app
sidebar swaps to a settings sidebar (Back to app, setting buckets, and a
Plugins group with an entry per enabled plugin that declares settings),
reusing the app sidebar's row and label tokens. Buckets are real routes
(/settings/:section, /settings/plugins/:pluginId).

- Split Theme/Palette/Favicon color into an Appearance bucket; fold Voice
  Input and Updates into General.
- The Plugins bucket now enables/disables installed plugins via the
  existing enable/disable routes; each plugin's declarative settings form
  moved to its own page.
- The server plugin list gains hasSettings so the nav knows which plugins
  get an entry without fetching every schema.
- Header/document title resolves across the whole /settings subtree.
- Add a stroke-rounded artist-palette glyph as the Palette icon.

Co-Authored-By: Claude Fable 5 <[email protected]>
@SawyerHood
SawyerHood merged commit 166468d into main Jul 8, 2026
6 checks passed
@SawyerHood
SawyerHood deleted the bb/settings-page-redesign-thr_q5yg3minc5 branch July 8, 2026 21:43
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