Revert back to the default behavior: only back button uses
ScrollRestoration and forward (e.g. link click) always scrolls
to the top. Without this we get funny behaviors where the app
seemingly unconsistently fails to scroll to the top just because
we previously navigated to that route. For future if we want to
refine this logic we could default to location.key except for certain
routes where we detected overriding it to be useful.
Strict improvement because we avoid the flash on clientside navigation.
One practical bug was scroll restoration between tournament teams list
and user page. When user pressed back they ended up at the bottom
of the page because the placeholder (smaller height than actual
content) rendered. With useHydrated this placeholder is no longer
rendered for client side navigations.
* Fix value parsing to avoid errors and display reset correctly
* Add color preview
* Add color contrast checker
* Run formatter
* Satisfy checks
* Small fixes
* Update wording
* Re-order combinations
* Add translation keys
* Use clsx for pass/fail
* Use table elements
* Remove wrapper element
* Use single decimal for contrast
* Move description into popover
* Update css vars to accept preview colors
* Update colors input
* Remove reloadDocument
* Wrap in details summary
* Update popover text
* Initial
* Progress
* Initial UI
* Can submit request
* Progress
* Show text if no scrims
* Can cancel request, tabs
* Delete post
* Popover if can't delete
* Request rows
* Progress
* Scrim page initial
* Fix migration order
* Progress
* Progress
* Works again
* Make it compile
* Make it compile again
* Work
* Progress
* Progress
* Progress
* Associations initial
* Association visibility work
* notFoundVisibility form fields initial
* Progress
* Association leave/join + reset invite code
* Progress
* Select test
* Merge branch 'rewrite' into scrims
* Remeda for groupBy
* Select with search
* Outline styling for select
* Select done?
* Fix prop names
* Paginated badges
* Less important
* Select no results
* Handle limiting select width
* UserSearch non-working
* Fix problem from merge
* Remove UserSearch for now
* Remove todo
* Flaggable
* Remove TODOs
* i18n start + styling
* Progress
* i18n done
* Add association e2e test
* E2E tests
* Done?
* Couple leftovers
* Initial
* Progress
* Recent winners
* Add button
* Progress
* Mobile nav initial
* UI tweaks
* Overflow
* AnythingAdder links to places
* Remove color for tournament showcase
* Adjust SQ top banner based on if season is on right or not
* Tournament participant count fixed
* Log out
* todo
* Progress
* Nav complete
* Done?
* Fix lint
* Translate settings
* Initial
* Try npm in deploy script
* Progress
* Progress
* Progress
* Add missing index
* Title to user results page
* Hide SPR before tournament over
* Results page and redirect
* SPR info
* Row bg colors
* Laoyut shift fix
* Hide Swiss start round button if bracket is in preview
* Fix e2e test
* Not needed
* one more revert