Commit Graph
2937 Commits
Author SHA1 Message Date
Thomas b2e9a6e21f chore: Mention Fly.io explicitly on plan upgrade page (#20274)
chore: Mention Fly.io explicitly on plan upgrade page [GEN-7430]
2024-01-09 17:16:51 +01:00
Ivan Vasilov 3b00e33de7 fix: Use the profile id when checking if the snippet is by the current user (#20166)
Use the profile id when checking if the snippet is by the current user.
2024-01-09 10:43:50 -03:30
Jordi Enric 3ee9e8fb28 Chore/update tailwind 3.4.1 (#20268)
* upgrade tailwind

* add package-lock

* upgrade in ui and config packages
2024-01-09 14:50:13 +01:00
Joshen Lim 5a8864e411 Truncate org and project name in notifications v2 if too long (#20259) 2024-01-09 16:12:01 +08:00
Austin Tran f8eda80924 fix: prevent crashing when attempting to enable wrappers (#20237) 2024-01-08 11:38:52 -03:30
Jordi Enric 5efbad3b9c fix: hide audit logs filter unless it's Team Plan (#20187)
move audit log filters to success state
2024-01-08 10:46:12 +01:00
1fb755bfc7 chore: use data/fetchers and API spec (#20196)
* chore: use data/fetchers and API spec

* Remove unused imports

---------

Co-authored-by: Thomas Eckl <31189692+ecktoteckto@users.noreply.github.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-01-08 14:39:32 +08:00
Kamil Ogórek bcc99b0cb5 ref: Use separate endpoint for retrieving single Vercel project (#19836)
ref: Use separate endpoint for retrieving single vercel project
2024-01-08 13:59:29 +08:00
ClarenceandAlaister Young 432de2fc69 chore: clean up on empty className attributes (#20203)
clean up on empty className attrib

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-01-08 05:49:28 +00:00
Gulfaraz RahmanandAlaister Young 7f1c6a04c2 fix(self-hosted): do not ignore additional config in create storage bucket request (#20213)
fix: do not ignore additional config in create storage bucket request

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-01-08 05:32:41 +00:00
Joshen Lim 34a2ccdae3 feat/notifications v2 (#19162)
* Midway implementation notifications v2

* Some updates to Tab component

* Midway implementation notifications v2 again

* implement infinite scrolling and loading for notification sv2

* Add button actions

* Implement archive notifications

* Add filter dropdown for notifications

* Update date format

* Small style fix

* Update

* Update API codegen

* Add empt state

* Add empty state for archived notifications

* Fix type

* Final changes to notifications v2

* Small style fix

* Small fix

* Only mark notifications that come into view as read

* Update package lock
2024-01-08 12:52:48 +08:00
Lakshan Perera 661d8c0668 chore: do not feature flag usage metrics for edge functions (#20226) 2024-01-08 11:33:54 +08:00
Kevin Grüneberg 3ed74babb9 chore: require spend cap to be disabled when scaling disk (#20189) 2024-01-05 12:59:08 +01:00
Austin Tran 511ad5b675 fix: sort policies alphabetically (#20163) 2024-01-05 19:33:18 +11:00
Terry SuttonandKamil Ogórek e83ab44d12 Chore/GitHub gist sentry (#20138)
* Filter out errors related to github gist parse errors

* Update apps/studio/sentry.client.config.ts

Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com>

---------

Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com>
2024-01-04 19:05:37 -03:30
Prajwal PatilandJordi Enric 4a05713bf6 Fix layout shift caused by scrollbar (#20164)
Co-authored-by: Jordi Enric <37541088+jordienr@users.noreply.github.com>
2024-01-04 18:20:02 +00:00
Kevin Grüneberg d12332ea5a chore: xmas cleanup (#19938) 2024-01-04 17:27:49 +01:00
Jordi Enric eb73abd56d Fix Navbar unusable in smaller res screens (#20154)
fix overflow in navbar
2024-01-04 09:48:09 -03:30
Alaister Young db8b1c5c95 fix: update vercel integration links (#20146) 2024-01-04 23:50:21 +11:00
Ivan VasilovandJoshen Lim 693294ec85 chore: Migrate VaultStore (#20020)
* Move listEncryptedColumns method to a function.

* Remove encryptColumn method since it's unused.

* Add CRUD RQ queries/mutations for vault secrets.

* Use the new queries/mutations.

* Add RQ for secret/decrypted values of secrets.

* Add RQ queries/mutations for pg-sodium keys.

* Use the new hook for decrypted value.

* Use the new hooks for pg sodium keys.

* Remove unneeded code from the vault store.

* Delete VaultStore and all usages of it.

* Small style fix

* Fix invalidation for create, update, delete secrets

* Small UI fixes to EditSecretModal

* Fix invalidation for pg-sodium-keys rq

* Add default error handler for pg sodium keys rq

* Undo

* Add default error handler for vault secrets RQ

* Remove observer on vault pages

* Fix database wrappers with vault

* Add loading state for vault keys

* fix pg sodium keys invalidation

* Opt for immutable const declaration in SecretsManagement

* remove keyId and keyName context from ColumnEditor, no longer supports TLE

* Address PR comments

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-01-04 15:15:45 +07:00
Kamil Ogórek 8e2dd4cdfc Cleanup sentry filters (#20127)
* ref: Remove stale Sentry event filters

* ref: Enable non-error objects to be captured by Sentry

* ref: Capture Sentry events originating from our own code only
2024-01-04 11:09:43 +07:00
Jordi Enric 15463a5a4b fix vertical alignment of dates in area chart (#20133) 2024-01-03 16:01:56 +00:00
Ivan Vasilov 758c4572d1 fix: Fix the drag resizing in the GraphiQL (#20130)
* Set a min width for the left panel so that it doesn't get squished when the documentation panel is expanded.

* When the doc panel is closed via dragging, disable the plugin icon.
2024-01-03 16:24:41 +01:00
Joshen Lim 96d296d79b Add validations whenever using new URL (#20124)
* Add validations whenever using new URL

* Update based on feedback
2024-01-03 14:53:40 +07:00
Wen Bo Xie 4339179104 fix: update compute upgrade unavailable warning language (#20121) 2024-01-03 04:15:03 +00:00
a83a5c615c Chore/update shared snippet warning (#17814)
* Adjust shared snippet language in modal

* Add read-only badge if current user doesnt own snippet

* Check for snippet

* Reverse logic

* Update

* Move read only to indicator

* Cleanup

* Check owner permissions

---------

Co-authored-by: Ant Wilson <awalias@users.noreply.github.com>
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2024-01-02 11:47:48 -03:30
Clarence 41b0b9571e fix: update comment typo Integration --> Integration (#20105) 2024-01-02 14:25:29 +00:00
Ivan Vasilov c867205b20 chore: Migrate ViewsStore (#19975)
* Move useEncryptedColumns hook and use it in the TableGridEditor.

* Convert the viewsQuery to use data/fetchers. It also handles invalidation of schemas.

* Invalidate the view when deleting a column or a table.

* Use the new query function in VaultStore.

* Remove the viewStore.

* Fix two more edge cases. Add comments for it.
2024-01-02 12:52:06 +01:00
Stojan Dimitrovski ebb28813ca feat: remove sentry sign in events (#20084) 2024-01-02 09:22:57 +01:00
Joshen Lim 32c0205288 Fix view policies from table editor (#20100) 2024-01-02 14:55:31 +07:00
Austin TranandAlaister Young 654e19711a fix: unable to delete enumerated type from dashboard (#20023)
Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-01-02 18:49:16 +11:00
Alaister YoungandJoshen Lim e9c1966ab5 chore: improve auth screens loading (#19940)
* chore: improve auth screens loading

* Update apps/studio/components/interfaces/Auth/Users/UsersList.tsx

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>

* handle error

* better pagination for users list

* disgusting boolean logic

* return user to previous page after deleting last user

* only show reloading indicator when it's refetching

* fix date formatting

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-01-02 05:13:33 +00:00
Paul Cioanca 8e4a094f26 Revert "Chore: change EU aws region name" (#20050)
Revert "Chore: change EU aws region name (#20044)"

This reverts commit e51fdbdba7.
2023-12-28 20:22:38 +00:00
Monica Khoury e51fdbdba7 Chore: change EU aws region name (#20044)
* Chore: change EU aws region name

* Prettier

* Prettier
2023-12-28 16:31:41 +01:00
Monica Khoury f36b2f706c Add: new regex for custom scheme URLs (#19948)
* Add: new regex for custom scheme URLs

* Prettier

* Prettier
2023-12-28 11:01:22 +01:00
Ivan Vasilov fdfdb5282b chore: Remove released feature flags (#19917)
* Remove roleImpersonation flag.

* Remove realtimeDashboard.

* Fix forgotten uses of the role impersonation flag.
2023-12-26 10:35:20 +01:00
Ivan Vasilov 7073c51baa fix: Enable the Node polyfills flag (#19965)
Enable the fallback node polyfills flag
2023-12-22 12:19:21 +01:00
Pamela Chia 90f17f52eb chore: add additional detail below legal docs (#19947) 2023-12-22 12:07:12 +08:00
Terry SuttonandIvan Vasilov c37fa950ea Chore/rewrite roles form with shadcn (#19923)
* Fix new role form

* Rewrite form

* Commit a sin against ts

* Make the afterLabel a ReactNode.

* Fix minor type issues.

* Fix type

* Types

* Use lodash sortBy instead of the mutating array.sort.

* Fix the order of the roles with active connections.

* Sort the roles by lowercased names.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2023-12-21 23:45:47 +01:00
Terry SuttonandIvan Vasilov c685d654b6 Feat/sortby on tables (#19841)
* Sort by name

* Not name

* Fix

* Migrate the table query to use the new fetchers.

* Cleanup

* Cleanup

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2023-12-21 15:53:38 -03:30
Joel Leeandjoel@joellee.org d9e061c36e feat: fix indentation on hook SQL template snippets (#19900)
* feat: fix indentation on hook snippets

* feat: run prettier

---------

Co-authored-by: joel@joellee.org <joel@joellee.org>
2023-12-21 23:33:49 +08:00
Kevin Grüneberg 9a1bd73339 chore: stop polyfilling node modules (#19909) 2023-12-21 11:31:32 +01:00
Francesco Sansalvadore 8da4fd2f18 chore: Migrate Lottie animation (#19922) 2023-12-21 08:45:26 +01:00
Joshen Lim c69c7ac6e3 Disable pause project button for projects on paid plan (#19936) 2023-12-21 14:14:53 +07:00
Joshen Lim 6f78b4fc2e Fix Listbox not re rendering properly (#19933)
* Fix Listbox not re rendering properly

* Remove console log

* Fix listbox not re rendering properly
2023-12-21 12:38:28 +07:00
Terry Sutton 22d7d1139f Fix new role form (#19921) 2023-12-20 16:46:19 -03:30
Kevin Grüneberg 542d984b3e chore: reduce main bundle size (#19918) 2023-12-20 17:49:15 +01:00
Kevin Grüneberg 23e095580c chore: bump octokit (#19912) 2023-12-20 16:32:36 +01:00
Austin Tran a637a73847 chore: fixed issue when delete sorted column cause crash on table editor (#19178)
* chore: fixed issue when delete sorted column cause crash on table editor

* chore: fixed issue on typecheck

* chore: better way to check and handle error

* chore: reduce nested error in error response

* chore: revert checking error in error response

* chore: solved conflict
2023-12-20 14:35:23 +00:00
Joshen Lim f8d30a35c0 Fix policy count in table editor header (#19903) 2023-12-20 11:09:31 +00:00