[pull] master from supabase:master#731
Merged
pull[bot] merged 7 commits intocode:masterfrom Mar 6, 2026
Merged
Conversation
### Changes - Remove maybeShowUpgradePrompt (plan-based) in favor of maybeShowUpgradePromptIfNotEntitled (entitlement-based) - Replaced the `maybeShowUpgradePrompt` with a `hasAccessToHelper` callback to default the date selection to a safe default so pages don't load with an out-of-range date. ### Testing - With an Org on the Free Plan, head to `/project/_/observability/api-overview?its=2026-03-04T15:06:50.704Z&ite=2026-03-20T15:06:50.704Z`. Notice that the end date in the URL is 16 days after the start date. - Assert that the actual range defaults to the entitled range of 1 day. <img width="467" height="483" alt="image" src="https://github.com/user-attachments/assets/e17c6957-3ece-4956-87aa-30cf62c84acd" />
## What kind of change does this PR introduce? UI update. ## What is the current behavior? #43355 introduced “Copy to ChatGPT” and “Copy to Claude” buttons with the general `ExternalLink` Lucide icon each. ## What is the new behavior? Branded icons for each, so users can quickly skim the sidebar for their LLM of choice. | Before | After | | --- | --- | | <img width="1152" height="662" alt="Database Supabase Docs-0BAB1226-CCD6-4022-9383-1C323C83475D" src="https://github.com/user-attachments/assets/efba85e7-1b82-4faa-a460-fd1d07448064" /> | <img width="1152" height="662" alt="Database Supabase Docs-44494743-65AE-40BF-AE19-375A2E5F7665" src="https://github.com/user-attachments/assets/968180b1-ef31-46d4-84d9-bf2819a24fc4" /> |
## What kind of change does this PR introduce? UI update. ## What is the current behavior? The org’s /apps page is glaringly out of date compared to similar pages. It uses old page and layout components. ## What is the new behavior? - Refactored /apps to use latest [layout](https://supabase.com/design-system/docs/ui-patterns/layout) and [table](https://supabase.com/design-system/docs/components/table) components Unrelated minor changes snuck in: - Global `pnpm format` to properly format recurring annoyances elsewhere - Minor polish on org tiles (pictured) | Before | After | | --- | --- | | <img width="1728" height="997" alt="OAuth Apps Supabase-30B6CDAE-4954-40F8-886A-939797999AA6" src="https://github.com/user-attachments/assets/163c2787-f6ab-4a0b-80aa-af81260bdf9f" /> | <img width="1728" height="997" alt="OAuth Apps Supabase-7DD241E0-262A-4817-91B2-D2A299F8EB93" src="https://github.com/user-attachments/assets/29928305-9110-4256-8663-c3821e696587" /> | | <img width="1728" height="997" alt="OAuth Apps Supabase-9870816A-8022-479D-8011-236A813249AB" src="https://github.com/user-attachments/assets/32e41835-59bc-4d83-92eb-635b98c5f4a5" /> | <img width="1728" height="997" alt="OAuth Apps Supabase-21CFBC16-E850-44A6-BEFF-C4FBED8ACB43" src="https://github.com/user-attachments/assets/6999e2a0-ea17-44cb-99f2-42f985354589" /> | | <img width="1152" height="664" alt="Supabase-9DD87028-2D46-47D0-8546-240184E1711B" src="https://github.com/user-attachments/assets/2c7d8b2a-280f-48d6-9f78-19c519cf4654" /> | <img width="1152" height="664" alt="Supabase-F1C92F66-C602-4DC9-B3B4-AE3FB673276E" src="https://github.com/user-attachments/assets/0a24a98e-386f-4ada-b282-0a59b159bbab" /> | --------- Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
## What kind of change does this PR introduce? UI fix ## What is the current behavior? Radio button circles are off-center in Safari. ## What is the new behavior? Radio button circles are centered in Safari. Extraneous stroke on the Lucide Circle icon also removed. | Before | After | | --- | --- | | <img width="1502" height="864" alt="General Supabase" src="https://github.com/user-attachments/assets/7fea0cc5-d62f-4c29-b341-494e66b91c38" /> | <img width="1502" height="864" alt="General Supabase" src="https://github.com/user-attachments/assets/296cbb72-ced2-44f7-8c73-d2c758a66507" /> | It’s hard to see the before-after via screenshots. Go to org settings on `master` in Safari to see the difference. ## Additional context We already applied this fix in `radio-group-stacked`.
## What kind of change does this PR introduce? Impending feature addition. Resolves DEPR-340. ## What is the current behavior? We don’t have any platform webhook support. ## What is the new behavior? This puts the scaffolding for platform webhooks **behind a feature flag**. The content is currently UI-only (with mock data and a [temporary tracking file](https://github.com/supabase/supabase/blob/8adadc61f57c70b686a0f5f05e9f7f05837e0466/apps/studio/components/interfaces/Platform/Webhooks/DEPR-340-backend-integration-tracker.md)). Merging this in lets us work incrementally from here on.
## What kind of change does this PR introduce? - UI fixes and cleanup ## What is the current behavior? - We use the _Anthropic_ logo for _Claude Code_ in the MCP connector panel - We have a bunch of redundant dark mode logos (visually the same as their light mode siblings) | Before | After | | --- | --- | | <img width="987" height="373" alt="Krosno Toolshed Supabase-03CD5E6F-53E6-4282-9087-ACB9F67B6DDA" src="https://github.com/user-attachments/assets/ca7b5d9c-2a2b-4520-8bd4-8cf26c759c73" /> | <img width="987" height="373" alt="Krosno Toolshed Supabase-53F3849B-2D86-494B-BE25-8D23EA050243" src="https://github.com/user-attachments/assets/7bd2e9a6-82ae-48a1-9ef1-591b7a33632e" /> | ## What is the new behavior? - We use the _Claude_ logo for _Claude Code_ - Removed duplicative logos - Made note of which MCP servers have a different logo for dark mode
…irmationDialog (#43430) ## What kind of change does this PR introduce? Form handling improvement. ## What is the current behavior? #43201 standardised our discard changes behaviour with a shared hook and `DiscardChangesConfirmationDialog` component. But many forms and sheets still: 1. Don’t have any Discard-confirm close behaviour, making it too easy to make accidental discards 2. Use a more complicated, manually-created `CloseConfirmationModal` approach ## What is the new behavior? - Replaced all instances of `#2` above that had `CloseConfirmationModal` with `DiscardChangesConfirmationDialog` and its hook - Improved design system documentation around dirty form dismissal | Before | After | | --- | --- | | <img width="987" height="569" alt="Mercor Apexroles Foo Supabase-9A40EC7C-F335-4B26-B567-450FC0845463" src="https://github.com/user-attachments/assets/363bed82-34d2-4cc8-9164-6d18cfdbdbbc" /> | <img width="987" height="569" alt="Mercor Apexroles Foo Supabase-F427F1FA-DECC-4194-B663-A9E5A6F285A1" src="https://github.com/user-attachments/assets/d49fafdc-a5c2-46df-9b67-ec42bacbe716" /> | ## To test Try editing values these sheets in staging, then blurring the sheet or pressing `esc`: - CreateQueueSheet.tsx - CronJobsTab.tsx - CronJobPage.tsx - EditWrapperSheet.tsx - OverviewTab.tsx - WrappersTab.tsx - CreateFunction/index.tsx - EditHookPanel.tsx - TriggerSheet.tsx - SidePanelEditor.tsx - EditSecretSheet.tsx - PolicyEditorModal/index.tsx - PolicyEditorPanel/index.tsx ## Still to come - [ ] Incrementally take on `#1`: implement `DiscardChangesConfirmationDialog` and its hook in sheets or dialog forms that have no dirty form dismissal handling --------- Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )