Commit Graph

30424 Commits

Author SHA1 Message Date
Jonathan Summers-Muir
3cec304f1f fix: mobile issues for getLayout (#33415) 1.25.01 2025-02-07 16:55:44 +08:00
Alaister Young
f7ab150cc3 chore: remove old vercel integration (#33295)
* chore: remove old vercel integration

* remove more unused files
2025-02-07 15:49:02 +08:00
Jonathan Summers-Muir
a09ffd0104 Feat/get layout - Project pages updated to use getLayout (#33365)
* Update AppBannerWrapper.tsx

* full width header layout

* layout fixing for sign in pages

* update

* init

* Update app-state.ts

* Update ProjectLayout.tsx

* init project pages

* Update LayoutHeader.tsx

* sign in layout fixed

* Update AppBannerWrapper.tsx

* Update AppBannerWrapper.tsx

* update

* Update DefaultLayout.tsx

* Update WithSidebar.tsx

* Update ProjectLayout.tsx

* Update DefaultLayout.tsx

* layout header updatefix header

* add fragment back in

* Update ProjectLayout.tsx

* Update ProjectLayout.tsx

* Update ProjectLayout.tsx

* Update ProjectLayout.tsx

* Remove ProjectContextFromParams component (duplicate to ProjectContextProvider).

* Fix the loading state of SignInMfa page.

* Update sign-in-fly-tos.tsx

* Update ProjectLayout.tsx

* Update ProjectLayout.tsx

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-02-07 15:00:02 +08:00
Saxon Fletcher
d4e9ea0b31 Move authentication settings (#33335)
* all settings moved into the right places

* clean a few things up

* update ui for auth settings

* more updating

* rearrange settings

* Update SmtpForm.tsx

* updated styling

* add old auth page to show links

* add copy

* udpate copy

* smtp links

* auth fixes

* Smol fix

* Another smol fix

* Fix tab page menu selection

* Add missing border

* Gah one last one

* Smol improvement for redirects from settings/auth to use id

* Update apps/studio/components/layouts/AuthLayout/AuthLayout.utils.ts

Co-authored-by: Kang Ming <kang.ming1996@gmail.com>

* Update apps/studio/pages/project/[ref]/auth/mfa.tsx

Co-authored-by: Kang Ming <kang.ming1996@gmail.com>

* Update apps/studio/pages/project/[ref]/auth/mfa.tsx

Co-authored-by: Kang Ming <kang.ming1996@gmail.com>

* remove recommendation

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Kang Ming <kang.ming1996@gmail.com>
2025-02-07 14:36:11 +10:00
Saxon Fletcher
f58b594ee8 Deploy edge function from Assistant (#33293)
* add edge function knowledge

* deploy edge function mutaton

* add edge function block with deploy

* update function url

* update tools

* Update apps/studio/pages/api/ai/sql/tools.ts

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

* edge function tool fixes

* copy

* prompt changes and verify jwt

* Very minor refactors

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
2025-02-07 14:11:23 +10:00
Jordi Enric
6412071193 try to fix resize observer issue in windows (#33395)
try to fix this idk
2025-02-07 10:28:04 +08:00
Terry Sutton
5c1ae37e89 Chore/fix oauth approve screen (#33397) 2025-02-06 12:59:03 -03:30
Phil Pirozhkov
dbf64aab45 Fix the syntax of JS .select (#33392)
It doesn't support passing a list of columns as varargs, only as a comma-separated string.
2025-02-06 16:56:44 +01:00
Ivan Vasilov
070478c28a fix: Fix a bug with folders in SQL Editor (#33393)
* Handle clicking on folders.

* Small fixes.
2025-02-06 14:44:32 +01:00
Jonathan Summers-Muir
958cebbb2b feat: new item style for table editor and empty states for both editors (#33357)
* feat: new item style for table editor and empty states for both editors

* flex shrink issue

* Update SqlEditorMenuStaticLinks.tsx

* Fix the test.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-02-06 10:22:50 +01:00
Chris Gwilliams
c8413fa022 Add clarification for when to use different connection types (#33114)
clarify when to use direct vs pooler
2025-02-06 10:18:50 +02:00
Saxon Fletcher
d6245f4c08 deploy edge function mutaton (#33371)
* deploy edge function mutaton

* update url

* use openapi-fetch POST in the deploy mutation.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2025-02-06 08:08:24 +00:00
Jonathan Summers-Muir
dc9376106e Feat/header bar (#33353)
* Update AppBannerWrapper.tsx

* full width header layout

* layout fixing for sign in pages

* update

* Fix

* Add defaultSize prop to resizablePanel

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-02-06 15:46:39 +08:00
Jonathan Summers-Muir
3dd5bd8b25 Chore/mobile sheet app state (#33361)
* init

* Update app-state.ts

* Update ProjectLayout.tsx
2025-02-06 15:10:35 +08:00
Beng Eu
c2547eec4f fix: hide pnpm update message, it's confusing since the pnpm version is locked; update to pnpm 9.15.4 (#33232) 2025-02-06 14:57:01 +08:00
Joshen Lim
898fd44eca Support resetting query performance report on read replica (#33346) 2025-02-06 14:26:48 +08:00
Alaister Young
a6c8165abf chore(studio): cache favicon (#33372)
* chore(studio): cache favicon

* updates rules

* add to docs and www
2025-02-06 14:17:31 +08:00
Andrew Valleteau
3a0be853c9 chore: rework and extend database testing docs and examples (#33261)
* chore: rework and extend database testing docs and exemples
2025-02-06 13:42:59 +09:00
Tyler
b3cbbc7353 docs: Fix AI prompts page title and menu item title. (#33341)
* remove displaying heading for the AI prompts

* remove the prompt note for test

* revert the change for not displaying the heading for the menu

* Add back the title for each prompt

* allow putting frontmatter before heading

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-02-06 09:14:01 +09:00
Terry Sutton
4e12a1f5a2 Chore/autofix views (#33363)
* Autofix security status of views

* Update apps/studio/components/interfaces/TableGridEditor/ViewEntityAutofixSecurityModal.tsx

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

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2025-02-05 18:21:39 +00:00
Guilherme Souza
dd7da2187d docs: fix param name for storage python method (#33360) 2025-02-05 13:12:53 -03:00
Alaister Young
f255627391 chore(docs): static assets cdn (#33347)
* chore(docs): static assets cdn

* r2 env vars

* embed asset url directly
2025-02-05 15:58:07 +00:00
Charis
783b715a7f fix(ref docs): make unions more intuitive (#33332)
Change the description for unions to make it clearer what is happening + auto-expand them
2025-02-05 09:37:15 -05:00
Pamela Chia
ff25c9c24c chore: add tracking on side panel open (#33349) 2025-02-05 22:27:09 +08:00
Jonathan Summers-Muir
4649bf911e feat: new api keys [hidden] (#33252)
* feat: add basic api keys ui

* init JWT secrets. rough

* Update JWTSecretKeysTable.tsx

* added some info hover cards.

• found this this is probably the wrong direction
• will create a new page for next iteration.

* init new version

* add illustrations

* Update JWTSecretKeysTablev2.tsx

* chore: delete API key now works

* some style changes

* added better tables

* Update JWTSecretKeysTablev2.tsx

* add public JWT dialog

* moar

* adding sub layout in

* starts adding in a ButtonGroup

* about to make into separate components

* added quick copy to project loading screen

* build state

* basic loading

* confirm dialog and loading states

* switched for better loading experience

* moved styles of Input to InputVariants

* issue with ref type

* loading,error and rest states

* new loading states

* alt l;ayout

* add group

* updated error states for permissions

* copy button behaviour for secret keys

* delete dialog

* Update QuickKeyCopy.tsx

* fix type errors

* Update JWTSecretKeysTablev2.tsx

* update menu to hide pages

* Update SettingsMenu.utils.tsx

* Update resource-query.ts

* remove old file

* moved JWT secrets to use valtio

* Update api-keys-query.ts

* fix typecheck

* rename files

* remove JWT stuff

* revert file

* remove more JWT stuff

* Update package.json

* Update pnpm-lock.yaml

* Update ProjectLayout.tsx

* Update PublishableAPIKeys.tsx

* Update api-keys-query.ts

* refactor api-keys-query

* Update SettingsMenu.utils.tsx

* Some clean up

* more clean up and refactor

* Update APIKeyRow.tsx

* Update LayoutHeader.tsx

* resolve comments

* Update CreateSecretAPIKeyModal.tsx

* Update APIKeyRow.tsx

* Add perms check for delete API keys

* Remove console log

* Delete ConnectDialog.tsx

* use project ref

---------

Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-02-05 15:21:10 +01:00
Joshen Lim
c4f93573f5 Dont clear search when clicking on search result SQL editor (#33351) 2025-02-05 21:59:34 +08:00
Joshen Lim
d81832c549 Check for value before converting bytea to hex in ForeignKeyFormatter (#33355)
minor fix
2025-02-05 21:44:04 +08:00
Jonathan Summers-Muir
467b0de953 chore: move visible state for ongoing queries to global app state (#33354)
* chore: move visible state for ongoing queries to global app state

* removed old code

* Apply suggestions from code review
2025-02-05 20:18:13 +08:00
Jordi Enric
f956627e8d logs filters overhaul (#33323)
* logs filters overhaul

* fix clear btn

* add tests

* add missing changes to tests
2025-02-05 12:17:30 +01:00
Joshen Lim
357936f9eb Only send required data for reset password, magic link and send OTP (#33352) 2025-02-05 18:59:59 +08:00
Alaister Young
03af61cd81 fix(www): next config (#33348)
* fix(www): next.config hoisting bug

* embed url directly
2025-02-05 18:22:22 +08:00
Alaister Young
199223065c chore(www): static assets cdn (#33344)
* chore(docs/www): static assets cdn

* use vercel.json

* Ivan is the best

* revert docs changes

* remove r2 env vars from design-system
2025-02-05 18:04:41 +08:00
Joshen Lim
7c9e450c0f Optimize auth users GH avatar img fetching (#33343)
* Optimize auth users GH avatar img fetching

* update

* Add try catch
2025-02-05 17:03:08 +08:00
Joshen Lim
f64b747e24 Support bytea data type in table editor (#33312)
* Support bytea data type in table editor

* Fix rendering bytea in reference record peek

* More fixes
2025-02-05 16:49:21 +08:00
Joshen Lim
ecb71a9495 Fix download CSV and copy as markdown for JSON data (#33342) 2025-02-05 16:38:55 +08:00
Alaister Young
b62a4af619 chore: static assets cdn (#33304)
* chore: static assets cdn

* fix build command for vercel

* try a different aws setup script

* use a specific aws cli version for r2 compat

* clean up local static files

* use more env vars

* Update upload-static-assets.sh

* Update turbo.json

* Update turbo.json

* moar

* Update upload-static-assets.sh

* Update upload-static-assets.sh

* hard disable

* Update upload-static-assets.sh

* Update next.config.js

* Update upload-static-assets.sh

* add supabase assets url to image src urls

* add site name to turbo.json env vars

---------

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2025-02-05 05:50:36 +00:00
Bobbie Soedirgo
02f7e75b4d fix: use vault functions for creating/updating secrets (#33337) 2025-02-05 13:24:52 +08:00
Kevin Grüneberg
3be233f1e4 chore: adjust access control pricing + tooltips (#33298) 2025-02-05 13:16:00 +08:00
Tyler
806a8227b9 docs: Update the prompt examples to make it more Cursor friendly (#33315)
* Update the instruction to add to project

* bringing Cursor at the front, because that is the most popular one of all

* Add sample description and globs for all sample prompt within the docs

* remove the cursor rule I created by mistake

* fix typo
2025-02-05 10:16:25 +09:00
Tyler
af7d12cedb docs: Add Flutter code sample for Firebase Auth integration guide (#31087)
* docs: Add Flutter code sample for accessToken function

* docs: fix the code sample
2025-02-05 10:16:15 +09:00
Jan Tennert
95594570b0 docs: Add Kotlin broadcasting via REST and Realtime authorization docs (#33234)
* Add broadcasting via REST

* add realtime authorization docs
2025-02-05 00:44:57 +00:00
Charis
7a940d2a5d fix: default state for SqlToRest translator (#33333)
This was wrapped in an ErrorBoundary to prevent full-app crashes, but at the time, we forgot about drilling the props through, so the default state no longer shows. -_-""
2025-02-05 00:19:20 +00:00
Yudai Suzuki
f203d6cbd7 docs: update tutorial with swift (#33248) 2025-02-04 23:40:07 +00:00
Charis
83a6b6695e fix: typos + add more spelling exceptions (#33328)
Update apps/docs/content/troubleshooting/supabase--your-network-ipv4-and-ipv6-compatibility-cHe3BP.mdx
Update supa-mdx-lint/Rule003Spelling.toml
2025-02-04 15:40:54 -05:00
Charis
2d55512553 chore: activate spelling and admonitions lints for docs (#33292) 2025-02-04 13:18:31 -05:00
jose-ledesma
8112d6d1bb Update humans.txt (#33317)
Add myself to humans.txt
2025-02-04 17:26:21 +02:00
Jordi Enric
8cbff35e8d fix layout shift when toggling checkbox (#33319) 2025-02-04 15:52:57 +01:00
Kamil Ogórek
a67fcb1809 docs: Regenerate specs for all API docs references (#33265)
* docs: Regenerate specs for all API docs references

* Fix the reference docs parsing.

* Update snapshots of docs tests.

* fix(ui): hide details panel for file params

* fix(ui): fix array display when inner type is not given

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-02-04 14:57:17 +01:00
Jordi Enric
216df9b1eb fix: rename "No issues" to Healthy (#33311)
rename no issues to healthy
2025-02-04 13:03:47 +01:00
Joshen Lim
a7f872dd4e Set stale time for users infinite query on auth/users to infinite (#33308) 2025-02-04 19:53:35 +08:00