Commit Graph
3910 Commits
Author SHA1 Message Date
Joshen Lim 48869ee26f Add redirect identifier to log selection if available (#26383) 2024-05-17 15:24:11 +08:00
Joshen Lim b4f5c0c16a Chore/support more granular updates via events for spinning up replica (#26378)
* Support more granular updates via events for spinning up replica

* Add duration estimates as tooltips

* Show granular error message if error happens during replica set up

* Add support for hours in duration estimates
2024-05-17 14:09:58 +08:00
Joshen Lim a25242e352 POC resolve google translate remove node problem in table editor (#26380) 2024-05-16 12:59:35 +02:00
Joshen Lim 12222ca641 Support checking API gateway logs for load balancer (#26353) 2024-05-16 13:05:14 +08:00
Joshen Lim b638f53ce0 Chore/remove optimistic rendering for spinning up replicas (#26331)
* Remove optimistic rendering when spinning up read replicas

* Fix missing edge when load balancer renders

* Tiny style fix
2024-05-16 13:04:18 +08:00
Thomas 7f61132bc2 chore: adjust copy in addon update modal for partner billing[GEN-8953] (#26306) 2024-05-16 11:40:39 +08:00
Thomas 4e111f8f4d chore: adjust copy for partner billed org when up/downgrading plan [GEN-8952] (#26361) 2024-05-16 11:26:03 +08:00
divit 45a9555c3b feat: change default region to us east (#26336) 2024-05-15 17:09:36 +05:30
Ivan Vasilov 6e0441334c fix: Make the sentry error message better (#26292)
* Make the sentry message more explanatory.

* Add intentional error for testing the sentry reports.

* Fix the intentional errors.

* Remove the buttons for testing.
2024-05-14 16:04:18 +02:00
Ivan Vasilov 6f5cabdc62 feat: Make the conversational AI in the SQL editor default (#23142)
* Remove feature preview for the conversational AI for SQL editor.

* Remove all code related to the previous implementation of editor ai.

* Update the snapshots for the ai commands.

* Remove unneeded code from the ai panel.

* Show the diff bar when debugging.

* Convert the updateEditor function into a callback.

* Simplify the debugging functionality by using react state instead of react context.

* Erase the AI disclaimer when formatting code as modification.

* Add a button to clear the chat history.
2024-05-14 15:40:42 +02:00
Joshen Lim 271734eec2 Chore/support checking replication lag in database reports (#26290)
* Init replication lag chart in database reports

* Navigate to replication lag chart via query params

* Add view replication lag CTA in map view

* Add replication lag metric to instance node view

* Prettier
2024-05-14 20:00:20 +08:00
Monica Khoury 448cf84e3d Fix: spelling error in countries quickstarts (#26296) 2024-05-14 08:40:48 -02:30
Joshen Lim 99635fbb5e Support restarting replicas (#26240)
* Support restarting replicas

* Support restarting replica through map view

* Lint

* Lint
2024-05-14 15:47:27 +08:00
Joshen Lim 3f07934905 Support checking API reports by replicas (#26238)
* Support checking API reports by replicas

* Fix API report for replica and add error handling

* Fix tests

* Add load balancer as an option for API reports
2024-05-14 14:13:33 +08:00
Oliver Rice f9db8f3482 Update lints (#26263)
update lints
2024-05-13 14:13:15 -05:00
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