#35 site: Done page links community page; Review handles 409 slug-taken #64
No reviewers
Labels
No labels
agent-blocked
agent-working
bug
deferred
enhancement
model-haiku
model-opus
model-sonnet
needs-info
needs-triage
no-triage
priority
product-decision
ready-for-agent
ready-for-human
ready-for-session
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/coa!64
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "agent/issue-35"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
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 commit6cdf44bdb5)