Repository navigation
Make visible controls do what they look like - #181
Merged
Merged
Conversation
View trends now opens the hourly pattern section (#trends) instead of reloading the same page; the card menu skips its focus return for that link so the page does not jump back. New pages start at the top via a path-change-only ScrollToTop that leaves Back/forward, #hash links and query changes alone. Stats and exchange-rate tiles drop hover lift. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JB1Z5HSRuMsFpDeoEX6spM
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.
Phase 2 of the BorderPulse cleanup plan: every visible control does what it looks like.
#trends) and scrolls there. Before, it reloaded the same page at the top. The menu skips its focus return for this one link so the page doesn't jump back up.ScrollToTopruns only on a path change. Back/forward keeps browser restoration,#hashlinks scroll to their target, and query-only changes (lane, map selection) keep position.Verified:
npm testpasses, includingtest:routes(506 browser navigations, map scroll-restore checks). Build OK (entry 61.86 KB of 62 KB). Headless Chrome at 500px: View trends lands on the section (80px from top); a deep-scrolled crossing page opens Best time at scroll 0. On the previous build, View trends did not move the page.Not verified: Back-button position against the previous build; physical phone.
Not in this PR: layout simplification (Phase 3), Spanish/accessibility polish (Phase 4).
Generated by Claude Code