Skip to content

5.11 - The demo page's own pay button points at a link that is never seeded #157

Description

@determined-001

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

  1. 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.
  2. Wire whichever is chosen so a clean deployment has a working button.
  3. 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

  • Clicking the demo button on a freshly seeded deployment opens a payable link.

Tracked in ISSUES.md — issue 5.11.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveDrips Wave Program - opt an issue in by applying this labelarea:webapps/web - dashboard, checkout, widgetcomplexity:trivial100 pointsgood-first-issueSelf-contained, well-scoped, safe for newcomerstype:bug

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions