Skip to content

fix(ui): surface actionable banner for missing Supabase schema and RLS errors - #36

Merged
telivity-otaip merged 2 commits into
TelivityAI:mainfrom
Oreo2026:fix/supabase-schema-error-banner
Aug 24, 2026
Merged

fix(ui): surface actionable banner for missing Supabase schema and RLS errors#36
telivity-otaip merged 2 commits into
TelivityAI:mainfrom
Oreo2026:fix/supabase-schema-error-banner

Conversation

@Oreo2026

Copy link
Copy Markdown
Contributor

…S errors

Summary

Fixes #27

Adds a clear in-app setup banner when a self-hosted Supabase project is missing CareerOps tables, has blocking RLS policies, or uses invalid credentials.
The banner gives safe, actionable links to configuration, schema/migrations, and troubleshooting docs instead of leaving users with opaque console errors.

Type

  • Bug fix
  • Feature
  • Docs / deploy
  • Chore

Checklist

  • No secrets or personal data in the diff (web/config.js not committed)
  • Docs updated if behavior or deploy steps changed
  • I agree this contribution is under Apache-2.0

Oreo2026 and others added 2 commits August 22, 2026 23:18
Return from load() only when showSelfHostSetupError() matches missing
schema, RLS, or bad key — not on every roles/reports fetch error.

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
@telivity-otaip

Copy link
Copy Markdown
Contributor

Thanks for #27 — the setup banner and CAREEROPS_CONFIG wiring are exactly what self-hosters need.

Pushed a tiny maintainer-hygiene commit on this branch: load() now only bails when showSelfHostSetupError() actually matches (missing schema / RLS / bad key), not on every rolesRes/repsRes error. Your credit stays on the PR. Looks good to merge from here.

@telivity-otaip
telivity-otaip merged commit a192440 into TelivityAI:main Aug 24, 2026
3 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.

UX: friendlier self-host errors when Supabase schema/RLS is missing

2 participants