Commit Graph
33189 Commits
Author SHA1 Message Date
Charis Lam db9d1602e7 fix(advisor panel): cannot find selected item 2025-10-28 13:45:16 -04:00
Charis Lam 0ef29274eb fix(advisor panel): improve a11y 2025-10-28 13:45:16 -04:00
Charis Lam 651b41a844 fix(advisor panel): add error state 2025-10-28 13:45:16 -04:00
Charis Lam 4e4b7c2add fix(advisor panel): misplaced key on list 2025-10-28 13:45:15 -04:00
Charis Lam 4c33d7a9f1 cleanup(advisor panel): minor code cleanup 2025-10-28 13:45:15 -04:00
Charis Lam 29b3e8273c fix(inline editor button): only show keyboard shortcut if hotkey active 2025-10-28 13:03:04 -04:00
Saxon Fletcher 6fc1ce42cf Merge branch 'chore/editor-sidebar-manager' into chore/advisor-sidebar-manager 2025-10-28 10:56:16 +10:00
Saxon Fletcher 8a112bed5d Merge branch 'master' into chore/editor-sidebar-manager 2025-10-28 10:54:23 +10:00
Saxon Fletcher ac5fea2964 initial prompt 2025-10-28 10:53:08 +10:00
Saxon Fletcher b1d8ef6919 Merge branch 'master' into chore/editor-sidebar-manager 2025-10-28 10:52:48 +10:00
738c568e6b Sidebar manager (#39795)
* sidebar-manager

* storage keys

* tests

* more ai spots

* test fix

* revert to default

* remove ref

* Update apps/studio/state/sidebar-manager-state.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update apps/studio/components/ui/AIAssistantPanel/AIAssistant.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix ts

* fix

* fux

* fux query param

* clean

* fix

* more

* mock local storage

* simplify

* remove provider test

* remve useopensidebar

* fix(new homepage): open ai assistant on advisor card button clicks

* Update apps/studio/components/layouts/ProjectLayout/LayoutSidebar/index.tsx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Update apps/studio/state/sidebar-manager-state.tsx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* refine

* FIX

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-10-28 10:07:21 +10:00
Saxon Fletcher 01c4009053 fix 2025-10-28 09:07:34 +10:00
Saxon Fletcher 787ad57141 Merge branch 'chore/editor-sidebar-manager' of https://github.com/supabase/supabase into chore/editor-sidebar-manager 2025-10-28 09:05:53 +10:00
Saxon FletcherandCharis 9d84b707cb Update apps/studio/state/advisor-state.ts
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-10-28 09:05:37 +10:00
Saxon FletcherandCharis 78a8173698 Update apps/studio/state/advisor-state.ts
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-10-28 09:05:18 +10:00
Saxon FletcherandCharis fd7f6ddf60 Update apps/studio/components/layouts/AppLayout/AssistantButton.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-10-28 09:03:28 +10:00
Saxon Fletcher 8b76f7c6c1 connect hotkey 2025-10-28 08:57:39 +10:00
Saxon FletcherandCharis fb25a54008 Update apps/studio/components/ui/EditorPanel/EditorPanel.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-10-28 08:53:30 +10:00
Stojan Dimitrovski 83dffaeddd feat: steal the auth lock if it was not completed in 10s (#39868) 2025-10-27 18:45:21 +01:00
Stojan DimitrovskiandTerry Sutton 482e477d00 feat: rewrite auth audit logs toggle to be in the positive sense (#39846)
* feat: rewrite auth audit logs toggle to be in the positive sense

* Light edit

* Copy update

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2025-10-27 18:19:55 +01:00
Marouane Souda d3ac458aef fix(docs): change 'countries' to 'characters' to match JS example to data source (#39840) 2025-10-27 16:53:36 +00:00
Ignacio Dobronich 9fcabb5cfa chore: invalidate entitlements (#39905)
* Rebased

* Use keys
2025-10-27 13:24:36 -03:00
kemal.earth e2764f2675 fix(studio): average p95 calculation on query performance (#39725)
* fix: p95 calculation

Something seemed off so had another stab at it using resp_calls

* feat: simplified weighted avg p95

* feat: tweak it slightly

* feat: try one with a fallback

* feat: add test for percentile calculating
2025-10-27 13:07:42 +00:00
Andrey A. ab2e1e8918 fix: restrict access to mcp server in self-hosted (#39849)
* add routes for local remote mcp
* add additional plugins to kong to restrict mcp
* prohibit access to /api/mcp and /mcp by default
* add comments to warn the user about local access only
2025-10-27 13:39:30 +01:00
Alaister YoungandJoshen Lim 8855d05803 chore(studio): swap react-query to object syntax (#39842)
* chore(studio): swap react-query to object syntax

* Fix small issues found

* Fix realtime settings

* Nit

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-10-27 09:38:27 +01:00
Joshen Lim 6e2a7feee7 Break down new project page into smaller components (#39812)
* Break down new project page into smaller components

* Fix types

* Address comments

* Add min length check for project name in project settings

* Fix tests
2025-10-27 14:04:56 +08:00
Saxon Fletcher 3c58d04187 use sidebar old home 2025-10-27 15:50:25 +10:00
Saxon Fletcher 637ef24dd1 open in sidebar 2025-10-27 15:38:08 +10:00
Kevin Grüneberg 9961c3b4e9 fix: use Next Link for proper prefixing (#39891) 2025-10-27 13:35:14 +08:00
Danny White 0c65581e6c chore(studio): split auth templates into subpages (#39831)
* basic subpages

* add template descriptions

* keep tabbed navigation alive

* revert active tab

* use bespoke layout for each template

* redirect non-feature preview users away

* template page improvements

* fix docs link

* add TemplateEditor

* fix errors

* better error for missing routes

* extract slugifyTitle function to ensure consistent slugs
2025-10-27 15:52:34 +11:00
Danny White 7ab4569508 chore: Discord in command menu (#39836)
* add discord to command menu

* fix type size on input

* revert discord outline icon

* fix docs command menu

* add package

* visually align icons and text

* prettier write

* fix missing import
2025-10-27 15:51:27 +11:00
Saxon Fletcher 9252d6b91c remove use effect 2025-10-27 14:19:12 +10:00
Saxon Fletcher 1fffb5e580 remove variable 2025-10-27 14:08:34 +10:00
Saxon Fletcher cf8c6af19b event tracking 2025-10-27 13:58:18 +10:00
Danny White 85b84e04b4 chore: put focus on Discord for community help (#39888)
* single button clarity

* support policy

* troubleshooting docs

* fix telemetry bug
2025-10-27 14:23:46 +11:00
Saxon Fletcher f4046e56c5 empty state and notice 2025-10-27 12:47:31 +10:00
Saxon Fletcher 3001faccf7 advisor sidebar manager 2025-10-27 11:26:23 +10:00
Pamela Chia 928d5f49c5 fix: cmdk event naming and description (#39860) 2025-10-26 17:01:24 +08:00
Kevin Grüneberg 312259b704 chore: user v2 content count query for search (#39869)
* chore: user v2 content count query for search

Instead of using two different endpoint versions, we can rely on v2 for all cases.

* Update SearchList.tsx
2025-10-26 13:49:33 +08:00
hallidayo af48b1c34d fix: revert 39818 (#39875)
revert 39818
2025-10-25 15:34:54 -06:00
Ivan VasilovandWen Bo Xie 977b867bef fix: During project claim, disable the orgs for choosing who can't add another projects (#39398)
* If the auth id has already been used for approving the same org, ignore the error.

* Accidentally committed the wrong code while testing.

* Disable the choose org button if the org can't add more free projects.

* Hide the tooltip if the condition is met.

---------

Co-authored-by: Wen Bo Xie <wenbox323@gmail.com>
2025-10-25 14:17:19 +02:00
Kevin GrünebergandJoshen Lim 03c1cc0500 fix: confirmation modal on paid org creation (#39857)
* fix: confirmation modal org creation

The button when confirming org creation was not working as it was just returning early.

The submit handler is triggered both on initially clicking the "Create organization" button and on the confirmation button, but it always early returns if the customer has other free plan orgs with projects, so it doesn't let the customer submit the form
12:44
How to reproduce:
- Create a free plan org with an active project
- Create a new paid plan organization
- Confirmation modal appears
- Clicking the button just closes the modal and does not create the org as there is an early return in the onSubmit handler

Moved away from ConfirmationModal to an inline info instead

* Update NewOrgForm.tsx

* Nit refactor

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-10-25 17:54:45 +08:00
Sean Oliver e05981cf2c feat: add assistant variation to table quickstart experiment (2.5 of 3) (#39825)
feat: add assistant variation to table quickstart experiment

Adds ASSISTANT variant to table quickstart that opens AI assistant with
pre-populated conversation to guide users through creating their first
database table.

Changes:
- Add QuickstartVariant.ASSISTANT enum value
- Add 'Create with Assistant' card for new projects (<7 days old)
- Implement handleOpenAssistant with proper loading states and error handling
- Add pre-populated messages to guide table creation workflow

The assistant card appears only for users bucketed into the assistant
variation of the tableQuickstart experiment on new projects.
2025-10-24 12:20:38 -07:00
Sean Oliver 73e3143b0c Add type-safe event tracking utility (#39745)
Adds a clean, type-safe wrapper for telemetry event tracking that automatically injects project and organization context.

- Export TelemetryGroups type from telemetry-constants
- Add useTrack() hook with full TypeScript event validation
- Refactor project creation events to use new API
- Reduces boilerplate from ~10 lines to ~2 lines per event
2025-10-24 18:25:26 +00:00
Ben IsensteinandAli Waseem 5576b37a64 Fix #39827 (#39829)
fix: storage ui failing to authenticate uploads #39827

Co-authored-by: Ali Waseem <waseema393@gmail.com>
2025-10-24 12:08:00 -06:00
Ali WaseemandCharis 3eb8507566 Feature: Abililty to duplicate triggers from the dashboard (#39828)
* updated to support on close and duplicate

* updated formatting

* added confirmation panel for triggers

* updated form to select the correct table for defaults

* updated to support trigger intial tables selected

* updated to mark select field as dirty

* Update apps/studio/components/interfaces/Database/Triggers/TriggerSheet.tsx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* Update apps/studio/components/interfaces/Database/Triggers/TriggerSheet.tsx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* updated to remove undefined error

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-10-24 11:31:30 -06:00
Ali Waseem 0a99c0eb04 Fix: Removed default array value in case memo is broken (#39851)
Removed default array value in case memo is broken
2025-10-24 11:19:25 -06:00
Ali Waseem 31045d35fd Fix: infinite re-render on table when computing foreign keys (#39850)
fix infinite re-render on table editor
2025-10-24 10:48:59 -06:00
Andrew Valleteau 268c29cd9d feat(studio): give action shortcut for persistent branches deletion (#39786)
* feat(studio): give action shortcut for persistent branches deletion

* chore: refactor dedup trigger

* chore: no-biome
2025-10-24 18:25:16 +02:00
Jordi Enric 4c151ec01d e2e fixes (#39845)
* only require approval on forks

* update readme

* update example

* update readme
2025-10-24 16:24:55 +02:00