Skip to content

Commit 92142f8

Browse files
V48 Gate 3 (implementation-only): remove the route step grid from /deposits
The Connect source / Synthesize AssetPack options / Review source-safe options / Submit deposit / Read depository state step-card stack is removed from the /deposits page — the route header, the pipelines drill-in master-detail, and the flow sections carry the journey. The deposit route model (steps/activeStepId) and depositStage URL handling are unchanged; ProductRouteStepGrid remains in use elsewhere. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 5b01ed8 commit 92142f8

2 files changed

Lines changed: 4 additions & 37 deletions

File tree

uapi/app/deposits/DepositPageClient.tsx

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import {
2121
ProductRouteProofDetail,
2222
ProductRouteShell,
2323
ProductRouteStatePanel,
24-
ProductRouteStepGrid,
2524
} from "@/components/base/bitcode/routes/product-route-shell";
2625
import { useUserData } from "@/hooks/useUserData";
2726
import { fetchPipelineExecutionHistory } from "@/networking/api-client";
@@ -1281,31 +1280,6 @@ export default function DepositPageClient() {
12811280
},
12821281
]}
12831282
>
1284-
<ProductRouteStepGrid
1285-
ariaLabel="Deposit steps"
1286-
activeStepId={depositRouteSession.activeStepId}
1287-
steps={depositRouteSession.steps}
1288-
tone="emerald"
1289-
testIdPrefix="deposit-route-step"
1290-
stateDataAttribute="data-deposit-step-state"
1291-
compact
1292-
onSelect={(stepId) => {
1293-
replaceDepositSearchParams(
1294-
writeDepositRouteStage(readCurrentSearchParams(), stepId),
1295-
);
1296-
if (typeof document === "undefined") return;
1297-
const targetId =
1298-
stepId.includes("connect") || stepId.includes("source")
1299-
? "deposit-section-source"
1300-
: stepId.includes("synth")
1301-
? "deposit-section-synthesize"
1302-
: "deposit-section-review";
1303-
document
1304-
.getElementById(targetId)
1305-
?.scrollIntoView({ behavior: "smooth", block: "start" });
1306-
}}
1307-
/>
1308-
13091283
<section
13101284
className="border border-white/10 bg-white/[0.035] px-4 py-4"
13111285
aria-label="Deposit pipelines"

uapi/tests/depositPageClient.test.tsx

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -206,18 +206,11 @@ describe("DepositPageClient", () => {
206206
expect(
207207
screen.getByRole("heading", { name: "Depositing" }),
208208
).toBeInTheDocument();
209+
// The route step grid is removed from /deposits — the route header, the
210+
// pipelines master-detail, and the flow sections carry the journey.
209211
expect(
210-
screen.getByTestId("deposit-route-step-connect-source"),
211-
).toBeInTheDocument();
212-
expect(
213-
screen.getByTestId("deposit-route-step-synthesize-options"),
214-
).toBeInTheDocument();
215-
expect(
216-
screen.getByTestId("deposit-route-step-review-options"),
217-
).toHaveAttribute("data-deposit-step-state", "current");
218-
expect(
219-
screen.getByTestId("deposit-route-step-review-options"),
220-
).toHaveAttribute("aria-current", "step");
212+
screen.queryByTestId("deposit-route-step-connect-source"),
213+
).not.toBeInTheDocument();
221214
expect(screen.getByText("Source-safe deposit state")).toBeInTheDocument();
222215
expect(screen.getByText("Disclosure boundary")).toBeInTheDocument();
223216
expect(

0 commit comments

Comments
 (0)