Skip to content

Fix ratings view mode and card display prefs not persisting#22

Merged
gregoryn22 merged 1 commit into
masterfrom
claude/pensive-nightingale-219478
May 26, 2026
Merged

Fix ratings view mode and card display prefs not persisting#22
gregoryn22 merged 1 commit into
masterfrom
claude/pensive-nightingale-219478

Conversation

@gregoryn22
Copy link
Copy Markdown
Owner

Summary

  • ratings_view_mode and 8 show_* card display toggles were stored in the frontend sf object but absent from EXPOSED_KEYS and UpdateSettingsRequest in the settings router
  • Server silently dropped them on every PATCH /api/settings call and never returned them on GET, so they reset to defaults on every page reload
  • Added all 9 missing keys to both EXPOSED_KEYS and UpdateSettingsRequest

Affected settings that now persist:

  • Ratings page view (Tier List / Numeric)
  • Show ratings on cards
  • Show rating votes
  • Show source badges
  • Show progress bars
  • Show card meta (type/year)
  • Show release group
  • Show tags on cards
  • Show card controls

Test plan

  • Switch Ratings page to Numeric view, refresh — should stay Numeric
  • Toggle a card display pref in Settings, save, refresh — should persist
  • Verify existing settings (pushover, poll interval, etc.) still save normally

🤖 Generated with Claude Code

ratings_view_mode and 8 show_* card display toggles were tracked in the
frontend sf object but absent from EXPOSED_KEYS and UpdateSettingsRequest,
so the server silently dropped them on PATCH and never returned them on GET.
Preferences appeared to save but reset on every page reload.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@gregoryn22 gregoryn22 merged commit e01b9eb into master May 26, 2026
1 check passed
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