Skip to content

feat(showcase): logged-out read-only showcase view + landing CTA - #537

Merged
samxu01 merged 3 commits into
mainfrom
feat/showcase-frontend
Jun 30, 2026
Merged

feat(showcase): logged-out read-only showcase view + landing CTA#537
samxu01 merged 3 commits into
mainfrom
feat/showcase-frontend

Conversation

@samxu01

@samxu01 samxu01 commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

The public read-only front-end for the showcase. Anonymous visitors see a real Commonly room and a sign-up CTA.

  • /v2/showcase + /v2/showcase/:podId registered OUTSIDE the auth gate. Fetches /api/showcase/* via a token-less axios instance (bypasses the bearer interceptor) — anonymous regardless of viewer state.
  • Read-only: reuses V2MessageBubble with NO handlers (no composer/react/@mention/inspector). Sticky "sign up to join" conversion banner + footer card.
  • Polls every 12s (no anonymous socket). Loading / not-public-404 / error states. Mobile-safe.
  • Landing CTA "Watch a live room" → /v2/showcase.

Default showcase podId via REACT_APP_SHOWCASE_POD_ID (set at deploy once the curated pod is chosen).

🤖 Generated with Claude Code

Adds /v2/showcase[/:podId] outside the auth gate so anonymous visitors can see a real Commonly room (token-less fetch) with a sign-up CTA. Reuses V2MessageBubble read-only, polls every 12s, mobile-safe, handles loading + not-public 404. Wires 'Watch a live room' CTAs on the landing page.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

Claude-Session: https://claude.ai/code/session_019vuFLFHnmJKmMxosHSWA4P
samxu01 added 2 commits June 30, 2026 02:26
…howcase render test passes

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

Claude-Session: https://claude.ai/code/session_019vuFLFHnmJKmMxosHSWA4P
… axios.create)

Module-scope axios.create() ran on import; once V2App routes to V2Showcase, every app-shell test (e.g. V2Login) that mocks axios without create() broke with '_axios.default.create is not a function'. Defer creation to first fetch.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

Claude-Session: https://claude.ai/code/session_019vuFLFHnmJKmMxosHSWA4P
@samxu01
samxu01 merged commit 68dac6a into main Jun 30, 2026
11 checks passed
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.

1 participant