Skip to content

S453: the menu hands you to the next page - #69

Merged
Preston2012 merged 4 commits into
mainfrom
claude/menu-motion-s453
Nov 28, 2026
Merged

Preston2012 merged 4 commits into
mainfrom
claude/menu-motion-s453

Conversation

@Preston2012

Copy link
Copy Markdown
Owner

Core pages, 1 of 6: the menu. Preston: "apply the similar treatments to the other core pages and the menu. Each should be tackled 1 at a time and strategicly." Every page after home is reached through the menu, so its job is the hand-off between pages.

The hand-off (every page)

  • Changing pages is one motion. The old page lifts away, the new one rises in, and the header and thumb bar hold still.
  • The nav word you tapped flies to the new page's locator (WORK, ABOUT...) and glows copper on the way.
  • Works in Chrome and Safari 18.2+. Firefox, and anyone with reduced motion on, change page as before.

The phone plate

  • It opens bolder and in reading order: the head types in, then the seam welds out, then each line drives in with its divider welding under it and its number struck like a stamp, then the foot, then the Text ring.
  • Closing runs the lines back out before the plate leaves.
  • Tapping a page keeps the plate up through the page change. Coming back with the back button finds it put away and the page scrollable.

The desktop nav

  • It marks the page you're on: a welded copper-to-green underline, the teal dot, and aria-current for screen readers.
  • The words stamp in left to right when a page loads.

Checked

  • Chromium, Firefox and WebKit, with motion on and with reduced motion:
    • The plate opens and focus moves to the close button.
    • Tab stays inside the plate, and Escape closes it and returns focus to the menu button.
    • The lines settle, links land, and there are no console or CSP errors.
  • Every page compared against live in Chromium and WebKit: no overflow, no errors.
  • Gate:
    • Accessibility, best practices and SEO score 100 on home, work, about, services and contact.
    • /about performance is 89 to 90 here against 88 on live in the same hour. That page's LCP was already slow on live, so it waits for its own turn.

🤖 Generated with Claude Code

https://claude.ai/code/session_019pW3TKYLNex9ZSDBVNuynE

Preston, 2026-11-28: "Now I want to apply the similar treatments to the
other core pages and the menu. Each should be tackled 1 at a time and
strategicly." The menu goes first: every page after home is reached
through it, so its treatment is the hand-off between pages.

The hand-off. Moving between pages is one motion: the old page lifts
away, the new one rises in, the header and the thumb bar hold still, and
the nav word you picked flies to the new page's locator with a copper
glow in flight. Cross-document view transitions (Chrome, Safari 18.2+);
Firefox and reduced motion change page as before. BaseLayout's head
script names the pair only for the link that was followed (pageswap on
the old page, pagereveal on the new).

The phone plate, bolder and in reading order on one clock: the head types
in, the seam welds out from its dot, each line drives in from the right
edge with its divider welding across under it and its number struck like
a stamp, then the foot and the Text ring. Closing runs the lines back out
before the plate leaves. A page link keeps the plate up through the page
change; the back-forward cache puts it away.

The desktop nav now marks the page you are on (aria-current, a welded
copper-to-green underline, the teal registration dot over the word), and
the words stamp in left to right on arrival.

Checked: Chromium, Firefox and WebKit, motion on and reduced: opens,
focus to close, Tab trapped, Escape closes and returns focus, lines
settle, links land, no console or CSP errors. Back from the next page
finds the plate put away and the page scrollable. Every page against
live in Chromium and WebKit: no overflow, no errors. Gate: a11y, bp, seo
100 on home, work, about, services, contact; /about perf 89 to 90 here
against 88 on live in the same hour, so that page's LCP is its own and
waits for its turn.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019pW3TKYLNex9ZSDBVNuynE
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019pW3TKYLNex9ZSDBVNuynE
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-28T22:48:27.660554Z b027978 PR opened
🔒 Security Review ✅ Completed 2026-11-28T22:50:05.852263Z b027978 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b02797866c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +214 to +215
el.style.viewTransitionName = 'wc-locator';
sessionStorage.setItem(KEY, path);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Clear the outgoing locator name after its snapshot

On desktop with view transitions enabled, navigate from Work to About and then return using Back: the cached Work page retains wc-locator on its About nav word, while pagereveal assigns that same name to the Work eyebrow. Duplicate transition names cause the transition to be skipped; choosing another destination afterward also produces duplicate names on departure. Only the incoming eyebrow is currently cleaned up. Reset the outgoing element’s name after e.viewTransition.finished, as demonstrated in the cross-document transition cleanup guidance, so BFCache restoration does not retain it.

Useful? React with 👍 / 👎.

Preston, 2026-11-28 15:38: "the text button should continue pulsing every
like 3-5 seconds? And maybe on the home the bottom sticky text button
should also pulse?"

The menu Text button rings every 4 seconds, not once. On the homepage the
thumb bar Text button gets the same ring, a touch stronger with a soft
glow because the bar sits on the page edge; it pauses while the bar is
tucked away. Both are still under reduced motion. Measured: the ring
repeats on a 4 second cycle on both, and stays at zero with reduced motion.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019pW3TKYLNex9ZSDBVNuynE
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019pW3TKYLNex9ZSDBVNuynE
@Preston2012
Preston2012 merged commit 84f80fe into main Nov 28, 2026
1 check 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.

2 participants