Skip to content

Desktop: arrow keys move between schools - #8

Merged
roxburghm merged 1 commit into
mainfrom
keyboard-nav
Nov 13, 2026
Merged

roxburghm merged 1 commit into
mainfrom
keyboard-nav

Conversation

@roxburghm

Copy link
Copy Markdown
Owner

Summary

On desktop, ↓ / ↑ select the next / previous school in the list.

  • Same as clicking: the map zooms to the school, its details show, and the list scrolls to keep the card in view.
  • Follows the list: uses the order currently shown, including any name filter.
  • First press: picks the school already shown in the details, then moves from there.
  • At either end of the list: pressing further does nothing.

The keys keep their normal behaviour while typing (address or filter box), on the year slider or a drop-down, in the map (Google pans it with the arrows), with the table or About popup open, and on phones.

Test plan

  • yarn build
  • Desktop: first ↓ picks the shown school; ↓↓ / ↑ step through the list; repeated ↓ stops at the last school with it scrolled into view
  • Keys do nothing while the table popup is open

🤖 Generated with Claude Code

Moves through the list in its current order (respecting the name filter),
zooming the map and showing details as a click would, and scrolls the list to
keep the school in view. The first press picks the school already shown.
Ignored while typing, on the year slider or drop-downs, in the map (which pans
with the arrows), with a dialog open, or on phones.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@roxburghm
roxburghm merged commit a8ce50e into main Nov 13, 2026
1 of 2 checks 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