Skip to content

refactor: remove demo mode and simplify environment setup - #98

Merged
HarryRandall merged 3 commits into
mainfrom
refactor/remove-demo-mode-main
Sep 7, 2026
Merged

refactor: remove demo mode and simplify environment setup#98
HarryRandall merged 3 commits into
mainfrom
refactor/remove-demo-mode-main

Conversation

@HarryRandall

@HarryRandall HarryRandall commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Summary

Remove the separate demo application path. Authentication and plan mutations now always use the normal Supabase flow, and sample catalogue/map data is confined to test and script fixtures. Simplify .env.example to essential settings and optional catalogue imports, documenting advanced overrides separately.

Replace demo rendering checks with authenticated local-database journeys, preserve the recently added layout, tab and client-navigation regressions, and add provider persistence/rollback tests. No database schema changes.

Verification

  • pnpm check and pnpm verify
  • 519 unit/component tests and eight anonymous access checks
  • Fourteen authenticated browser journeys against an isolated local Supabase stack, including desktop/narrow layouts and light/dark course tabs
  • Production builds for access checks and authenticated journeys
  • Building asset generation, with unchanged output hash
  • git diff --check

The branch is based on current main and preserves the newer course routes, planner structure and regression tests. Test-owned users and indoor-map records are cleaned up. No production data or schema was changed.

Deployment notes

COURSEMAP_DEMO_MODE is no longer used. Existing false values may be removed from local or deployment configuration. Optional map and local database overrides remain supported. No migrations or deployment-root changes are required.

@vercel

vercel Bot commented Sep 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
coursemap Ready Ready Preview Sep 7, 2026 7:58am UTC

@HarryRandall
HarryRandall marked this pull request as ready for review September 7, 2026 07:57
@HarryRandall
HarryRandall merged commit 282e6c6 into main Sep 7, 2026
6 checks passed
@HarryRandall
HarryRandall deleted the refactor/remove-demo-mode-main branch September 7, 2026 08:05
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