Repository navigation
Conversation
Held items, the Venmo pay panel, and the confirm form pop in on arrival, using the shared list wave. The title and countdown stay still so the time left is readable from the first frame.
Early-return states share the class hook so the first-visit flag is only read once. Held lines, the Venmo panel, and the confirm form use the list wrapper; the title and countdown stay still.
|
🚀 Deployed on https://pr-490--iuga.netlify.app |
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.
Rationale
Shop Checkout has early-return states while loading the hold or prompting for sign-in before showing the held line items. I used
usePageEntranceClass("shopCheckout", { onceKey: "checkout", ready })so the single session clock waits until the hold has finished loading (ready = authReady && !loading) and wraps the checkout line items inEntranceList.Desktop Before (1440px):
checkout-before-1440.mp4
Desktop After (1440px):
checkout-after-1440.mp4
Mobile Before (390px):
checkout-before-390.mp4
Mobile After (390px):
checkout-after-390.mp4
Observable Behavior
/shop/checkout/:holdIdfinishes loading on a first visit, the held order lines and summary card enter smoothly once.Verification
/shop/checkout/64b000000000000000000001at1440pxand390px(and verify authenticated held-line stagger inShopCheckout.test.jsx).ShopCheckout.test.jsxplus the full stack (fe10fc7) infrontend/:npm test -- --run(68 files, 923 tests passed),npx stylelint "src/**/*.scss"(0 errors), andVITE_API_URL=http://localhost:7777 npm run build(passed).Stack Context
Stacked on PR #489 (
feat/resources-page-entrance). Next in stack: PR #491 (feat/admin-page-entrance).Co-authored with Grok Bot.