Repository navigation
feat: redesign Settings page with tabbed interface - #142
Merged
Merged
Conversation
Replace vertical stacked sections layout with a 3-tab interface (Profile, Security, Notifications) matching the approved mock. Profile tab consolidates personal info, appearance, and preferences into a single card with subsections. Closes #128 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Extract INPUT_CLASS/SELECT_CLASS, MFA_METHODS data array, Divider, and Modal components to reduce duplication and improve readability. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Owner
Author
Code reviewFound 2 issues:
finch/frontend/src/pages/Settings.jsx Lines 231 to 235 in 2c9dbac
finch/frontend/src/pages/Settings.jsx Lines 442 to 446 in 2c9dbac 🤖 Generated with Claude Code - If this code review was useful, please react with 👍. Otherwise, react with 👎. |
- Add handleSaveProfile that calls updatePreferences({ username }) on
PUT /auth/me; show saving state and surface API errors inline
- Change RegenerateRecoveryCodes onComplete from closeModal to
handleMfaComplete so MFA status is refreshed after code regeneration
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Owner
Author
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. Previously flagged issues (Save Changes missing 🤖 Generated with Claude Code - If this code review was useful, please react with 👍. Otherwise, react with 👎. |
…gation - Add client-side username validation (3-30 chars, [A-Za-z0-9_]) in handleSaveProfile to mirror backend constraints and avoid unnecessary round-trips - Sync username input to normalized (lowercased) value returned by server after a successful save - Parse backend error response body in updatePreferences and throw with the actual detail/message instead of a generic hardcoded string Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Replace fixed max-w-[780px] with clamp(320px, 88%, 1400px) for smooth proportional scaling across all viewport sizes - Fix select elements (currency, MFA method) showing white background by adding explicit inline style overrides to beat browser UA defaults - Remove max-w-none PageContainer override in favor of standard width Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…e-fetch on currency change - Add 'system' as a first-class theme mode: derives effective dark/light from matchMedia, reacts to OS preference changes, persists 'system' to localStorage - Update ThemeToggle to accept isDark bool instead of theme string so it renders the correct icon when theme is 'system' - Update HeaderBar and Navbar to destructure isDark from useTheme() - PortfolioContext now consumes useCurrency and passes display_currency to the portfolios API, re-fetching when the user changes their currency preference 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
--bg-secondary,--bg-tertiary,--border-primary, etc.) for full light/dark theme supportCloses #128
Test plan
/settingswithout console errorsupdatePreferencesGenerated with Claude Code