Repository navigation
fix(webhooks): unblock enable button in old integrations UI - #44404
Conversation
The actions area was greyed out when required extensions weren't installed, but webhooks handles pg_net installation server-side. Skip the disabled styling when hideRequiredExtensionsSection is set.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
6 Skipped Deployments
|
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
There was a problem hiding this comment.
Pull request overview
Fixes the legacy (non-marketplace) Database Webhooks integration UI where the “Enable webhooks” action was unintentionally disabled due to the requiredExtensions: ['pg_net'] check introduced for the newer integrations UI.
Changes:
- Updates the old
IntegrationOverviewTabactions wrapper so extension-missing disabled styling/interaction blocking is skipped whenhideRequiredExtensionsSectionis enabled. - Ensures the legacy Webhooks enable flow remains usable even when
pg_netisn’t pre-installed (since installation is handled server-side).
🎭 Playwright Test ResultsDetails
Flaky testsFeatures › rls-policies.spec.ts › RLS Policies › Policies Page › should switch between schemas Skipped testsFeatures › sql-editor.spec.ts › SQL Editor › snippet favourite works as expected |
Braintrust eval report
|
Summary
requiredExtensions: ['pg_net']for the new UI, which inadvertently caused the old UI's actions area to get disabled viahasToInstallExtensionshideRequiredExtensionsSectionis set, since webhooks handlespg_netinstallation server-sideCompanion to #44402 which fixed the same issue in the new (V2) UI.