feat(staged): add General settings page with theme selector and auto-review toggle#644
Merged
feat(staged): add General settings page with theme selector and auto-review toggle#644
Conversation
…and renaming "Repo" to "Repos" Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…e theme button from top bar Move the theme picker from the top bar dropdown into a new "General" settings section, making it the default landing page when opening settings. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add a new preference that controls whether code reviews are automatically triggered after commits. Users can choose between "Never" and "After changes" (default). The Rust session runner reads this preference from the persistent store before triggering auto-reviews. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ix a11y warning Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The theme picker was rendered as a search input with a scrollable button list. Replace it with a native <select> dropdown for a more standard UI. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Cache the sq availability check with OnceLock for the process lifetime and use it as the default for auto-review in both the Rust session runner and the frontend preferences initialization. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ix clippy Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
aee0f39 to
020aaf1
Compare
…info icon Swap the FormToggle for a native <select> dropdown to match the theme picker style, and add a lucide Info icon next to the description text. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Each theme row now shows the theme name in its foreground color on its actual background, with a "// preview" comment in the theme's comment color. The active theme gets a colored border and checkmark. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…text Move the color-swatch theme list behind a dropdown trigger button that shows the current theme as a mini swatch. Remove the "// preview" text from each row. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add filter buttons at the top of the theme swatch dropdown to let users filter themes by appearance (All, Light, Dark) using isLightTheme(). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…behaviour" Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…string, unknown> TypeScript rejects direct casts between ThemeRegistrationRaw and Record<string, unknown> because the types don't sufficiently overlap. Extract a rawObj variable cast via unknown to fix the type errors. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
🤖 Generated with Claude Code