dev-toolbar-review
Skill111k starsChanged 2 months agoApache-2.0View on GitHub
Safety rules for the dev toolbar, PostHog client, and feature flags. Use
- Reads credentials
Trending
Less talk lately.about the whole repository
Who's talking about supabase/supabase
- A Hacker News story“Supabase open sourced their dashboard”Hacker News · Dec 1, 2021 · 331 points
- supabase/postgrest-js“Allow long-running transactions at the client side or do relational inserts”GitHub · Nov 2, 2021 · 121 reactions
- supabase/auth-js“Can't get rid of getUser() warning”GitHub · Mar 31, 2024 · 89 reactions
- supabase/supabase-js“Acquiring an exclusive Navigator LockManager failed”GitHub · Jan 2, 2024 · 69 reactions
- supabase/supabase-js“Still having getSession warning whenever _saveSession is called”GitHub · May 17, 2024 · 68 reactions
The biggest 5 of 80 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 80
Talked about on Bluesky, GitHub and Hacker News (80 times).
On Bluesky · 50
- Nov 26, 2024📦 supabase / supabase ⭐ 74,138 (+62) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social18 likes and reposts · 2 replies
- Mar 2, 2025📦 supabase / supabase ⭐ 78,242 (+49) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social14 likes and reposts
- Nov 15, 2024📦 supabase / supabase ⭐ 73,721 (+77) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social12 likes and reposts
- Oct 5, 2024📦 supabase / supabase ⭐ 72,296 (+45) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social10 likes and reposts
- Sep 2, 2024📦 supabase / supabase ⭐ 71,084 (+33) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social10 likes and reposts · 1 reply
45 more on Bluesky
- Oct 22, 2024📦 supabase / supabase ⭐ 72,893 (+48) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social9 likes and reposts
- Feb 9, 2025📦 supabase / supabase ⭐ 77,109 (+63) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social8 likes and reposts · 1 reply
- Mar 23, 2025📦 supabase / supabase ⭐ 79,628 (+48) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social7 likes and reposts
- Mar 9, 2025📦 supabase / supabase ⭐ 78,642 (+57) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending.bsky.social7 likes and reposts
- Mar 6, 2025📦 supabase / supabase ⭐ 78,475 (+69) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social7 likes and reposts
- Sep 18, 2024📦 supabase / supabase ⭐ 71,657 (+41) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social7 likes and reposts
- Feb 17, 2025📦 supabase / supabase ⭐ 77,500 (+48) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social6 likes and reposts
- Feb 22, 2025📦 supabase / supabase ⭐ 77,818 (+55) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social5 likes and reposts
- Dec 20, 2024📦 supabase / supabase ⭐ 75,163 (+46) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social5 likes and reposts · 1 reply
- Aug 6, 2025📦 supabase / supabase ⭐ 86,619 (+51) 🗒 TypeScript The Postgres development platform. Supabase gives you a dedicated Postgres database to… — @github-trending-js.bsky.social4 likes and reposts
- May 27, 2025📦 supabase / supabase ⭐ 83,497 (+73) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social4 likes and reposts
- May 18, 2025📦 supabase / supabase ⭐ 82,966 (+65) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social4 likes and reposts
- Mar 31, 2025📦 supabase / supabase ⭐ 80,043 (+57) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social4 likes and reposts
- Sep 11, 2025📦 supabase / supabase ⭐ 88,289 (+76) 🗒 TypeScript The Postgres development platform. Supabase gives you a dedicated Postgres database to… — @github-trending.bsky.social3 likes and reposts
- Sep 9, 2025📦 supabase / supabase ⭐ 88,154 (+38) 🗒 TypeScript The Postgres development platform. Supabase gives you a dedicated Postgres database to… — @github-trending-js.bsky.social3 likes and reposts
- Jul 10, 2025📦 supabase / supabase ⭐ 85,507 (+84) 🗒 TypeScript The Postgres development platform. Supabase gives you a dedicated Postgres database to… — @github-trending-js.bsky.social3 likes and reposts
- Nov 4, 2026Postgres plus auth, storage, realtime, edge functions and instant APIs, all open source. 🔗 github.com/supabase/supabase Credits:… — @prosperflowio.bsky.social2 likes and reposts
- Oct 21, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 supabase / supabase ⭐ 112,619 (+509) 🗒 TypeScript The Postgres development platform. Supabase gives… — @github-trending-js.bsky.social2 likes and reposts · 1 reply
- Oct 15, 2026📦 supabase / supabase ⭐ 111,522 (+98) 🗒 TypeScript The Postgres development platform. Supabase gives you a dedicated Postgres database to… — @github-trending-js.bsky.social2 likes and reposts
- Sep 16, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 supabase / supabase ⭐ 109,394 (+118) 🗒 TypeScript The Postgres development platform. Supabase gives… — @github-trending.bsky.social2 likes and reposts
- Aug 27, 2026📦 supabase / supabase ⭐ 108,421 (+45) 🗒 TypeScript The Postgres development platform. Supabase gives you a dedicated Postgres database to… — @github-trending-js.bsky.social2 likes and reposts
- Jun 18, 2026📦 supabase / supabase ⭐ 104,439 (+97) 🗒 TypeScript The Postgres development platform. Supabase gives you a dedicated Postgres database to… — @github-trending-js.bsky.social2 likes and reposts
- Jun 6, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 supabase / supabase ⭐ 103,672 (+188) 🗒 TypeScript The Postgres development platform. Supabase gives… — @github-trending-js.bsky.social2 likes and reposts
- Jan 9, 2026📦 supabase / supabase ⭐ 95,874 (+78) 🗒 TypeScript The Postgres development platform. Supabase gives you a dedicated Postgres database to… — @github-trending-js.bsky.social2 likes and reposts
- Dec 1, 2025Supabase @supabase - your open-source backend. Firebase alternative built on Postgres. Features 👇 - Auth, DB, storage & functions -… — @danshipit.bsky.social2 likes and reposts · 1 reply
- Nov 1, 2025🚀 Skyrocketing! 🚀 (200+ new stars) 📦 supabase / supabase ⭐ 91,288 (+363) 🗒 TypeScript The Postgres development platform. Supabase gives… — @github-trending-js.bsky.social2 likes and reposts · 1 reply
- Sep 25, 2025📦 supabase / supabase ⭐ 89,095 (+61) 🗒 TypeScript The Postgres development platform. Supabase gives you a dedicated Postgres database to… — @github-trending-js.bsky.social2 likes and reposts
- Aug 13, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 supabase / supabase ⭐ 86,968 (+110) 🗒 TypeScript The Postgres development platform. Supabase gives you… — @github-trending-js.bsky.social2 likes and reposts
- May 6, 2025📦 supabase / supabase ⭐ 82,217 (+74) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social2 likes and reposts
- May 2, 2025📦 supabase / supabase ⭐ 81,889 (+61) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social2 likes and reposts
- Apr 26, 2025📦 supabase / supabase ⭐ 81,549 (+78) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social2 likes and reposts
- Sep 22, 2024📦 supabase / supabase ⭐ 71,853 (+60) 🗒 TypeScript The open source Firebase alternative. Supabase gives you a dedicated Postgres database… — @github-trending-js.bsky.social2 likes and reposts
- Jun 11, 2024📦 supabase / supabase ⭐ 67,560 (+38) 🗒 TypeScript The open source Firebase alternative. — @github-trending-js.bsky.social2 likes and reposts
- Feb 8, 2024📦 supabase / supabase ⭐ 62,724 (+45) 🗒 TypeScript The open source Firebase alternative. — @github-trending-js.bsky.social2 likes and reposts
- Sep 2, 2023📦 supabase / supabase ⭐ 56,112 (+43) 🗒 TypeScript The open source Firebase alternative. Follow to stay updated about our public Beta. — @github-trending-js.bsky.social2 likes and reposts
- Jul 10, 2023📦 supabase / supabase ⭐ 52,961 (+37) 🗒 TypeScript The open source Firebase alternative. Follow to stay updated about our public Beta. — @github-trending-js.bsky.social2 likes and reposts
- Nov 13, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 supabase / supabase ⭐ 114,916 (+145) 🗒 TypeScript The Postgres development platform. Supabase gives… — @github-trending-js.bsky.social1 likes and repost
- Oct 12, 2026The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications. 🔗… — @vritrasec.bsky.social1 likes and repost
- Jul 12, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 supabase / supabase ⭐ 106,150 (+158) 🗒 TypeScript The Postgres development platform. Supabase gives… — @github-trending-js.bsky.social1 likes and repost
- Jul 3, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 supabase / supabase ⭐ 105,238 (+145) 🗒 TypeScript The Postgres development platform. Supabase gives… — @github-trending-js.bsky.social1 likes and repost
- Jul 3, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 supabase / supabase ⭐ 105,237 (+145) 🗒 TypeScript The Postgres development platform. Supabase gives… — @github-trending.bsky.social1 likes and repost
- Jan 5, 2026github.com/supabase/supabase GitHub - supabase/supabase: The Postgres development platform. Supabase gives you a dedicated Po... — @technews4869.bsky.social1 likes and repost
- Oct 6, 2025📦 supabase / supabase ⭐ 89,606 (+65) 🗒 TypeScript The Postgres development platform. Supabase gives you a dedicated Postgres database to… — @github-trending-js.bsky.social1 likes and repost
- Sep 13, 2025🔥 Hot Repo! 🔥 (100+ new stars) 📦 supabase / supabase ⭐ 88,563 (+143) 🗒 TypeScript The Postgres development platform. Supabase gives you… — @github-trending-js.bsky.social1 likes and repost
- Sep 13, 2025supabase/supabase The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI… — @postgresql.activitypub.awakari.com.ap.brid.gy1 likes and repost
On GitHub · 25
- Nov 2, 2021Allow long-running transactions at the client side or do relational inserts — supabase/postgrest-js121 reactions · 51 comments
- Mar 31, 2024Can't get rid of getUser() warning — supabase/auth-js89 reactions · 122 comments
- Jan 2, 2024Acquiring an exclusive Navigator LockManager failed — supabase/supabase-js69 reactions · 94 comments
- May 17, 2024Still having getSession warning whenever _saveSession is called — supabase/supabase-js68 reactions · 22 comments
- Oct 19, 2023Proposal: throwOnError should be default behavior — supabase/supabase-js50 reactions · 16 comments
20 more on GitHub
- Jul 19, 2023Stack guards not supported in this environment — supabase/auth-js40 reactions · 48 comments
- Jul 4, 2021Filter source table based on the embedded table(inner join) — supabase/postgrest-js39 reactions · 34 comments
- Jul 15, 2023Json type: Type instantiation is excessively deep and possibly infinite. — supabase/supabase-js36 reactions · 30 comments
- Apr 24, 2024user object warning logged, even when not touching `session.user` — supabase/supabase-js35 reactions · 118 comments
- Jul 18, 2021Support multiple columns filter (AND) in realtime channel filter — supabase/realtime-js35 reactions · 48 comments
- Nov 19, 2021Signed urls for upload — supabase/storage33 reactions · 17 comments
- Jun 12, 2021Allow users to BYO S3-compatible storage backend — supabase/storage33 reactions · 22 comments
- Jul 6, 2021Allow configuration of OAuth2 redirect domain in hosted supabase console — supabase/auth31 reactions · 22 comments
- May 29, 2025supabase docker image 15.8.1.094 does not start on local development with CLI — supabase/cli28 reactions · 43 comments
- Jul 16, 2021Allow user to map custom domain to callback url on Sign with OAuth Provider — supabase/auth26 reactions · 1 comment
- Jul 15, 2025Local server unable to start due to analytics bucket — supabase/cli25 reactions · 25 comments
- Aug 4, 2023Wrong type for joins with one-to-one relationships — supabase/postgrest-js25 reactions · 21 comments
- Jan 10, 2022feat: adds support for wildcards in redirect URIs — supabase/auth22 reactions · 7 comments
- Jan 22, 2021feat(v2): Webpack 5, PostCSS 8 — meta/docusaurus14 reactions · 22 comments
- Oct 25, 2023Update images to match official Supabase Docker compose — supabase-community/supabase-kubernetes11 reactions · 46 comments
- Oct 3, 2022feat: Support for OAuth callback proxy. — supabase/auth11 reactions · 23 comments
- Jan 14, 2022feat: add kubernetes support with Helm — supabase-community/supabase-kubernetes8 reactions · 8 comments
- May 14, 2022Allow to override Supabase service URLs in client — supabase/supabase-js6 reactions · 8 comments
- Oct 3, 2022feat: Support for OAuth callback proxy — supabase/auth-js5 reactions · 1 comment
- Sep 12, 2026Make the iPix Supabase skill load reliably and document safer Edge deployments — amoai-tech/ipixai4 reactions · 3 comments
On Hacker News · 5
- Dec 1, 2021Supabase open sourced their dashboard331 points · 39 comments
- Apr 4, 2020Show HN: Realtime Slack clone using Postgres29 points · 4 comments
- Jul 30, 2020Show HN: A Slack Clone Using Postgres Row Level Security6 points · 1 comment
- Jul 28, 2021Supabase: Open-Source Firebase Alternative4 points
- Feb 10, 2025Select Query Returns Empty Array Despite Existing Data with RLS Enabled #334991 point · 1 comment
In this repository32 other files it gives its agents.
- AGENTS.mdAGENTS.md
- apps/docs/AGENTS.mdAGENTS.md
- apps/kb/AGENTS.mdAGENTS.md
- apps/studio/AGENTS.mdAGENTS.md
- apps/docs/CLAUDE.mdCLAUDE.md
- apps/kb/CLAUDE.mdCLAUDE.md
- apps/studio/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- apps/learn/public/llms.txtllms.txt
- api-typesSkill
- ask-the-docsSkill
- clickhouse-logs-queriesSkill
- copywritingSkill
- edit-the-docsSkill
- pm-the-docsSkill
- react-hook-formSkill
- review-the-docsSkill
- safe-sql-executionSkill
- studio-e2e-testsSkill
- studio-error-handlingSkill
- studio-mock-api-testsSkill
- studio-queriesSkill
- studio-shortcutsSkill
- studio-testingSkill
- studio-ui-patternsSkill
- telemetry-standardsSkill
- test-the-docsSkill
- vercel-composition-patternsSkill
- vitestSkill
- write-the-docsSkill
- explorerSkill
The file
Files
Dev Toolbar Review Guide
Review checklist for PRs touching the dev toolbar (packages/dev-tools/) and its
integration points in packages/common/. The toolbar surfaces telemetry events and
allows feature flag overrides in local and staging environments only.
When This Applies
PRs modifying any of these paths need growth eng review:
packages/dev-tools/**(owned by@supabase/growth-engin CODEOWNERS)packages/common/posthog-client.ts(flag override reads, event subscription)packages/common/feature-flags.tsx(flag override merge logic)- App-level mounting:
DevToolbarProvider/DevToolbar/DevToolbarTriggerinapps/studio/,apps/www/,apps/docs/
Note: posthog-client.ts and feature-flags.tsx are NOT in CODEOWNERS for growth-eng,
so PRs touching only those files won't auto-request review. Watch for these in the PR feed.
Review Checklist
1. Environment Guards
Files: packages/dev-tools/index.ts, DevToolbar.tsx, DevToolbarTrigger.tsx, DevToolbarContext.tsx
The toolbar uses two layers of protection:
- Build-time tree-shaking in
index.ts: the bundler inlinesprocess.env.NEXT_PUBLIC_ENVIRONMENT, soisToolbarEnabled = env === 'local' || env === 'staging'makes the export ternaries static. Outside those two environments every export is a stub (DevToolbarandDevToolbarTriggerrendernull,DevToolbarProviderpasses children through,useDevToolbarreturns a no-op context) and the implementation modules are eliminated from the bundle. The same literalprocess.envcheck is duplicated inDevToolbarContext.tsx,DevToolbar.tsx,DevToolbarTrigger.tsx, andfeature-flags.tsxbecause the bundler must see it directly — keep them in sync. - Runtime guards inside the implementation:
IS_LOCAL_DEV = env === 'local'gates the local-only pieces — the SSE event stream inDevToolbarContext.tsxand local-only UI inDevToolbar.tsx— so staging gets the toolbar without them.
Check for:
- Guards being removed or broadened. The toolbar is enabled only for
localandstaging; preview and production builds must keep getting the stubs. - Tree-shaking ternaries in
index.tsstaying intact — these are the primary production safety mechanism. - New components or exports that bypass the existing guard pattern.
2. Flag Override Cookies
Files: packages/dev-tools/DevToolbar.tsx, packages/common/posthog-client.ts, packages/common/feature-flags.tsx
The toolbar writes two cookies that override feature flags locally:
x-ph-flag-overrides— PostHog flag overridesx-cc-flag-overrides— ConfigCat flag overrides
These are read by:
posthog-client.ts:getFeatureFlag()— checks the PostHog override cookie before querying the SDKfeature-flags.tsx— merges both override cookies into the flag store during initialization
Check for:
- Cookie name changes (must stay in sync across writer and all readers)
- Changes to the merge/precedence logic in
feature-flags.tsx(currently:vercel-flag-overridesfirst, thenx-cc-flag-overridestakes precedence in local dev) - Override cookies being read outside the
IS_LOCAL_DEV/isLocalDevguard — overrides must never affect production flag evaluation - Changes to
parseOverrideValueorvaluesAreEqualinpackages/dev-tools/utils.tsthat could cause type coercion bugs
3. Telemetry Event Subscription
Files: packages/common/posthog-client.ts, packages/dev-tools/DevToolbarContext.tsx
The toolbar subscribes to client-side PostHog events via posthogClient.subscribeToEvents().
The PostHog client calls emitToDevListeners() after capturePageView, capturePageLeave,
and identify. Note: captureExperimentExposure calls posthog.capture() directly
without emitting to dev listeners — experiment exposure events are invisible in the toolbar.
Check for:
- Changes to
emitToDevListenersorsubscribeToEventsthat could introduce side effects on the actual capture path (e.g., throwing errors, blocking, mutating event data) - The listener set (
devListeners) being iterated synchronously in a way that could delay event dispatch - New PostHog client methods that capture events but don't call
emitToDevListeners(gap in toolbar visibility)
4. SSE Server Telemetry Stream
Files: packages/dev-tools/DevToolbarContext.tsx
The toolbar connects to ${apiUrl}/telemetry/stream via Server-Sent Events to display
server-side telemetry. Uses exponential backoff on connection errors.
Check for:
- Changes to the SSE endpoint URL or
session_idcookie handling - Reconnection logic changes that could cause excessive retries or connection leaks
- Note: the stream endpoint lives in the platform repo — cross-repo changes need coordinated review
5. App-Level Mounting
Provider + toolbar panel (DevToolbarProvider, DevToolbar):
apps/studio/pages/_app.tsxapps/www/pages/_app.tsx,apps/www/app/providers.tsxapps/docs/features/app.providers.tsx
Trigger button (DevToolbarTrigger) — rendered separately in nav/header components:
apps/studio/components/layouts/Navigation/LayoutHeader/LayoutHeader.tsxapps/www/components/Nav/index.tsxapps/docs/components/Navigation/NavigationMenu/TopNavBar.tsx
Check for:
- Provider being added or removed from an app
apiUrlprop changes (must point to the correct platform API)- Rendering order changes that could affect the toolbar's access to PostHog context
What Doesn't Need Growth Review
Changes that are purely UI/UX within the toolbar panel itself — styling, layout, copy changes, drag behavior, popover positioning — don't need growth eng review unless they also touch the integration points above.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

