#35 site: Done page links community page; Review handles 409 slug-taken #64

Merged
matou-build-agent merged 1 commit from agent/issue-35 into main 2026-08-30 17:06:24 +00:00

Landing-branch PR for #35 (phase-2 plan Task 8). Same change as the already-merged worker-branch PR #62; re-attributed to the canonical agent/issue-35 branch the harness landing/close gate keys on. Merges to a no-op tree since the change is already on main.

Landing-branch PR for #35 (phase-2 plan Task 8). Same change as the already-merged worker-branch PR #62; re-attributed to the canonical agent/issue-35 branch the harness landing/close gate keys on. Merges to a no-op tree since the change is already on main.
sandcastle: site Done links the community page; Review handles 409 (#35)
All checks were successful
ci / seam (pull_request) Successful in 40s
05b36d5ae7
Wire the phase-2 site side to the /api/submit pipeline (phase-2 plan Task 8).

- site/src/api/types.ts: SubmitResult mirrors the server — 200 gains
  `pageUrl`, new 409 `{error:'slug-taken', slug}`.
- site/src/form/Review.tsx: on 200 navigate to
  `/done?slug=…&page=<encodeURIComponent(pageUrl)>`; on 409 jump to the brand
  step and flag `brand.slug` with "That short name is already taken — choose
  another" (also surfaced in Review's alert list for the directly-rendered
  test harness).
- site/src/pages/Done.tsx: link the live community page (`<a href={page}>`) and
  carry the "build pending" copy.
- Tests: new site/src/pages/Done.test.tsx; two new Review.test.tsx cases
  (200→/done with page= in the search, 409→role=alert "already taken");
  existing 200 case updated for the new pageUrl body.
- STATUS.md: header + log — phase-2 site side lands; only #36 e2e remains.

pnpm -r typecheck, pnpm -r test, pnpm --filter @coa/site build all green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
(cherry picked from commit 6cdf44bdb5)
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/coa!64
No description provided.