Repository navigation
Lead the home screen with the rider's own mountains - #15
Merged
Merged
Conversation
A returning rider landed on the hero, the pass filter, a units switch, the view tabs, search, a location button and a welcome card with no data in it. Their favorites were behind a star. - New HomePicks list on the home screen. With favorites: "Your mountains today", up to six, ranked by today's Ride Score, each with its best day this week (from the planner's outlook, so it matches the grid), and a link to the full favorites comparison. - Without favorites: "Top picks today", the best three of the six biggest resorts in the range the browser's time zone points to (regionForTimezone() in lib/regions.ts, with tests). No permission prompt, nothing in the URL; it falls back to the first available region when the guess has no resorts, e.g. after a pass filter. - The empty welcome card is replaced by its one useful line (resort count and credit). 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.
Why
A returning rider landed on the hero, pass filter, units switch, view tabs, search, a location button and then a large welcome card with no data in it. Their favorites were hidden behind a star button.
What
HomePicks(new) on the home screen, directly below search:regionForTimezone()inlib/regions.ts, with a newtests/regions.test.ts:Testing
tsc --noEmit,next lintand all 10 offline test suites pass, including the newregionssuite.America/Los_Angeles).Merge order
This is 3 of 3. I merged #13, #14 and this PR onto
mainin that order on a scratch branch: all three merged without conflicts (git auto-mergedapp/page.tsx, where #13 and this PR touch different parts). On the combined result, lint, typecheck, all 10 test suites andnext buildpass.🤖 Generated with Claude Code