Skip to content

Keep route saves child-only and routeIdx-driven#33

Merged
OziinG merged 3 commits into
mainfrom
feat/orders-to-route-logic
Jun 30, 2026
Merged

Keep route saves child-only and routeIdx-driven#33
OziinG merged 3 commits into
mainfrom
feat/orders-to-route-logic

Conversation

@OziinG

@OziinG OziinG commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Summary\n- remove active root/branch route composition from Shopify route detail saves\n- show/sort saved child routes by global routeIdx and include routeIdx assertions in draft payloads\n- keep Add Empty Route numbering based on the global context route set\n\n## Verification\n- npm test\n- npm run typecheck\n- npm run check:public-urls\n- npm run build

OziinG added 3 commits June 30, 2026 15:48
Constraint: KFood route groups must keep an implicit Route 1 and avoid rendering branch locks beside materialized child routes.

Rejected: Add a new route-index column in the Shopify app | the backend slot order is the source of truth.

Confidence: high

Scope-risk: moderate

Directive: Render saved child routes as canonical rows; use root/branch rows only before child materialization.

Tested: cd apps/shopify-app && node --test tests/routes-page.test.mjs

Not-tested: Full Shopify npm test/typecheck; this worktree has no installed node_modules, so @shopify/shopify-app-react-router/react-router binaries are missing.
Constraint: Route groups must persist only child routes with server-authoritative global routeIdx; root and branch rows are legacy-only.
Rejected: Keep synthetic root/branch rows in the Shopify draft UI | they reintroduced duplicate Route 1 rows and root-row validation failures.
Confidence: high
Scope-risk: moderate
Directive: Do not restore root route rows or branchId draft payloads for route group saves; use child routeIdx assertions instead.
Tested: npm test; npm run typecheck; npm run check:public-urls; npm run build
Not-tested: Live K-food browser save flow and production deploy smoke are deferred to the next ultragoal stage.
@OziinG OziinG merged commit 6245b75 into main Jun 30, 2026
1 check passed
@OziinG OziinG deleted the feat/orders-to-route-logic branch July 1, 2026 05:42
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.

1 participant