Skip to content

Canonicalize storefront URL to the clean vanity slug - #600

Merged
topgunmaintenance merged 1 commit into
mainfrom
feature/storefront-and-golive-ux
Aug 1, 2026
Merged

Canonicalize storefront URL to the clean vanity slug#600
topgunmaintenance merged 1 commit into
mainfrom
feature/storefront-and-golive-ux

Conversation

@topgunmaintenance

Copy link
Copy Markdown
Owner

The storefront resolves by UUID or slug, so it can be reached via /project/ (old dashboard links, bookmarks, shared UUID links) as well as the pretty / rewrite. Arriving via the UUID left the ugly /project/ in the address bar instead of dum.club/. Once the project loads and its slug is known, replaceState snaps the bar to / - no reload, no refetch, no Next navigation, so params.id and all in-page state are untouched - preserving query string + hash. No-ops when there is no slug or we are already on the clean path.

Human-copy guard passes (126 files).

Claude-Session: https://claude.ai/code/session_01AX5jScmWgKK5yfoKZgamhD

The storefront resolves by UUID or slug, so it can be reached via
/project/<uuid> (old dashboard links, bookmarks, shared UUID links) as
well as the pretty /<slug> rewrite. Arriving via the UUID left the ugly
/project/<uuid> in the address bar instead of dum.club/<slug>. Once the
project loads and its slug is known, replaceState snaps the bar to
/<slug> - no reload, no refetch, no Next navigation, so params.id and all
in-page state are untouched - preserving query string + hash. No-ops when
there is no slug or we are already on the clean path.

Human-copy guard passes (126 files).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AX5jScmWgKK5yfoKZgamhD
@vercel

vercel Bot commented Aug 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
dum-club Building Building Preview Aug 1, 2026 7:49pm

@topgunmaintenance
topgunmaintenance merged commit 3453858 into main Aug 1, 2026
2 of 3 checks passed
@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown

Visual QA · ✅ pass

Tested against: https://www.dum.club

Status: passed
Total: 7  passed=7

✅ chromium-desktop › embed-bubble.spec.ts › embed.js is served and contains the bubble code  (369ms)
✅ chromium-desktop › embed-bubble.spec.ts › /embed-config returns v1.7 schema shape  (1139ms)
✅ chromium-desktop › discover.spec.ts › /discover renders cards + plain-English CTAs  (2937ms)
✅ chromium-desktop › homepage.spec.ts › homepage loads with branded navbar + tagline  (2448ms)
✅ chromium-desktop › install.spec.ts › /install (signed out) renders sign-in CTA without React #310  (2337ms)
✅ chromium-desktop › merchant.spec.ts › /merchant signed-out lands cleanly (no React #310)  (2198ms)
✅ chromium-desktop › project-page.spec.ts › /project/topgun-maintenance loads cleanly as visitor  (2406ms)

Full report + screenshots: Action run → Artifacts → visual-qa-30715628645

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.

2 participants