rspace-online/backlog/tasks/task-58 - Auto-route-users-...

1.8 KiB

id title status assignee created_date labels dependencies priority
TASK-58 Auto-route users to personal/demo space + landing overlay + demo content for all rApps Done
@claude
2026-02-25 23:53
feature
routing
ux
demo
high

Description

Anon users automatically land on the demo space when viewing any rApp (standalone or unified). Logged-in users auto-redirect to their personal space (auto-provisioned on first visit). Landing page renders as a quarter-screen popup overlay on the demo space. Demo space seeded with content for all 22 rApps.

Acceptance Criteria

  • #1 Anon users on standalone domains (rpubs.online/) see demo space
  • #2 Logged-in users auto-redirect from demo to personal space
  • #3 POST /api/spaces/auto-provision creates personal space on first auth visit
  • #4 Standalone domains support / path prefix (rpubs.online/jeff)
  • #5 rspace.online/ redirects to /demo/canvas
  • #6 Quarter-screen welcome overlay shows on first demo visit
  • #7 Full landing page accessible at /about
  • #8 Sign-in/register triggers auto-space-resolution redirect
  • #9 Demo space seeded with shapes for all 22 rApps (55 shapes total)

Final Summary

Implemented auto-routing: anon→demo, auth→personal space. Added POST /api/spaces/auto-provision endpoint, modified standalone domain rewrite to support / paths, added welcome overlay to shell, wired auth flow to auto-redirect after sign-in. Seeded demo with 18 new shapes covering files, forum, books, pubs, swag, providers, work, cal, network, tube, inbox, data, choices, splat. Deployed to production, demo reset to 55 shapes.