Repository navigation
Refresh Plate Tracker accessibility, reliability and offline play - #2
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Plate Tracker's cards were not keyboard accessible, corrupt local saves could stop startup, and rapid confirmations could run while leaving the dialog open. This refresh fixes those paths and adds state search, All/Missing/Found filters, readable phone cards and offline play while preserving the existing design, all 50 states, 31 achievements, facts, photos, hold-to-remove, reset and storage keys.
Dialogs now contain and restore focus, support Escape and nested photo views; zoom and reduced-motion preferences are respected. Hometown lookups are bounded, reject duplicate submissions, retain the previous home on failure, and award newly qualifying geography achievements. The versioned offline cache includes the game and 74 photos; hometown search remains online. Updates wait for existing game tabs to close.
Validation: 15 automated regressions passed locally; actual browser checks covered keyboard play, dialogs, photo viewing, persisted progress and 320px/390px layouts. With the local HTTP server stopped, the page reloaded and a state photo opened from cache. A live Albany lookup updated distances and awarded the geography achievement. New CI runs the regression suite and checks the offline content hash. Source data, images, outlines and achievement definitions are unchanged.
Review notes and remaining boundaries are in docs/refresh-review.md. Individual image attribution/licensing and a full fact-source audit remain separate existing gaps. Physical iOS/Android testing has not been performed. This PR has not been merged or deployed.