Commit Graph
3261 Commits
Author SHA1 Message Date
Francesco Sansalvadore 8a1e7e21df Fix muted text (#28822)
* fix button icon text

* fix menu toggle bg

* fix more muted text
2024-08-23 13:34:54 +08:00
Div AroraandJoshen Lim fada3c0391 [wip] feat: add support for additional AWS regions (#28806)
* feat: add support for additional AWS regions

* Add flags

* Add comment

* Feature flag new regions

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-08-23 12:20:34 +07:00
Stojan Dimitrovski 185590c1cd fix: rename AWS Cognito to Amazon Cognito (#28765)
fix: rename AWS Cognito to Amazon Cognitog
2024-08-20 14:04:17 +02:00
Kang MingandJoshen Lim 485d85fb9b fix: disable sms provider validation when sms hook is enabled (#28706)
* fix: disable sms provider validation when sms hook is enabled

* chore: add comments

* Small fixes

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-08-19 11:06:36 -04:00
Ivan Vasilov 8c6d0f1890 feat: Save the selected schema in the URL and local storage (#28662)
* Add nuqs package.

* Add useSchemaQueryState hook.

* Use the new hook in all places where there's is a schema selector.

* Make the useQueryState work with SSR in playwright.

* Fix the saving to local storage to happen as a side effect without any additional rerenders.
2024-08-19 13:28:25 +02:00
Alaister YoungandJoshen Lim 389f240bd4 feat: control increase disk modal via url state (#28733)
* feat: control increase disk modal via url state

* put it in the right spot

* improve loading state

* revert reports

* disable input while loading

* add loading state and checks

* fix support form loading padding

* Tiny

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-08-19 16:32:31 +07:00
Terry SuttonandJoshen Lim 9ecd5343ce feat/export-as-sql (#28670)
* feat/export-as-sql

* Rename export items

* EntityListItem change dropdown menu items for exporting data to a sub menu

* Set width

* Pull out SQL formatting logic into formatTableRowsToSQL and start a test

* Fix export function

* Do not stringify null values

* Add comment

* Add blank test cases

* Wrap up formatTableRowsToSQL

* Add max export row count validation to exporting actions in EntityListItem + add link to pg _dump docs

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-08-19 15:08:36 +07:00
Joshen Lim a61cf22369 Tiny refactors in BucketRow (#28730) 2024-08-19 12:42:01 +07:00
Jordi Enric a79c598b76 truncate names in auth table (#28669)
truncate names
2024-08-16 14:44:53 +02:00
Terry Sutton 071a3c0b20 Chore/rls nudge (#28347)
* Show use check expression by default

* Fix with check on select and fix height jumping
2024-08-16 18:51:31 +07:00
Joshen Lim dd49d25cd3 Fix sorting in roles (#28687) 2024-08-16 13:41:49 +07:00
Long Hoang 07c5a667ec chore: cleanup branching modal (#28625)
* chore: remove pitr notice in branching modal

* chore: make icons less warny and less anxiety inducing

* chore: make copy more concise

* fix: correct typos

* Revert "chore: remove pitr notice in branching modal"

This reverts commit 116d189691.
2024-08-16 10:42:01 +07:00
Charis 7388eacf74 feat: create new table command (#28647) 2024-08-15 13:37:38 -04:00
Kang MingandIvan Vasilov d65562d1d4 fix: apply grants on create / update / delete auth postgres hook (#28609)
* fix: apply grants on create / update / delete auth postgres hook

* fix: move executeSql into onSuccess callback

* fix: use useMemo to get permission changes

* fix: standardize padding

* fix: increase size of delete modal

* Minor fixes for the useMemo and the divs for the code editor.

* chore: resolve comment

* Reorder the code.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-08-15 10:55:58 -04:00
Jordi Enric 7da83a9080 Add last sign in method used to sign in ui (#28631)
* add last sign in feat

* wrap only the button for email, update colors in wrapper

* foreground light for wrapper text

* use a Badge and move it to the right

* add outline

* use default colors
2024-08-15 11:03:13 +02:00
0568186816 Added Nuxt guide to project homepage. (#20336)
* Add NuxtJS todo list app to EXAMPLE_PROJECTS

* run prettier

* Prettier

---------

Co-authored-by: Siddharth Balyan <Siddharth Balyan>
Co-authored-by: Jordi Enric <37541088+jordienr@users.noreply.github.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-08-15 16:32:15 +08:00
hallidayo 6e35f2fade feat: ionic angular connect example (#27806)
* ionic angular connect guide

* connect icon constants
2024-08-15 15:28:47 +08:00
Joshen Lim 87d57fb9a8 Fix ColumnEditor removing default value when updating foreign key (#28654) 2024-08-15 15:12:14 +08:00
Jordi EnricandJoshen Lim 23f39ff919 add link to datadogdocs (#28599)
* add link to datadogdocs

* Minor fixes

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-08-15 14:51:10 +08:00
Ivan VasilovandJoshen Lim 6a29cd2bec feat: Choose which schemas to share with OpenAI (#28594)
* Change the getEntityDefinitions query to accept list of schemas instead of being hardcoded to public schema.

* Add a schema combo box for selecting schemas.

* Use the combobox in the SQL editor to select which schemas should be sent to the AI when asking a question.

* Add configurable schemas to AiPolicyEditor.

* Remove unneeded hook.

* Fix the AI settings modal.

* Add keys to the entity definitions query.

* Fix the AI settings modal which is used by cmdk flow.

* Minor fixes.

* Address feedback

* Some fixes

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-08-15 14:38:19 +08:00
Joshen Lim 4a187616ac Remove flag for plp, only check for subscription plan (#28635)
* Remove flag for plp, only check for subscription plan

* Minor fix
2024-08-15 12:32:00 +08:00
Bo Lu 0f9624dfca chore: upgrade Snowflake and Paddle wrapper fdw version (#28653) 2024-08-15 11:55:15 +10:00
Charis ec94638e9f feat: snippet commands (#28573)
Add commands to studio cmd k for searching and running snippets (doesn't actually run them directly cause that would take a lot of duplicated logic, just links to sql editor with them loaded)
2024-08-14 10:32:04 -04:00
Jordi Enric 7832296332 fix sort bug in fk select (#28629)
fix sort bug
2024-08-14 13:24:13 +02:00
Ivan VasilovandJoshen Lim b73317fc67 feat: Pricing for TPA (#28454)
* Don't set fixed height on the generateSecret button in hooks sheet.

* Block two of the TPA providers on free plan orgs.

* Fix some copy. Add more explanation about the pricing.

* Update copy

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-08-14 11:01:58 +02:00
Joshen LimandAlaister Young 1fdba0ec58 Chore/composite foreign key fixes (#28585)
* Fix inability to update composite foreign key values in RowEditor

* Fix unable to view referencing record in table editor if FK column is also PK

* Update apps/studio/state/table-editor.tsx

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

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-08-14 16:19:53 +08:00
Ziinc a692a30932 docs: add pricing adjustment for log drains / auth features (#28375)
- Added Multi-Factor Auth - TOTP
- Added Multi-Factor Auth - Phone
- Added Third-Party MAUs
- Added Log Drains
- Changed PITR pricing to clarify per month pricing and retention 
- Added Log Drain to bandwidth tooltips/info
- Added Auth user data ownership
2024-08-14 15:02:36 +08:00
Div Arora 8ebcbdd158 chore: minor typo (#28616) 2024-08-14 11:08:08 +08:00
Joshen Lim 8f35d30624 Refactor icons from ui to lucide part 1 (#28581)
* Refactor icons from ui to lucide

* Fix
2024-08-13 21:33:20 +08:00
Terry Sutton e9260ef6d8 Remove menu alert (#28598) 2024-08-13 10:47:38 -02:30
Joshen Lim 5869005d85 Fix limit in sql editor (#28582) 2024-08-13 14:55:01 +08:00
Joshen Lim 058698e6e8 Chore/auth policies page fixes (#28579)
* Use ButtonTooltip component for create policy CTAs

* Use ButtonTooltip component in PolicyRow

* Remove use of old tooltip component in PolicyRow

* Update Auth policies to allow read only to access edit policy UI but prevent saving from there

* Fix
2024-08-13 14:04:01 +08:00
Joshen Lim 60447a2f75 Style fixes for invite member button modal (#28548)
* Style fixes for invite member button modal

* Fix

* Use filter prop in Command component

* Fix

* Minor
2024-08-13 13:54:43 +08:00
Joshen Lim 534bcb9bd9 Estimate the estimated count in table editor (#28549) 2024-08-13 12:00:32 +08:00
Terry Sutton cef9c2f4a8 Set schema dropdown if a table is selected (#28560)
* Set schema dropdown if a table is selected

* Cleanup
2024-08-12 15:38:49 -02:30
Peter 5e6921679b fix: typo in tooltip for advisor (#28563)
fix: typo in the tooltip for security advisor
2024-08-12 11:49:34 -05:00
Joshen Lim 84e62cb63c Add guard in CellDetailPanel (#28550) 2024-08-12 22:19:30 +08:00
Alaister Young f2e0cd390d fix: CLS preview link (#28552) 2024-08-12 14:06:48 +02:00
a4a7190837 fix: add MFA (Phone) config and TOTP Config (#28303)
* fix: add MFA toggles for testing

* fix: update dummy frontend

* fix: update page

* fix: update to use separate states

* fix: add function to do mapping of enabled to underlying config

* fix: update message copy

* fix: update with callout

* Cleanup unneeded changes.

* Add code for checking if the user has upgraded Phone MFA.

* fix: update types

* fix: show warning on enabled

* fix: update message copy

Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>

* Fix prettier error.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>
2024-08-12 19:21:12 +08:00
Jordi Enric c76c3c4237 LogDrains: add description and gzip (#28551) 2024-08-12 13:20:37 +02:00
Joshen Lim 355aee7d76 SQL Editor support opening cell into side panel for read only detailed view (#28547)
* SQL Editor support opening cell into side panel for detailed view

* Refactor context menu in SQL editor to use ui lib

* Fix

* Fix for NULL values
2024-08-12 17:16:59 +08:00
Joshen Lim 7b44654fa8 Support deleting project in restore failed state (#28504)
* Support deleting project in restore failed state

* Add descrip5tion
2024-08-12 15:45:24 +08:00
Joshen Lim 111a9d51a7 Reinstate default sort but limited to within threshold row count (#28503)
* Reinstate default sort but limited to within threshold row count

* Merge master resolve conflicts
2024-08-12 11:44:38 +08:00
Jordi Enric 00385657e8 fix layout header height (#28517)
fix height
2024-08-09 22:04:01 +02:00
Stojan DimitrovskiandIvan Vasilov 08b162e9e3 feat: put firebase auth tpa behind feature flag (#28511)
* feat: put firebase auth tpa behind feature flag

* Minor reordering of the components.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-08-09 18:06:01 +02:00
Terry Sutton bee6afe899 Chore/update local lints (#28421)
* Update lints

* Add new lint type, update api types

* Update lints again

* Update types
2024-08-09 12:07:10 -02:30
Ivan Vasilov d6a33be225 feat: Make the AI panel in the SQL Editor resizable (#28506)
* Fix a "A component is `contentEditable` and contains `children` managed by React." error. Reexport ResizableHandle from react-resizable-panels. Add correct display name for text area.

* Change the AI panel to be resizable.
2024-08-09 16:23:14 +02:00
Terry Sutton 036c777127 Revert "feat(studio): check column types in imported spreadsheet (#17… (#28509)
Revert "feat(studio): check column types in imported spreadsheet (#17072)"

This reverts commit 8456108fb1.
2024-08-09 10:31:15 -02:30
Jonathan Summers-Muir c80a086ad4 [Dashboard] Chore: lighten icons (#28496)
Update NavigationIconLink.tsx
2024-08-09 16:31:11 +08:00
Jonathan Summers-Muir cc5cabeadd fix/ sidebar scroll issues on smaller screens (#28500)
Update NavigationBar.tsx
2024-08-09 15:24:47 +08:00