Commit Graph
539 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 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
Alaister Young fa2fed63ae fix: branch query enabling condition (#25914) 2024-05-09 14:20:47 +10: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
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
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
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
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
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 7341b30c27 Fix vector extension (#23386) 2024-04-29 04:03:09 +00:00
Joel Lee e86bd52556 feat: expose auth reauthentication template (#22138)
* feat: expose auth reauthentication template

* fix: alter reauthentication copy

* fix: remove unused config, update prettier

* fix: run prettier
2024-04-28 19:27:44 +08:00
Kamil Ogórek 8776db145e Revert "ref: Add sentry logging to debug vercel issue" (#23292)
Revert "ref: Add sentry logging to debug vercel issue (#23289)"

This reverts commit 8f6ea0c755.
2024-04-26 10:11:06 +00:00
Kamil Ogórek 8f6ea0c755 ref: Add sentry logging to debug vercel issue (#23289) 2024-04-26 09:04:57 +00:00
Long Hoang 82a678864e chore: update outdated network restriction note (#23266) 2024-04-26 08:15:26 +00:00
Wen Bo Xie 3f0a1bc4a5 fix: improve database connection IPv4 warning (#23284) 2024-04-26 17:57:24 +10:00
Joshen Lim b48b6e201b Rename vector to pgvector on client side (#23286) 2024-04-26 13:00:30 +07:00
Joshen Lim c304ce537f Add db inspect docs link (#23268)
* Add db inspect docs link

* Update
2024-04-26 12:52:44 +07:00
Ivan Vasilov 09c397f331 fix: Parse the function args properly when editing a DB function (#22877)
* Fix the header when editing a function.

* Parse the arguments properly.
2024-04-25 14:25:48 +02:00
Kang Ming 9963c81a26 Km/update copy (#23264)
* chore: update copy on signup and reset password links

* fix: add config for updating otp length
2024-04-25 17:48:55 +08:00
CharisandJoshen Lim 8455b48ed8 enhance(sql editor): set result column width roughly based on contents (#23235)
* enhance(sql editor): set result column width roughly based on contents

* Small fix

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-04-25 13:40:56 +07:00
Joshen Lim ae046a12f8 Update CTA for manual disk size increase beyond limit (#23255)
* Update CTA for manual disk size increase beyond limit

* Remove unused imports

* Add error handler for sql editor

* Fix clicking supabase icon button in project not closing the nav bar when entering into another project from the home page

* Update copy
2024-04-25 13:21:46 +07:00