Commit Graph
745 Commits
Author SHA1 Message Date
hallidayo b17841ced1 feat: mobile connect tab (#22830)
* mobile connect tab

* prettier changes
2024-05-13 09:02:00 -02:30
hallidayo 74c7eb40ce fix/prisma connect missing pgbouncer param (#22762)
added pgbouncer
2024-05-13 09:08:48 +00:00
Joshen LimandAlaister Young a72220efde Custom error boundary (#25946)
* Test custom error boundary

* Test

* Test

* Add error boundary to catch full page crashes

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

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-05-13 13:24:08 +08:00
Joshen Lim 88bbe7042a Chore/update filter sort table editor to new popover (#25832)
* Update table editor FilterPopover to new popover component

* Update table editor SortPopover to new popover component

* Don't close popovers

* Address feedback
2024-05-13 12:36:51 +08:00
Joshen LimandTzeYiing d025e0f739 chore/fix studio jest tests (#25872)
* Fix tests in tests/unit, tests/components and files under tests, looking into tests/pages

* Fix tests under pages/projects root

* Fix

* Comment out broken tests that im stuck with

* Fix api-report.test

* Fix storage-report-test

* chore: fix some tests

* chore: remove logging

* Fix LogsPreviewer.test.js

* Fix most of logs-query-test

* Skip broken tests instead of false positiving them

---------

Co-authored-by: TzeYiing <ty@tzeyiing.com>
2024-05-11 12:05:25 +02:00
Alaister Young 155570bfa7 fix: allow sql language functions (#25986) 2024-05-10 09:48:49 -02:30
Terry SuttonandJoshen Lim 94ebace4bc Fix wrapper label not present (#25974)
* Fix wrapper label not present

* Fix

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-05-10 08:56:52 -02:30
Pamela Chia fe1e165bbf chore: remove services from docs (#25989)
* chore: remove services from docs

* fix: prettier
2024-05-10 18:25:59 +08:00
Alaister Young abe0d4b0e7 fix: don't use github avatars for fly users (#25983) 2024-05-10 17:32:24 +10:00
Wen Bo Xie db24eb2e90 fix: revert renaming vector to pgvector on the client (#25911)
* Revert "docs: rename vector to pgvector (#23308)"

This reverts commit c30d5f0b1f.

* Revert "docs: update vector reference to pgvector (#23305)"

This reverts commit b2bae1351c.

* Revert "Fix vector extension (#23386)"

This reverts commit 7341b30c27.

* Revert "Rename vector to pgvector on client side (#23286)"

This reverts commit b48b6e201b.

* docs: add note to pgvector docs that ext name is vector

* fix: add link to vector ext card
2024-05-09 21:19:02 -07:00
Jordi Enric d5a0759db9 Fix S3 cred form validation (#25885)
fix form validation
2024-05-09 12:12:14 +02:00
Alaister Young fa2fed63ae fix: branch query enabling condition (#25914) 2024-05-09 14:20:47 +10:00
Terry Sutton 8adf98ed96 Pass exposed schemas to lint query (#25784)
* Pass exposed schemas to lint query

* Type cleanup
2024-05-08 15:02:55 -02:30
Jonathan Summers-MuirandJordi Enric e19b3f53bf Chore/tidy s3 creds (#25871)
* chore: use standard primitives for dialog

* chore: remove gap-4 from dialogs

* chore: missing DialogSection

* update stories

* Update S3Connection.tsx

* Update S3Connection.tsx

* Update S3Connection.tsx

* Update S3Connection.tsx

* add which credential youre deleting in the dialog

---------

Co-authored-by: Jordi Enric <jordi.err@gmail.com>
2024-05-08 17:08:04 +02:00
divit 02f540b929 fix: missing space in restore confirm modal (#25865) 2024-05-08 13:26:41 +05:30
Jordi Enric 8b05a80d0c fix undefined timestamp in log explorer (#25844) 2024-05-07 15:30:19 +00:00
Pamela Chia 44610ba978 chore: remove deprecated comments (#25840) 2024-05-07 22:36:05 +08:00
Kamil Ogórek 9cb7361a25 ref: Update vercel connection toast message (#25839) 2024-05-07 13:53:35 +00:00
Kamil Ogórek b18be7e4d2 feat: Allow for configuring target envs for Vercel integration (#25782) 2024-05-07 21:19:07 +10:00
1afaae6447 Chore/reports read replicas filter (#23711)
* Scaffold for API reports

* Add support for filtering database reports by replicas

* midway adding read replica support for custom reports

* Refactor reports page to use react query and deprecate project content mobxstore

* Reports add chart labels if metric is read replica specific

* Give an easier way to remove charts from reports

* make reports layout non-blocking

* Update apps/studio/components/interfaces/Reports/Reports.tsx

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-05-07 16:44:23 +08:00
Terry SuttonandJoshen Lim 02c0d75dfb Add comboboxes to the index side panel dropdowns (#25821)
* Add comboboxes to the index side panel dropdowns

* Add loading state for create index panel select a table field

* Add placehholder for columns field in create index side panel

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-05-07 15:15:06 +08:00
Joshen LimandAlaister Young c7678d1d27 Shift filtering of enum types lenght out of react query to just the enum types page (#25826)
* Shift filtering of enum types lenght out of react query to just the enum types page

* Update apps/studio/components/interfaces/TableGridEditor/SidePanelEditor/TableEditor/TableEditor.tsx

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-05-07 13:14:11 +08:00
Joshen Lim 32301f5e40 Reinstate enable vercel connections config flag (#25747) 2024-05-06 22:28:09 +08:00
Simon HaandAlaister Young 203d9e4c1e bug: fix sign-in when returnTo=sign-in (#24893)
* bug: fix sign-in when returnTo=sign-in

- default redirect to /projects instead

* Update apps/studio/components/interfaces/SignIn/SignInForm.tsx

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-05-06 17:38:39 +10:00
Charis c31746f539 fix: add spacing for utility panel tabs (#23753) 2024-05-03 20:35:36 -04:00
F-G FernandezandCharis 8cb4c0337a docs(snippets): add bash example for third party Oauth (#22277)
* docs(snippets): add bash example for third party Oauth

* style(docs): fix prettier

* docs(snippets): fix method type for Oauth authorize

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-05-03 19:50:36 +00:00
Terry SuttonandJonathan Summers-Muir d7d90f81e8 Chore/connect font colours (#23450)
* Fix connect tab colours

* update tabs

* Update styles

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2024-05-03 16:38:27 -02:30
Inian 0359c4f561 feat: rename logs section (#23716)
users get confused between edge functions logs and we use api gateway in our docs instead of edge network
2024-05-03 13:06:04 +02:00
Joshen Lim 755d75e55d Chore/add replica filter for query performance (#23409)
* Add replica filter for query performance

* Small fix

* Add ref in dep array

* Hide database selector if read replicas is not enabled for project
2024-05-03 16:24:49 +08:00
Alaister Young b3d382c606 chore: disable branch reset while initializing (#23703)
* chore: disable branch reset while initializing

* tooltip as child

* Fix tooltip width issue
2024-05-03 17:56:03 +10:00
Charis 2f4f0adbd1 rework tabs query state to work better across both routers (#23253)
Refactor tabs so that:

- Behavior add-ons, such as query params, are HOCs in ui-patterns, to keep the basic Tabs minimal
- No dependency on next/router (this is to smooth out a separate App Router migration PR)
- No dependency on useSearchParams either (this is to preserve static generation of as much HTML content as 
  possible, for SEO purposes -- see comment about client-rendering bailout when using useSearchParams)
- Syncing behavior better localized in a hook

Minor enhancement to save tab preferences to local storage so they are remembered between sessions
2024-05-02 14:50:07 -04:00
Jordi Enric 69963598ab fix: logs explorer grid - unwonkify resize and allow bigger columns (#23650)
unwonkify resize and allow bigger columns
2024-05-02 16:09:37 +02:00
Terry Sutton 3ec218e827 Chore/reverse edit logic (#23649)
* Reverse edit in sql editor logic

* Remove button
2024-05-02 15:13:30 +02:00
Alaister Young 049d339a0a chore: mark functions failed status as unhealthy (#23626) 2024-05-02 08:12:50 +00:00
855a117f5c feat: add advanced teams / enterprise auth settings (#23418)
* feat: add advanced teams / enterprise auth settings

* tweaks + upgrade prompt

* update codegen

* Fix newline at end of file in api.d.ts

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
Co-authored-by: Alaister Young <a@alaisteryoung.com>
2024-05-02 09:23:15 +02:00
Joshen Lim 0d292c668d Contextual error toasts for deleting referenced rows (#23135)
* Contextual error toasts for deleting referenced rows

* Update message
2024-05-02 13:58:52 +08:00
Kamil Ogórek c74ba90576 ref: Use better error message for SSO provider mismatch for invites (#23438) 2024-04-30 21:17:09 +10:00
Monica Khoury bd9c919b24 Fix: account deletion org message (#23442)
Fix: account deletion message
2024-04-30 11:04:10 +00:00
Bobbie Soedirgo 7cfdb3f91d Reapply "Chore/allow disabling public schema" (#22728) (#22795)
This reverts commit 8519f2dcc4.
2024-04-30 17:58:44 +08:00
Joshen Lim 154632921f update walg chekc on read replicas page (#23283) 2024-04-30 17:49:39 +08:00
Kevin Grüneberg ac1225249f Revert "chore: switch default provider to AWS (#23435)" (#23436) 2024-04-30 08:40:11 +00:00
Ivan Vasilov 52e63f2e8d chore: Update the linter with the latest changes (#23434)
Update the linter with the latest changes.
2024-04-30 11:23:54 +03:00
Kevin Grüneberg 0677469bb0 chore: switch default provider to AWS (#23435) 2024-04-30 07:51:05 +00:00
Joshen Lim 7ad6594648 Add realtime explore button (#23404)
* Add realtime explore button

* Update icons
2024-04-29 21:57:46 +08:00
Joshen Lim 681a8372c4 Add support for logs filtering under postgres logs (#23394)
* Add support for logs filtering under postgres logs

* Update edge logs and postgres logs searching for replica

* Update button CTA
2024-04-29 21:36:03 +08:00
Terry Sutton f2fc280270 Allow loading partition tables (#23199) 2024-04-29 10:24:09 -02:30
Bobbie Soedirgo 9190bbe206 feat(studio): db-pool postgrest config (#22865)
* feat(studio): db-pool postgrest config

* chore: prettier

* chore: openapi
2024-04-29 18:31:14 +08:00
Joshen Lim 368348abfd Fix tooltip overlapped by instance node (#23396) 2024-04-29 17:20:07 +08:00
Joshen Lim ac8cdcc58c Read replicas fix not removing node from UI when replica is dropped (#23267)
* read replicas fix not removing node from UI when replica is dropped

* Update refresh durationm
2024-04-29 16:54:33 +08:00
Joshen Lim efdcc8e631 Prevent selecting replica is status is not active healthy (#23395) 2024-04-29 16:47:55 +08:00