Skip to content

Remove production demo data fallback#62

Merged
shaypal5 merged 1 commit into
mainfrom
codex/remove-production-demo-fallback
May 26, 2026
Merged

Remove production demo data fallback#62
shaypal5 merged 1 commit into
mainfrom
codex/remove-production-demo-fallback

Conversation

@shaypal5

Copy link
Copy Markdown
Contributor

Summary

  • initialize the operator dashboard with empty/loading state instead of demo data in production
  • keep demo data opt-in for local development with ?demo=1
  • treat non-JSON operator API responses, including Cloudflare Access HTML/login pages, as visible API failures instead of preserving stale/demo data
  • add the Vite env type declaration needed for the demo flag

Verification

  • npm run check
  • npm run test
  • npm run build

@shaypal5 shaypal5 added the bug Something isn't working label May 26, 2026
@shaypal5 shaypal5 merged commit 77ce809 into main May 26, 2026
1 check passed
@shaypal5 shaypal5 deleted the codex/remove-production-demo-fallback branch May 26, 2026 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant