From dd36870b9f65011af75c9304f059a314600c6888 Mon Sep 17 00:00:00 2001
From: Yonie <164077864+Isaiahriveraa@users.noreply.github.com>
Date: Tue, 24 Nov 2026 15:26:07 -0800
Subject: [PATCH 1/3] feat(shop): wave the checkout lines in on the first visit
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.
---
frontend/src/pages/ShopCheckout.jsx | 26 ++++++++++++++----------
frontend/src/pages/ShopCheckout.test.jsx | 19 +++++++++++++++++
2 files changed, 34 insertions(+), 11 deletions(-)
diff --git a/frontend/src/pages/ShopCheckout.jsx b/frontend/src/pages/ShopCheckout.jsx
index 91293728..8221e3f4 100644
--- a/frontend/src/pages/ShopCheckout.jsx
+++ b/frontend/src/pages/ShopCheckout.jsx
@@ -10,6 +10,8 @@ Expected Response Information: Hold details, the pending purchase, or a clear no
import { useCallback, useEffect, useState } from "react";
import { Link, useNavigate, useParams } from "react-router-dom";
+import usePageEntrance from "../hooks/usePageEntrance";
+import { entranceIndexStyle } from "../utils/pageEntrance";
import { useAuthContext } from "../context/AuthContext";
import { useShopCart } from "../context/ShopCartContext";
import { formatCents } from "../utils/shopFormat";
@@ -127,6 +129,8 @@ export default function ShopCheckoutPage() {
const [notice, setNotice] = useState(null);
const [isBusy, setIsBusy] = useState(false);
const [nowMs, setNowMs] = useState(() => Date.now());
+ const entering = usePageEntrance();
+ const checkoutClass = `shopCheckout baseContainer${entering ? " pageEntrance--enter" : ""}`;
const loadHold = useCallback(async () => {
setLoadState("loading");
@@ -275,12 +279,12 @@ export default function ShopCheckoutPage() {
}
if (loadState === "loading") {
- return Loading your checkout…;
+ return Loading your checkout…;
}
if (loadState === "signin") {
return (
-
+
Sign in to continue
Sign in to see your held items and finish your purchase.