Repository navigation
Conversation
- A `:has()` anchored on any `div` (`[data-panel] div:has(> [data-slot="site-footer"]) > *`) restyled the whole document each time an element with a class or an attribute was added or removed: replaced by a `.panel-scroll` class on the panel's scroll area. - The carousels' arrows are hidden at the ends of the row instead of mounted and unmounted in the middle of a swipe. - The trip cards' weights move in 12 steps (`--gw`), the poster's route, dots and names fade as one group each, and `place()` no longer reads `scrollWidth`. - Touch screens: no backdrop filter on the panel and the nav scrim (not measured). - Tooling: `scripts/perf/carousel*.mjs`, `panel-shot.mjs`; findings in docs/performance.md. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ub8ohUbepiRvEfmHHCSehX
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
…e layer, coarser steps - The street map's first-appearance wave (hidden until tiles, then dithered squares) is for a page that opens on a place: a map made while the visitor zooms in has no entrance. - Trip cards: route, dots and names are one svg whose opacity follows the card (no repaint per step); fades in 8 steps, weights in 6; the subject's shadow on the word only on the card in front. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ub8ohUbepiRvEfmHHCSehX
…estore the side cards' shadow rule - Title and word are drawn twice (data-weight) in the carousel and crossfade by opacity with --g instead of moving the weight of a variable face; figures keep one weight. - --gw removed, fades in 12 steps, --edge and --lb registered as non-inherited. - The `.trip-slide:not([data-front])` rule that hides the subject's shadow on side cards had been dropped by an earlier edit: restored. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ub8ohUbepiRvEfmHHCSehX
This branch was successfully deployed
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.
What
Owner's report from an iPad: the trip carousel is laborious to swipe, and the frame rate drops when a place is opened (the panel) and when the map moves. Full write-up in
docs/performance.md("iPad: the trip carousel and the panel").Measured in Chrome for Testing 158 on Linux with a 4x CPU slowdown (no iPad or Safari in the session), on
/dev/trip-cards::has()whose anchor is anydiv([data-panel] div:has(> [data-slot="site-footer"]) > *) made the browser restyle the whole document whenever an element with a class or an attribute was added or removed anywhere: a panel opening, a map label, a carousel arrow. Swipes showed six 20,000-element restyles (3.3 s of the 4.3 s of style work). Appending one element on a real place page: 8 to 11 ms before, 1.7 ms after.hiddenat the ends instead of mounted and unmounted mid-swipe (both carousels).--gw); the poster's route, dots and names fade as one group each;place()no longer forces a layout by readingscrollWidth.Not measured (please check on the iPad)
(hover: none) and (pointer: coarse)) the panel is opaque and the nav scrim has no blur. This is reasoned from the project's own precedent, not measured.Board
No linked issue. I could not reach the "Open-source development" project board from this session (no
gh projectaccess), so this PR still needs to be added to it with its fields filled in.Generated by Claude Code