Commit Graph
13035 Commits
Author SHA1 Message Date
github-actions[bot]andphamhieu 57d668c6ce feat: update mgmt api docs (#33467)
Co-authored-by: phamhieu <689843+phamhieu@users.noreply.github.com>
2025-02-10 19:18:25 +00:00
Ivan Vasilov 35785bd4fb fix: Revert "feat: MultiSelector with creatable flag (#33375)" (#33492)
Revert "feat: MultiSelector with creatable flag (#33375)"

This reverts commit 7f4f88bf96.
2025-02-10 18:21:24 +01:00
Joshen Lim 3167c1f803 Edge function redirect if slug doesnt exist (#33479) 2025-02-10 21:59:56 +08:00
Joshen Lim 7f4f88bf96 feat: MultiSelector with creatable flag (#33375) 2025-02-10 21:05:35 +08:00
Joshen Lim 4dcd9f36c1 Render GH profile image in NavigationBar if user is GH (#33476)
* Render GH profile image in NavigationBar if user is GH

* Small refactor

* Clean up
2025-02-10 17:54:43 +08:00
Joshen Lim ceed8bf792 Fix text overlapping in PublicSchemaNotEnabledAlert (#33473)
* Fix text overlapping in PublicSchemaNotEnabledAlert

* Update

* Smol fix
2025-02-10 16:03:35 +08:00
Jonathan Summers-Muir fecb0808fc Feat/sidebar (#33474)
* add sidebar

* sidebar docs added
2025-02-10 15:50:58 +08:00
Joshen Lim ce6a432504 Remove 2dp for ms values in query performance advisor (#33472) 2025-02-10 15:36:14 +08:00
Joshen Lim 0a569b8aa7 Add product empty state to schema visualizer (#33471) 2025-02-10 15:09:27 +08:00
Saxon FletcherandLong Hoang 15841c6bf3 track source when viewing plans (#33405)
* track source when viewing plans

* remove log

* rename event

* Update apps/studio/components/interfaces/Organization/BillingSettings/Restriction.tsx

Co-authored-by: Long Hoang <1732217+loong@users.noreply.github.com>

* Update apps/studio/components/interfaces/Organization/BillingSettings/BillingBreakdown/BillingMetric.tsx

Co-authored-by: Long Hoang <1732217+loong@users.noreply.github.com>

* Update apps/studio/components/interfaces/Organization/BillingSettings/Restriction.tsx

Co-authored-by: Long Hoang <1732217+loong@users.noreply.github.com>

* Update apps/studio/components/interfaces/Organization/BillingSettings/Restriction.tsx

Co-authored-by: Long Hoang <1732217+loong@users.noreply.github.com>

* added docs for tracking

* prettier

* chore: rename origins to give more hints on where these are coming from

---------

Co-authored-by: Long Hoang <1732217+loong@users.noreply.github.com>
2025-02-10 16:45:36 +10:00
Charis 7743314541 fix: fly deprecation notice type (#33429)
Deprecation notices should have type deprecated.
2025-02-10 06:43:21 +00:00
Jonathan Summers-Muir 7de72b34f2 fix: admonition styling fix, and ui patterns tailwind import fix (#33409)
init
2025-02-10 05:14:44 +00:00
Joshen LimandJonathan Summers-Muir 257824e319 Chore/connect UI update for session pool mode (#33230)
* Add admoniton in Connect UI for transaction pooling section if pooling mode is Session

* Add callout in session pooler to use port 5432

* Update to use Panel.Notice

* Add callout to use port 5432 for session in pooling configuration settings

* Update warning when setting to txn mode from session

* Minor refactors

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2025-02-10 04:13:32 +00:00
Saxon Fletcher 470dd6e0f3 fix layout issues (#33466) 2025-02-10 13:45:32 +10:00
Joshen Lim d06e46b770 Hide org members pending invite acceptance in org audit logs users filter (#33407) 2025-02-09 11:27:18 +08:00
Joshen Lim 3b04650a4e Fix move query to new folder (#33411) 2025-02-08 19:13:27 +08:00
Ivan Vasilov 4ec8e0d289 fix: Fix the Monaco error from showing up (#33432)
Fix the Monaco error from showing up.
2025-02-08 17:49:47 +08:00
Guilherme Souza f6b146994e chore(docs): add missing python example (#33402) 2025-02-08 06:39:36 -03:00
Peter 7ba53fa546 Dashboard - replace broken links for high CPU, RAM and IO guides (#33433)
replace broken links for high CPU, RAM and IO guides to point to the new location in troubleshooting guides
2025-02-07 20:01:39 -05:00
Charis 0ef69b3198 fix(admonitions): underline links (#33369) 2025-02-07 18:28:06 -05:00
Wen Bo Xie 122a0ce9f7 docs: streamline Fly Postgres deprecation warning (#33414) 2025-02-07 15:41:55 -05:00
Jordi Enric cefb527be7 pg cron logs: fix chart query and add error condition (#32995) 2025-02-07 18:47:00 +01:00
Jonathan Summers-Muir c32baab60a fix project provider (#33423)
* fix project provider

* Update DefaultLayout.tsx

* Update DefaultLayout.tsx
2025-02-07 15:36:11 +01:00
Jordi Enric f697c86c86 feat: add keyboard support to logs table (#33391)
add keyboard support
2025-02-07 11:11:56 +01:00
Jonathan Summers-Muir 3cec304f1f fix: mobile issues for getLayout (#33415) 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-MuirandIvan Vasilov 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
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
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-MuirandIvan Vasilov 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 FletcherandIvan Vasilov 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-MuirandJoshen Lim 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
TylerandCharis Lam 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 SuttonandCharis 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
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