Commit Graph
33276 Commits
Author SHA1 Message Date
Saxon Fletcher aa0d79c608 fix responsive issues 2025-10-31 15:24:47 +10:00
Saxon Fletcher 1803542339 remove files 2025-10-31 13:28:43 +10:00
Saxon Fletcher 19504b22c1 prettier 2025-10-31 12:59:29 +10:00
Saxon Fletcher 0e56b4659c Merge branch 'chore/inbox-advisor-sidebar' of https://github.com/supabase/supabase into chore/inbox-advisor-sidebar 2025-10-31 12:58:54 +10:00
Saxon Fletcher e6c9ac6f46 fix 2025-10-31 12:58:40 +10:00
Saxon FletcherandCopilot adad6dca72 Update apps/studio/state/sidebar-manager-state.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-31 12:56:26 +10:00
Saxon Fletcher 6fb14924d0 text link 2025-10-31 12:50:15 +10:00
Saxon Fletcher 57a4063a3e remove org and project filters from state 2025-10-31 12:46:11 +10:00
Saxon Fletcher 22c487a95c remove markdown 2025-10-31 12:23:28 +10:00
Saxon Fletcher 09f9800903 tests 2025-10-31 12:07:43 +10:00
Saxon Fletcher 2dd7229a21 prettier 2025-10-31 11:46:48 +10:00
Saxon Fletcher 0281579549 ts 2025-10-31 11:46:15 +10:00
Saxon Fletcher d9e2e92530 fix 2025-10-31 11:38:00 +10:00
Saxon Fletcher f7aa375cd7 layoutheader export 2025-10-31 11:25:34 +10:00
Saxon Fletcher 3597d16487 fix use effect 2025-10-31 11:23:47 +10:00
Saxon Fletcher 20b0d93428 Merge branch 'master' into chore/inbox-advisor-sidebar 2025-10-31 11:23:12 +10:00
Saxon Fletcher f3a0a00eca clean 2025-10-31 10:41:33 +10:00
Saxon Fletcher 997902049e panels 2025-10-31 10:05:57 +10:00
Charis cfa59dabc8 refactor: use @tanstack/react-virtual for virtualization (#39992)
* refactor(infinite list): use @tanstack/react-virtual for virtualization

Swapping virtualization libraries from `react-window` to
`@tanstack/react-virtual`.

Motivation: we need a completely headless library for maximum
flexibility. `react-window` injects extra DOM elements which makes it
hard to customize styling and placement on elements that are very picky
about their DOM structure, like tables.

* refactor(table editor menu): use new infinite list

* refactor(notifications): use new infinite list

* cleanup(infinite list): remove old infinite list

* refactor(storage menu): use new infinite list & remove react-window deps
2025-10-30 14:27:53 -04:00
Pedro Rodrigues c3fb31263e chore: bump @supabase/mcp-server-supabase to 0.5.8 (#40008) 2025-10-30 17:17:59 +00:00
Francesco SansalvadoreandIvan Vasilov bc22be3855 feat: OAuth 2.1 - OAuth apps (#39165)
* oAuth clients index layout

* oAuth apps crud

* is public

* add user count and client secret generation and management

* scaffold oauth server settings

* improve oauth server enablement / disablement

* show cover when oAuth server is disabled

* fix update panel update button

* add site url and authorization path settings values

* move oauth server to it's own nav item

* remove unneeded oauth server settings

* let the user disactivate oauth server even after creating oauth apps

* better delete button

* cleanup

* fix typecheck

* test endpoints

* add EnableOAuth21 feature flag

* update OAUTH_SERVER_ auth config api

* load OAUTH_SERVER_ENABLED in oauth list

* Update the api.d.ts. Remove the custom versions of supa libs.

* Add query for getTemporaryAPIKey.

* Add a hook for initializing a supabase client.

* Add hooks for oAuth Server apps.

* Regenerate pnpm-lock.yaml.

* Revert updates to the platform.d.ts. Not needed for this PR.

* Migrate all code to use the new hooks.

* Try to integrate the mutations and fix some of the sheet and dialogs.

* improve default and saving states

* fix oauth app form validation

* unify components into CreateOrUpdateOAuthAppModal

* create or update oauth app

* Update the OAuth Server page.

* Remove extra files.

* Minor various fixes.

* More fixes to the creation of oauth apps.

* Bump the libs to fix a DELETE oauth app error.

* Clean up the scope feature.

* Move the feature flag in the auth layout.

* Bunch of smaller fixes.

* Regenerate pnpm-lock.

* Revert SidePanel and CardDescription changes.

* Add confirm dialog for regenerating secret.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-10-30 17:07:07 +00:00
Joshen Lim cac225b24a Clean up barrel files part 4 (#40015)
* Clean up barrel files part 4

* nit
2025-10-31 00:30:42 +08:00
f7bb247fb0 feat: update @supabase/*-js libraries to v2.78.0 (#40012)
Co-authored-by: supabase-releaser[bot] <223506987+supabase-releaser[bot]@users.noreply.github.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-10-30 16:02:30 +00:00
Joshen Lim 75e1717a02 Remove barrel files part 02 (#39956)
* Remove barrel files part 02

* Clean up
2025-10-30 23:50:14 +08:00
Ivan VasilovandAli Waseem 391fdb877c feat: Add a note when upgrading from free to paid plan. (#37631)
Add a note when upgrading from free to paid plan.

Co-authored-by: Ali Waseem <waseema393@gmail.com>
2025-10-30 14:48:12 +00:00
Francesco Sansalvadore 22049ddd2a Update connect dialog link params (#40002)
* fix connect dialog link params in docs

* move separator next to conditional component
2025-10-30 14:41:49 +01:00
Rodrigo Mansueli 24457896dd feat: Create edge-function-shutdown-reasons-explained.mdx (#39980)
* Create edge-function-shutdown-reasons-explained.mdx

* Make reviewdog happy

* Update Rule003Spelling.toml

* prettier
2025-10-30 09:55:34 -03:00
Pedro Rodrigues a107333c8d Add Pedro Rodrigues to humans.txt (#40000) 2025-10-30 11:47:26 +00:00
Ignacio Dobronich 1f2bfb91ba chore: storage settings entitlements (#39879)
* chore: storage settings entitlements

* Clean up

* Simplified

* Types

* Format

* Simplified

* unit

* unit

* removed

* codegen

* Fixed
2025-10-30 08:22:44 -03:00
kemal.earth 085e68c618 feat(studio): log drains empty state update (#39977)
* feat: basic page layout

* feat: add logo carousel animation

* style: small tidy up of carousel animations

* chore: tighten up copy on empty state

* style: center empty state

* chore: clean up old empty state

* feat: wire up upgrade plan button

* fix: blur on first time item in carousel

* fix: exit blur

* fix: add missing asChild prop to link nested in button

* fix: add target blank to vote here link
2025-10-30 10:51:51 +00:00
ZiincandJordi Enric 5cfd10aae6 feat: self-hosted log drains (#28297)
* feat: initial log drain creation, sans rules creation.

* feat: add rules posting

* add project settings to self hosted and adapt log drains

* feat: log drains crud implementation, env var update

* feat: local log drains is working! rules provisioning refined

* fix: add filtering

* feat: finish implementing CRUD of local log drains.

* chore: formatting

* only allow navigation to log drains

* rm unnecessary checks

* rm log

* rm logs

* rm log

* fix type err

* turbofix for turboissue

---------

Co-authored-by: Jordi Enric <jordi.err@gmail.com>
2025-10-30 10:37:32 +00:00
Jean-Paul Argudo 02783c3179 Update humans.txt (#39982)
Added my name to the list ;-)
2025-10-30 10:43:13 +01:00
Peter Soderberg 5ba5acb4c7 Add Peter Soderberg to humans.txt (#39984)
enabled auto-merge, hope it works as intended
2025-10-30 10:43:03 +01:00
Ivan Vasilov 3e8baa2236 chore: Disable sending the Lock error to Sentry (#39999)
Disable sending the Lock error to Sentry.
2025-10-30 10:22:20 +01:00
Francesco Sansalvadore 3bc91b2bcc connect dialog: add shared pooler to transaction pooler (#39981)
fix shared pooler in transaction pooler + add link to docs in connect dialog
2025-10-30 10:15:18 +01:00
Andrey A. 911d646bcb docs: add a new section about mcp in self-hosted (#39952)
* docs: add a new section about mcp in self-hosted
2025-10-30 09:34:04 +01:00
Danny White 1fabe2f13a chore: weighted tweets (#39917)
* add new tweets and remove old

* randomise on sign in

* prefer higher weights

* single source of truth

* additional tweet

* clean up extraneous content
2025-10-30 18:52:14 +11:00
d10001b7a7 Advisor sidebar manager (#39889)
* 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

* editor sidebar manager

* reset results

* advisor sidebar manager

* empty state and notice

* event tracking

* remove variable

* remove use effect

* open in sidebar

* use sidebar old home

* Update apps/studio/components/ui/EditorPanel/EditorPanel.tsx

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

* connect hotkey

* Update apps/studio/components/layouts/AppLayout/AssistantButton.tsx

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

* Update apps/studio/state/advisor-state.ts

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

* Update apps/studio/state/advisor-state.ts

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

* fix

* initial prompt

* fix(inline editor button): only show keyboard shortcut if hotkey active

* cleanup(advisor panel): minor code cleanup

* fix(advisor panel): misplaced key on list

* fix(advisor panel): add error state

* fix(advisor panel): improve a11y

* fix(advisor panel): cannot find selected item

* fix

* fix

* tooltip

* link

* sidebar move up

* LayoutSidebarProvider to only sendEvent if in a project

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-10-30 17:43:02 +10:00
faf8107d69 feat(auth): add account changes notifications template schemas (#39899)
* feat(auth): add account changes notifications template schemas

* add ability to enable/disable the security templates

* layout tweaks

* misc padding and spacing

* filter out new templates for non-preview users

* Fix premature error state when loading templates page

---------

Co-authored-by: Danny White <3104761+dnywh@users.noreply.github.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-10-30 18:03:09 +11:00
95eedb927e Updates to Edge Functions dashboard code editor (#39991)
* feat: use mgmt-api's function body endpoint

* skip json files from static patterns

* set the default content for deno.json

* feat: add drag and drop file support to FileExplorerAndEditor

- Add drag and drop functionality to accept files
- Dropped files are automatically read and added to the files list
- Visual feedback with drag overlay during drag operations
- Files maintain existing data format with id, name, content, and selected state
- Last dropped file is automatically selected for editing

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* feat: add binary file handling to FileExplorerAndEditor

- Add binary file detection for common file extensions (.wasm, images, executables, etc.)
- Show "Cannot Edit Selected File" error message when trying to edit binary files
- Binary files dropped via drag-and-drop retain their original binary content
- Only show error in editor view, files remain accessible in file list
- Text files continue to work normally with full editing capabilities

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* do not ignore empty files

* exclude wasm files from static patterns

* Remove eszip parser test as dependency has been removed

* Fix TS issues

* Fix TS issues

* Fix pnpm-lock

* Fix

* Fix

* Nit

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-10-30 14:30:54 +08:00
Saxon Fletcher a0a32c2493 project/org sidebars 2025-10-30 16:15:31 +10:00
Saxon Fletcher b9f095ad15 merge inbox 2025-10-30 15:14:34 +10:00
Saxon Fletcher 08c1807992 sidebar move up 2025-10-30 13:58:47 +10:00
Saxon Fletcher a846060f82 Merge branch 'master' into chore/advisor-sidebar-manager 2025-10-30 13:14:58 +10:00
Danny White afff7f703c chore(studio): put focus on Discord in help menu (#39893)
* basics

* reorder

* layout

* assistant

* cleanup

* remove testing const

* text color

* restore sidebar manager

* remove open prop

* copy refinement
2025-10-30 14:11:54 +11:00
Saxon Fletcher b0b5a86316 Merge branch 'master' into chore/advisor-sidebar-manager 2025-10-30 08:25:54 +10:00
Ali Waseem c4920c7b8b Fix: Updated roles to managed by postgres (#39989)
updated roles to managed by postgres
2025-10-29 20:22:25 +00:00
Ali Waseem f9b2623ad8 Fix: update authorization header for database hooks for http requests (#39985)
fix: update authorization header for database hooks for http requests
2025-10-29 14:02:36 -06:00
Sean OliverandCopilot c52e8b53aa Fix table_quickstart_opened event to track control group (#39986)
* Fix table_quickstart_opened event to track control group

Previously, the control group was excluded from exposure tracking because
activeQuickstartVariant filtered out CONTROL variants. This prevented
establishing a baseline for A/B test analysis.

Changes:
- Add shouldTrackExposure variable to separate tracking from rendering logic
- Track all variants including control when conditions are met
- Add explicit type narrowing for TypeScript safety
- Update comment to document control as valid variant

The event now fires for all users in the experiment (including control)
when viewing NewTab on projects < 7 days old in table editor mode.

* Update apps/studio/components/layouts/Tabs/NewTab.tsx

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-29 13:38:45 -06:00
Andrey A.andChris Chinchilla 5ac87590ce docs: add troubleshooting to additional resource on homepage (#39458)
* docs: add troubleshooting to additional resource on homepage

* fix: not external link and add trailing comma

---------

Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>
2025-10-29 17:10:12 +00:00