feat(landing): make landing page form selection sticky#759
Merged
thostetler merged 2 commits intoadsabs:masterfrom Jan 13, 2026
Merged
Conversation
Add user preference to remember the last-used search form (modern, classic, or paper) across sessions. For authenticated users, this preference can be configured in Settings. For unauthenticated users, localStorage is used. - Add LandingFormPreference enum with Auto/Modern/Classic/Paper options - Create useLandingFormPreference hook to manage form preference - Add Default Landing Page setting in application settings (Astrophysics only) - Track current form on each landing page mount - Initialize localStorage synchronously to avoid double-render
444fbf6 to
943e2af
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #759 +/- ##
========================================
+ Coverage 71.8% 71.8% +0.1%
========================================
Files 217 221 +4
Lines 24485 24839 +354
Branches 1402 1421 +19
========================================
+ Hits 17575 17830 +255
- Misses 6878 6977 +99
Partials 32 32
🚀 New features to boost your workflow:
|
shinyichen
reviewed
Jan 12, 2026
Member
shinyichen
left a comment
There was a problem hiding this comment.
A question about the code in the comment. Also, would it makes sense to update the upper left SicX link as well?
Otherwise looks good to me.
shinyichen
approved these changes
Jan 12, 2026
Member
Author
yes, good idea -- I'll update and merge |
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
Changes
Test plan