Fit the planner and comparison on a phone - #13
Merged
Merged
Conversation
On a 375px screen the planner's sticky resort column took ~85% of the width, so one day was visible at a time, on a view whose point is to see the best day at a glance. The comparison spent ~650px on filters and a toolbar before the first result, then one screen per resort card. - Planner: cap the resort column and drop its pass badges on phones, so all seven days fit beside it. Add a "best pick each day" list (phones only) that reads the grid by column; the logic lives in bestPerDay() in lib/planner.ts, with tests. - Compare: phones get a one-line-per-resort ranked list (rank, name, temp, flags, 24h snow, score). The cards stay from `sm` up. - Pass and region chips become one swipeable row on phones instead of wrapping onto five lines. Toolbar copy and labels shorten to fit. Desktop layouts are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 1, 2026
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
At 375px wide:
What
bestPerDay()inlib/planner.ts, with tests). Tapping a row opens that resort.smup.Testing
tsc --noEmit,next lintand all 9 offline test suites pass, including 2 newbestPerDaytests.Merge order
This is 1 of 3. All three branch off
mainand edit different parts ofapp/page.tsx. I merged them locally in order 1 → 2 → 3 and there were no conflicts.🤖 Generated with Claude Code