Complexity: Trivial - 100 Points · type:bug
Milestone: M5 - Distribution & grant
Band lever: none
Context
apps/web/app/demo/page.tsx:34 renders the flagship "Pay $25.00 with Quay"
button with data-quay-link="demo_mug_123".
Problem
No seed script creates a link with that id. Clicking the button on the page
whose entire purpose is demonstrating the widget shows "Payment link not found".
It degrades correctly rather than crashing, but the demo does not demo anything
— and this is the page a grant reviewer or a prospective integrator lands on.
What needs to be done
- Decide the source of truth: either have
scripts/demo-seed.ts create a link
with the stable id demo_mug_123, or have the demo page create a link on
first render and cache the id.
- Wire whichever is chosen so a clean deployment has a working button.
- Make the failure honest in the meantime: if the link is missing, say the demo
needs seeding rather than showing a generic not-found.
Key files
apps/web/app/demo/page.tsx:34 — the button
scripts/demo-seed.ts — seeding (see also 7.8)
Done when
Tracked in ISSUES.md — issue 5.11.
Complexity: Trivial - 100 Points ·
type:bugMilestone: M5 - Distribution & grant
Band lever: none
Context
apps/web/app/demo/page.tsx:34renders the flagship "Pay $25.00 with Quay"button with
data-quay-link="demo_mug_123".Problem
No seed script creates a link with that id. Clicking the button on the page
whose entire purpose is demonstrating the widget shows "Payment link not found".
It degrades correctly rather than crashing, but the demo does not demo anything
— and this is the page a grant reviewer or a prospective integrator lands on.
What needs to be done
scripts/demo-seed.tscreate a linkwith the stable id
demo_mug_123, or have the demo page create a link onfirst render and cache the id.
needs seeding rather than showing a generic not-found.
Key files
apps/web/app/demo/page.tsx:34— the buttonscripts/demo-seed.ts— seeding (see also 7.8)Done when
Tracked in
ISSUES.md— issue 5.11.