Terry Sutton
6fa71c6c8e
Chore/allow index advisor for postgrest queries ( #27364 )
...
* Run index advisor on postgrest queries
* Fix loading state
2024-06-20 17:47:30 +03:00
Kamil Ogórek
18e4f72b1d
ref: Do not disable branching when removing GitHub connection ( #27412 )
2024-06-20 20:43:40 +08:00
Terry Sutton and Joshen Lim
d6f9cb53f9
Set the primary key as the default sort if no other sort exists ( #27097 )
...
* Set the primary key as the default sort if no other sort exists
* Rename
* Add contextual toast messages when trying to update/delete row on table with no PKs
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2024-06-19 14:58:48 +08:00
Kevin Grüneberg
f541107196
chore: use new tax id endpoints ( #27246 )
...
Adapts the tax id view to the new MGMT-API endpoints. Users can now only manage a single tax id instead of adding multiple.
Besides
- Use non-deprecated fetchers
- Use Shadcn components
2024-06-19 12:19:20 +08:00
Terry Sutton
cae67a747a
Chore/add dupe table button ( #27359 )
...
Add duplicate table button
2024-06-18 21:40:04 +03:00
Monica Khoury and Terry Sutton
c3af755d29
Chore: preserve whitespace in SQL Editor result table ( #27324 )
...
* Chore: preserve whitespace in result
* Update apps/studio/components/interfaces/SQLEditor/UtilityPanel/Results.tsx
* Update apps/studio/components/interfaces/SQLEditor/UtilityPanel/Results.tsx
---------
Co-authored-by: Terry Sutton <saltcod@gmail.com >
2024-06-18 12:38:20 -02:30
Terry Sutton
45998fd31a
Chore/fix limit in sql query ( #27179 )
...
* Dont append limit on fetch first queries
* Add some tests
2024-06-18 20:46:00 +08:00
Terry Sutton
6b869dc9bc
Case insensitive search ( #27337 )
2024-06-18 17:49:51 +08:00
Kevin Grüneberg
e559600d76
chore: handle invoice issued status and adjust pay now link ( #27233 )
2024-06-13 15:39:20 +08:00
Ivan Vasilov and Alaister Young
3c6c3db48f
fix: Make the copy in the Create User modal clearer ( #27205 )
...
* Separate the message because it's not connected to the checkbox.
* Fix obsolete fields.
* Update apps/studio/components/interfaces/Auth/Users/CreateUserModal.tsx
Co-authored-by: Alaister Young <alaister@users.noreply.github.com >
---------
Co-authored-by: Alaister Young <alaister@users.noreply.github.com >
2024-06-12 13:18:33 +00:00
Terry Sutton
950370b0df
New link for interpreting disk io ( #27190 )
2024-06-11 17:07:37 -02:30
Mankirat Singh
59b7eed1df
Fix template overflow ( #27156 )
2024-06-11 09:24:42 -02:30
Jānis Ruduks and Charis
e8ca554bee
fix: .env variable typo ( #22884 )
...
typo fix
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
2024-06-11 05:18:03 +00:00
Joel Lee
7547c52e4f
fix: revoke role on public for hooks ( #27077 )
...
* fix: revoke role on public for hooks
* fix: update SQL editor queries
* fix: update examples
* fix: update RBAC doc
* fix: update description to describe why we revoke public
* fix: correct use of we
* fix: run prettier
* fix: remove unintentionally added files
2024-06-07 22:03:12 +02:00
Ivan Vasilov
5847ad54cf
fix: Test the playwright tests in Github actions ( #26799 )
...
* Add an API page for run-lints endpoint.
* Fix the playwright test.
* Make the check mandatory in the github action.
* Fix a console.log.
* Use a more stable way of waiting for buttons before clicking them.
* Add helper method for dismissing toasts.
* Wait for the other toast.
* Try and fix the flakiness of the toasts.
* Minor fix.
* Upload artifacts at the end of the github action run.
* Fix yaml stuff.
* Use the newer action for uploading. Shorten the retention period to 7 days.
* Add waitForResponse for the entity types API call.
* snapshot.
* Wait for the page to be loaded.
* Make the timeout bigger when waiting for response.
* Try to fix the timeouts.
* Minor restructuring of the test.
* Add another test and few minor todo tests.
* Fix the table names.
* Don't render hcaptcha in test mode.
* Expand the test to include sorting and filtering.
* Add a test for checking if the other schemas are can be listed.
* Make the sort popover button more stable.
* Fix a unused forward ref in the NavMenuItem component.
* Don't render the Toaster container when in test mode.
* Simplify starting the dev server when testing.
* Fix all inputs to have proper test ids.
* Fix the command for testing.
2024-06-07 17:44:28 +02:00
Alaister Young and Ivan Vasilov
a82bf1311d
chore: branches tabs use url state ( #27085 )
...
* chore: branches tabs use url state
* break out tab type
* Add extra type niceness.
---------
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com >
2024-06-07 22:13:06 +08:00
Monica Khoury and Terry Sutton
538b59b698
Feat: Populate docs search on support form subject field ( #23667 )
...
* Draft: Docs Search
* Add: Command_Shadcn_
* Fix: typecheck error
* Fix: typecheck null error
* Fix: docs search when the subject field is emptied
* Make the design more compact and show only 5 results
* Add inset around results
* Fix inset
* Fix conflict errors
* Fix hover effect
* replace commands with links
* Fix broken links
* Nudges
---------
Co-authored-by: Terry Sutton <saltcod@gmail.com >
2024-06-07 10:16:01 -02:30
Ivan Vasilov
cc47815af9
fix: Show the notice only on local/staging ( #27089 )
...
Show the notice only on local/staging.
2024-06-07 17:40:18 +07:00
Alaister Young
e169e47171
fix: create preview branch modal ( #27083 )
...
* fix: create preview branch modal
* remove console.log
2024-06-07 08:26:08 +00:00
Joshen Lim
e89c66fafd
Add note for project creation region selection for local/staging ( #27082 )
2024-06-07 15:01:10 +07:00
Kevin Grüneberg
6f708d3f62
chore: adapt to new v2 customer update endpoint ( #27081 )
2024-06-07 15:40:06 +08:00
Joshen Lim
72fd5f5121
More whitelisting non critical errors ( #27057 )
...
* More whitelisting non critical errors
* 2 more whitelist errors
2024-06-07 13:51:20 +07:00
Jonathan Summers-Muir
4b1780b764
[Dashboard] fix: dialog branching, add block ( #27064 )
...
* fix: dialog branching
* TS fixes
2024-06-06 16:23:36 +02:00
Jonathan Summers-Muir and Joshen Lim
330ae6e407
[Dashboard] Chore/refactor new project form ( #26997 )
...
* init layouts in project settings
* Update general.tsx
* update gap
* Update Scaffold.tsx
* Update PostgrestConfig.tsx
* Update PostgrestConfig.tsx
* spacing issues
* now added a enabled switch
* Revert "now added a enabled switch"
This reverts commit f22050302a .
* Update PostgrestConfig.tsx
* Update PostgrestConfig.tsx
* revert
* Update project-postgrest-config-update-mutation.ts
* add bottom padding
* init changes
* Update PostgrestConfig.tsx
* Update [slug].tsx
* Update PostgrestConfig.tsx
* fix
* Update PostgrestConfig.tsx
* Update PostgrestConfig.tsx
* Update PostgrestConfig.tsx
* Pull updates, resolve conflicts
* remove staging/local specific logic.
• stopped provider Select from flashing
•
* Update [slug].tsx
* split up region query
* Update [slug].tsx
* Update [slug].tsx
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2024-06-06 19:32:10 +08:00
Joshen Lim
fcbf4f8f06
White list some non critical auth errors ( #27049 )
2024-06-06 12:45:42 +07:00
Kevin Grüneberg
53bc34fa9e
chore: adjust project transfer texts ( #27048 )
2024-06-06 13:40:39 +08:00
Joshen Lim
3a9e99f30e
Add sentry alerts for critical points of failures ( #27029 )
...
* Add sentry alerts for critical points of failures
* Prettier
2024-06-06 11:07:34 +07:00
Terry Sutton and Ivan Vasilov
91c8e6538d
Chore/hide infrainfo on fly ( #27035 )
...
* Hide InfraInfo component on fly projects
* Show loading screen on the read replicas widget until the project details come in.
* Revert "Show loading screen on the read replicas widget until the project details come in."
This reverts commit 79611f4b57 .
* Fix the flash on read replicas on Fly deploys.
---------
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com >
2024-06-05 19:14:36 +00:00
Jonathan Summers-Muir
972773ca87
[Dashboard] Chore: update Modal component to use new components ( #26844 )
...
* init
* add more examples
* update modal
* update modals
* more modals updated
* update modal
* Update NewAccessTokenButton.tsx
* Update NewAccessTokenButton.tsx
* fix: issue with scale on dialog opening. chore: added bg-dialog color
* fix modals
* add deprecation notices
* revert bg
* revert
* Update Modal.tsx
* Update PITRSelection.tsx
* update dialog docs
* fix: issue with payment method modal
* update terminal instructions
* update padding defaults
2024-06-05 10:06:55 +00:00
Joshen Lim
21890675e5
Chore/sentry fixes 050624 ( #27025 )
...
* Add check before generating nodes in settings infrastructure
* Fix conditional in ResourceContent and add some typing
* Wrap checkIfPrivate with try catch
* Add ? in TableEditor.utils generateTableFieldsFromPostgresTable
* More typing
* Add ternary in RPC
* Remove mobx from API docs v1
* Fix renaming folder in storage explorer
2024-06-05 16:32:24 +07:00
Alaister Young
0a4295e119
chore: remove custom domain activation warning ( #27023 )
...
* chore: remove custom domain activation warning
* update language
2024-06-05 14:17:58 +08:00
Kevin Grüneberg
56c9b5e651
chore: adapt to new payment endpoints ( #26990 )
2024-06-04 21:13:11 +08:00
Alaister Young
99af0e4483
Revert "[Dashboard] New project form now using react-hook-form" ( #26995 )
...
Revert "[Dashboard] New project form now using react-hook-form (#26808 )"
This reverts commit 2dc2178dcc .
2024-06-04 13:09:43 +00:00
Jonathan Summers-Muir and Joshen Lim
2dc2178dcc
[Dashboard] New project form now using react-hook-form ( #26808 )
...
* init layouts in project settings
* Update general.tsx
* update gap
* Update Scaffold.tsx
* Update PostgrestConfig.tsx
* Update PostgrestConfig.tsx
* spacing issues
* now added a enabled switch
* Revert "now added a enabled switch"
This reverts commit f22050302a .
* Update PostgrestConfig.tsx
* Update PostgrestConfig.tsx
* revert
* Update project-postgrest-config-update-mutation.ts
* add bottom padding
* init changes
* Update PostgrestConfig.tsx
* Update [slug].tsx
* Update PostgrestConfig.tsx
* fix
* Update PostgrestConfig.tsx
* Update PostgrestConfig.tsx
* Update PostgrestConfig.tsx
* Pull updates, resolve conflicts
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2024-06-04 17:41:38 +07:00
Jonathan Summers-Muir and Joshen Lim
79c5bb9788
[Dashboard] Data API on/off switch ( #26796 )
...
* init layouts in project settings
* Update general.tsx
* update gap
* Update Scaffold.tsx
* Update PostgrestConfig.tsx
* Update PostgrestConfig.tsx
* spacing issues
* now added a enabled switch
* Revert "now added a enabled switch"
This reverts commit f22050302a .
* Update PostgrestConfig.tsx
* Update PostgrestConfig.tsx
* revert
* Update project-postgrest-config-update-mutation.ts
* add bottom padding
* Update PostgrestConfig.tsx
* Update PostgrestConfig.tsx
* fix
* Update PostgrestConfig.tsx
* Update PostgrestConfig.tsx
* Update PostgrestConfig.tsx
* Update PostgrestConfig.tsx
* Update PostgrestConfig.tsx
* add collapible
* update FormPanel component to be more composable
* Update PostgrestConfig.tsx
* Update PostgrestConfig.tsx
* update callout to warning variant
* Update FormLayout.tsx
* Update PostgrestConfig.tsx
* Small copy changes
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2024-06-04 16:02:47 +07:00
Joshen Lim
9e45053d25
Chore/sql editor pagination of results ( #26857 )
...
* Add pagination to SQL editor for results longer than 100 rows
* Change pagination to automatically setting a limit
* Fix
* Address initial comments
* Compress SQL editor actions when ai assistant is open and screen is of a certain width
* Fix checking
* Add some fixes and tests
* Add a message if the query had an error and the limit was applied
* Rename to suffixWithLimit
* Small refactor and fix
2024-06-04 15:20:18 +07:00
Joshen Lim
403c981aae
Update physical backups enable flow for read replicas ( #26981 )
...
* Only show physical backups CTA if project already has a small compute
* Update physical backups UX flow
* Revert modal, go back to alert
2024-06-04 15:00:00 +07:00
Joshen Lim
e904030bd1
Improve enabled check on ongoing queries ( #26984 )
2024-06-04 14:19:11 +07:00
Joshen Lim
63493daa65
Allow viewing ongoing queries and aborting them ( #26887 )
...
* Allow viewing ongoing queries and aborting them
* Fix
* Add refresh button + shift view running queries CTA
* Fix scrolling in SqlEditorMenu
* Small styling fix for table editor menu schema selector error state
2024-06-04 13:07:55 +07:00
Lakshan Perera
c44b9fe54e
fix: show execution ID in Function invocation details ( #26982 )
...
fix: show execution ID in Function invocations details
2024-06-04 12:46:02 +07:00
Punith G
4e7ff2a245
docs: wrap url and anon key strings in quotes for flutter connection example ( #26939 )
...
docs: wrap url and anon key strings in quotes
2024-06-03 23:33:45 +00:00
Jordi Enric and Terry Sutton
7c1d83e910
add panel to show selected log in logs explorer, and some ui fixes ( #26925 )
...
* add panel to show selected log in logs explorer, and some ui fixes
* fix type error
---------
Co-authored-by: Terry Sutton <saltcod@gmail.com >
2024-06-03 17:31:44 +02:00
Alaister Young
8e47d317fa
chore: pg-meta functions ( #26881 )
...
* start pg-meta functions
* pg meta create function
* pg meta database functions update and delete
* fix ts
* update execute sql error type
* update execute sql error type
* remove duplicate database functions query
2024-06-03 23:21:19 +08:00
Joshen Lim and Alaister Young
4637140e72
Fix downgrade network error causing UI crash ( #26919 )
...
* Fix downgrade network error causing UI crash
* Ensure that all try blocks have at least a catch block and not an empty finally block
* Update apps/studio/components/interfaces/Organization/BillingSettings/Subscription/PlanUpdateSidePanel.tsx
Co-authored-by: Alaister Young <alaister@users.noreply.github.com >
* Update
---------
Co-authored-by: Alaister Young <alaister@users.noreply.github.com >
2024-06-03 11:08:39 +08:00
Jordi Enric
aa84f7f60b
fix warehouse rows & update UI for event detail ( #26891 )
...
* ui fixes, rendering data in warehouse table fixed
* reduce padding in header
* rm test of copy button since it was moved elsewhere
2024-05-31 20:59:28 +02:00
hallidayo
e252b4ec00
feat: creating/editing enums margin ( #26843 )
...
top and bottom margin
2024-05-31 18:05:49 +00:00
Wen Bo Xie and Joshen Lim
cd930f5a2f
feat: add IPv4 add on direct conn notice ( #26903 )
...
* feat: add IPv4 add on direct conn notice
* feat: add session mode warning
* fix: remove statement from Supavisor-related types
* Revert change in api types file
* Revert change in api types file
* Update API types file via codegen
* Smol feex
* Temp lint fix
* Fix
* fix: include serverless mention
---------
Co-authored-by: Joshen Lim <joshenlimek@gmail.com >
2024-05-31 17:07:25 +00:00
Dan Ryland and Charis
92b7a33b49
fix: switch undefined variable ref from countries to todos ( #26743 )
...
* fix: switch variable ref from countries to todos
* fix: duplicate const
---------
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
2024-05-31 16:24:17 +00:00
Alaister Young
c8c52bbca9
feat: disable project upgrade ( #26920 )
2024-05-31 17:10:47 +08:00
Alaister Young
54046046b0
feat: disable project restarts ( #26918 )
...
* feat: disable project restarts
* invert
2024-05-31 08:46:50 +00:00