Commit Graph
11930 Commits
Author SHA1 Message Date
Ivan Vasilov 79dbfd1ccc fix: Add sourcemaps and error stacks in Sentry errors (#26474)
* Use Sentry Error boundary.

* Add a button for throwing error to test the sentry error boundary.

* trigger an error during rendering.

* Move the throwing of error.

* Fix the error boundary state.

* Try to throw an error from the project list.

* Revert to using react error boundary.

* Minor fixes.

* Add an example page for throwing an exception to be caught by Sentry. Remove the error filter from the Sentry client config.

* Remove config for allowing errors only from our code.

* When capturing an exception with Sentry, add a tag if the exception is in the boundary.

* Minor fixes.

* Remove testing code.

* Move forgotten code.

* Add a function for anonymized user id.

* Set the sentry user id by anonymizing the actual user id.

* Don't send Sentry reports if the user hasn't consented to the telemetry.

* Add a helper function whether the studio can send telemetry data.

* Reuse the helper function in the _app file.
2024-05-22 10:35:15 +00:00
Pamela Chia ea40c7c99f chore: fix sentry policy (#26616) 2024-05-22 11:31:17 +02:00
Jordi Enric a9aa3acf72 Sentry: capture message on support form err (#26656)
capture message on support form err
2024-05-22 10:05:18 +02:00
Thibault CHAUSSONandCharis f5324af575 📝 Update pg_cron documentation with examples for calling function (#26186)
📝  Update pg_cron documentation with examples for calling database functions and stored procedures

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-05-22 02:08:52 +00:00
Andreas EliaandCharis 4a2a68bab3 Fix "Options" component border radius transition and padding (#26332)
fix options border radius transition and padding

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-05-22 02:06:04 +00:00
Tim McEwanandCharis d230f6efed Correct minor typo in Logs.constants.ts (#26475)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-05-22 01:02:31 +00:00
Nicholas MoschopoulosandCharis cc845f07b9 Update custom-domains.mdx (#26582)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-05-22 00:38:34 +00:00
H0onnnandCharis 3a8369d899 Docs Add Supabase project initialization step (#26594)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-05-22 00:33:50 +00:00
Tyler FontaineandAlaister Young c97ddaafe3 Update index_advisor.mdx (#26511)
* Update index_advisor.mdx

Fix universal dashboard link to query-performance

* escape underscores

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2024-05-22 00:04:37 +00:00
grumpy-minerandCharis 5da928a0a1 Update auth.mdx - update fetching the user code example (#26614)
Update auth.mdx

Add constant authHeader in code example of Fetching the user

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-05-21 23:33:44 +00:00
hallidayoandCharis e606e1e5ca docs: metadata changes (#26626)
metadata changes

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-05-21 23:29:06 +00:00
Greg Richardson dce497c650 chore: upgrade libpg-query (#26618) 2024-05-21 13:30:06 -06:00
Joshen Lim 3558dc0c61 Fix security advisor check on OTP length (#26604) 2024-05-21 14:52:58 -02:30
Greg Richardson b173ca0404 Docs: fix column name in match_documents example (#26494) 2024-05-21 08:34:09 -06:00
Joshen Lim 3654f8e74b Resolve query of undefined error in query-performance page (#26600)
* Resolve query of undefined error in query-performance page

* smol update

* Lint
2024-05-21 17:59:51 +08:00
Joshen Lim 82a0ad93c8 Fix ref issue on AlertError component (#26602) 2024-05-21 17:42:34 +08:00
Hieu d48948ba10 fix: RefSectionHandler to support mgmt-api/api sections (#26601) 2024-05-21 11:29:31 +02:00
Joshen LimandIvan Vasilov bb6349f34f Second round of wrapping RQ errors with handleError (#26428)
* First round of wrapping RQ errors with handleError

* Remove the throw before the handleError usage.

* Make the handling of an API error more versatile. Add logging in Sentry if the error is of unknown type.

* Remove throwing of the handleError function.

* Add return type to the handleError function to be never so that we're sure it always throws.

* Second round of wrapping RQ errors with handleError

* Temp fix in delete credential mutation, and fix loading state

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-05-21 15:51:11 +08:00
HieuandCharis c5a88a9fc4 feat: render mgmt api body params (#26319)
* feat: render body parameters

* feat: api parameters render

* fix: update mgmt api spec to latest

* fix: body param format and support content type selection

* fix: prettier errors

* fix: use Options to render accepted enum values

* fix: prettier again

* fix: merge conflict

* fix: expose new api routes

* fix: prettier again

* refactor: ApiBodyParam

* fix: add missing apis

* chore: tidy up

* feat: improve api response with sample + schema tabs

* fix: support show/hide object param schema

* fix: show no content text

* refactor: use collapsible for hidden content

* Update apps/docs/components/reference/ApiOperationSection.tsx

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

* Update apps/docs/components/ApiSchemaOption.tsx

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

* fix: resolve comments

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2024-05-21 13:30:34 +07:00
Joshen LimandAlaister Young 429f3d2851 Error boundary handle removeChild error (#26580)
* Error boundary handle removeChild error

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

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

* Lint

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-05-21 10:55:35 +08:00
Charel Felten 987df83904 Change Role Level Security to Row Level Security in users.mdx (#26589)
Fix mistake in users.mdx

Generally I dont like fixing spelling mistakes in repos, but this one specifically is bothering me as I am already slightly confused by Row Level Security, in particular when to use the Postgres roles, and when to use application roles (like making a `profile` table where each profile has a `role` column). This is a mistake, or not?
2024-05-20 20:01:53 +00:00
Guilherme Souza cdd04e5fe5 chore(docs): add linkIdentity and drop .database from swift docs (#26439)
* chore(docs): drop .database from swift examples

* chore(docs): add linkIdentity method to swift docs
2024-05-20 10:51:39 -03:00
Pamela Chia b1bda77a2c fix: access control doc redirect (#26534) 2024-05-20 23:04:46 +10:00
Terry Sutton f6fa953d69 Chore/fix cardbutton (#26496)
Fix cardbutton overlapping
2024-05-20 09:42:27 -02:30
Peter 4cdf4e0f77 Add self to humans.txt (#26563) 2024-05-20 15:02:08 +10:00
Peter 025932143d Docs: Fix CLI Login hyperlink for various doc pages (#26548)
Fix CLI log in hyperlink for various doc pages
2024-05-19 11:58:15 +08:00
Terry Sutton aa02bd2188 Chore/sentry fixes (#26402)
* Add a key

* Make full page crashes errors

* Add a span around form label
2024-05-17 08:28:14 -02:30
Joshen Lim 91c6026784 resolve find of undefined in api (#26382)
* resolve find of undefined in api

* Fix
2024-05-17 17:56:25 +08:00
Joshen Lim 80d748facb Disable restart button if replica is not active healthy (#26429)
* Disable restart button if replica is not active healthy

* Prettier
2024-05-17 17:38:19 +08:00
Joshen Lim 434d7ea74d Fix maximum call stack error in SQL editor (#26434) 2024-05-17 17:31:40 +08:00
Joshen LimandIvan Vasilov 163263c3c5 First round of wrapping RQ errors with handleError (#26384)
* First round of wrapping RQ errors with handleError

* Remove the throw before the handleError usage.

* Make the handling of an API error more versatile. Add logging in Sentry if the error is of unknown type.

* Remove throwing of the handleError function.

* Add return type to the handleError function to be never so that we're sure it always throws.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-05-17 16:30:55 +08:00
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
Thor 雷神 Schaeff b0dd85d2a2 chore: update example dependencies. (#26381)
* chore: update example dependencies.

* chore: bump expo.
2024-05-17 13:39:31 +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
Greg Richardson af8e203b9f Blog: Update status of pgvector v0.7.0 on platform (#26360)
blog: update status of pgvector v0.7.0 on platform
2024-05-15 15:34:39 -06: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
Peteranddshukertjr e167ecb804 Fix linting warnings in Flutter User Management Starter tutorial (#25090)
* Update User Management Starter Flutter to fix linting warnings

* bring Supabase instance up

---------

Co-authored-by: dshukertjr <dshukertjr@gmail.com>
2024-05-13 20:49:53 -05:00
Oliver Rice f9db8f3482 Update lints (#26263)
update lints
2024-05-13 14:13:15 -05:00
kita_yuandCharis c9467f592c Update implicit-flow.mdx(fix the pkce-flow"s path) (#26063)
Update implicit-flow.mdx

fixed the PKCE-flow's path

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-05-13 19:00:59 +00:00