Commit Graph
3261 Commits
Author SHA1 Message Date
Jonathan Summers-Muir 14618ec41f [dashboard] fix: auth policies button (#28499)
* Update GridHeaderActions.tsx

* Update GridHeaderActions.tsx
2024-08-09 15:14:47 +08:00
Jonathan Summers-Muir 77bc1a4d8b Revert "Bug Fix - Nav elements overlap" (#28497)
Revert "Bug Fix - Nav elements overlap (#25966)"

This reverts commit 77dfed4b7c.
2024-08-09 13:02:16 +08:00
Charis 84732ff44c feat: add new command menu to studio (#28432)
Add new command menu to studio. Ports over commands from old menu (with some minor reorganization), then adds:
- Branch switcher
- Project switcher
2024-08-08 16:42:07 -04:00
77dfed4b7c Bug Fix - Nav elements overlap (#25966)
* Fix nav elements overlap issue

* Review comment fix - z-50 and above is reserved for dropdown and tooltip, so made z-10

---------

Co-authored-by: Chetan Lohkare <lohhkarec@gmail.com>
Co-authored-by: Terry Sutton <saltcod@gmail.com>
2024-08-08 14:41:59 -02:30
8456108fb1 feat(studio): check column types in imported spreadsheet (#17072)
* feat(studio): check column types in imported spreadsheet

* refactor: more checks on check inferred column type

* fix: spreadsheet import type check not working because selectedtable is undefined

* rebuild

---------

Co-authored-by: Ryan Martin <rmrt1n@users.noreply.github.com>
Co-authored-by: Terry Sutton <saltcod@gmail.com>
2024-08-08 13:49:32 -02:30
Kalp ChaudharyandTerry Sutton bf07977b7c issue #21609 added padding right to input component which has "Set to… (#21679)
* issue #21609 added padding right to input component which has "Set to NULL" btn

added padding right to input component that has "Set to NULL" and "Select Record" btn.

Reason: Btns are set to absolute so its good to just give padding to input component.

* Remove input class

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2024-08-08 12:32:10 -02:30
OmarandTerry Sutton 17384f19f3 Add code snippet to Prisma docs example (#26269)
Add code to create a client

Adding code snippet for client generation.

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2024-08-08 12:01:34 -02:30
Joshen Lim 1bb86bf705 Only render RestrictionBanner if user is logged in (#28479) 2024-08-08 18:15:43 +08:00
Joshen Lim cf53e46805 Chore/support pasting images in feedback widget (#28475)
* Support pasting images in feedback widget

* Remove unnecessary usage of local storage

* Revert changes to local storeage
2024-08-08 18:08:23 +08:00
Joshen Lim 4a632125b5 Chore/fix realtime inspector not being able to select latest message if previous latest message was selected (#28471)
* Fix realtime inspector not being able to select latest message if previous latest message was selected

* Lint
2024-08-08 16:57:41 +08:00
Joshen Lim d8003ab0b4 Small UI fixes to extension card (#28470)
* Small UI fixes to extension card

* Revert  padding change to ScaffoldContainer

* Revert change in LayoutHeader

* Pretty
2024-08-08 15:46:30 +08:00
Joshen Lim 0a2e944b06 Various refactors + improvements to project dropdown in invite member modal (#28468) 2024-08-08 14:57:22 +08:00
Joshen Lim 3a40d4f0eb Trim empty spaces in table editor filter popover inputs (#28443)
* Trim empty spaces in table editor filter popover inputs

* Only trim filter input values in table editor for UUID columns

* Fix
2024-08-08 14:04:05 +08:00
Joshen Lim 4e3b2daabe Use expanding text area fort RLS assistant (#28444)
* Use expanding text area fort RLS assistant

* Use AssistantChatForm in SQL editor AI assistant

* Use AssistantChatForm in RLS AI assistant

* Fix expanding text area height change

* Clean up
2024-08-08 12:45:45 +08:00
Joshen Lim 557f2ef87e Auth policies dont show warning if schema is protected (#28442) 2024-08-08 10:56:45 +08:00
Thomas df5017f84d fix: fix invoice status label tooltip for invoices in status 'issued' 2024-08-07 15:35:41 +02:00
Joshen Lim 1e2699d7bb Support copy cell content in logs explorer (#28439) 2024-08-07 17:54:32 +08:00
Joshen Lim a3ecf36c65 Show correct number of private snippets for SQL folders (#28411)
* Show correct number of private snippets for SQL folders

* Ensure that private snippet count is updated when sharing / unsharing queries

* Fix snippets caching issuie

* Fix move query modal showing more than just the project's folders
2024-08-07 17:38:17 +08:00
Filipe Cabaço d5fa457bce realtime: Remove realtime authorization flag (#28437)
realtime: Remove realtime authorization flag
2024-08-07 09:47:49 +01:00
Ivan VasilovandJoshen Lim 8f3fb284e3 fix: Fix a bug when updating a row which contains truncated values (#28419)
* Add helper function to check if a value is truncated.

* Fix the validation and generation of payload to not include truncated values.

* Remove console log

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-08-07 14:33:52 +08:00
Ivan VasilovandJoshen Lim 0895081f4f fix: Make the onCopyUrl work on Safari (#27215)
* Add a new hook for copying URLs.

* Refactor the copyToClipboard function.

* Make the onCopyUrl function awaitable.

* Fix the test.

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-08-07 13:50:50 +08:00
Joshen Lim c9ebb812c9 Support sorting buckets in storage explorer (#28416)
* Support sorting buckets in storage explorer

* Address PR comments
2024-08-07 12:53:19 +08:00
Jordi Enric 151eccdcee adds log drains pricing section (#28425)
* update descriptions

* add pricing section

* fix docs link
2024-08-06 19:30:14 +00:00
Terry Sutton 1be7cc4820 Refine lint warning on homepage (#28424)
* Refine lint warning on homepage

* Remove unused
2024-08-06 16:33:20 -02:30
Terry Sutton eb2679110a Chore/connect alignment (#28422)
Fix alignment
2024-08-06 13:25:38 -02:30
Wen Bo Xie 1378ef2e7e fix: update no policies warning to 0 results (#27631) 2024-08-06 10:25:55 -02:30
Jordi Enric b97f3a34fb rename endpoint to http endpoint (#28418) 2024-08-06 11:40:29 +00:00
Ivan Vasilov e094a36177 fix: Disable sorting by json/jsonb columns (#28395)
Don't list json/jsonb columns in the sort popover.
2024-08-06 12:59:25 +02:00
Alaister YoungandJoshen Lim 0fe5938484 fix: remove unnecessary condition in MemberRow (#28287)
* fix: remove unnecessary condition in MemberRow

* Don't show tooltip for role is 0 projects

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-08-06 17:29:53 +08:00
Kevin Grüneberg 757de39a26 fix: billing breakdown anchor for TP MAU (#28413) 2024-08-06 10:54:26 +02:00
Kevin Grüneberg 2db6bca58d feat: support for new billable metrics (#28399) 2024-08-06 15:43:04 +08:00
Terry SuttonandJoshen Lim 55acb7214f Chore/null setting (#27443)
* Confirm before setting cell to null

* Small fixes

* New prop for ignoring outside clicks

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-08-06 10:35:38 +08:00
Jordi Enric 4671c91c8a log drain fixes 2: the return of the fix (#28392) 2024-08-05 21:46:33 +02:00
Terry SuttonandJoshen Lim fee07c5d36 Chore/show lints on project homepage (#23424)
* Move auth lints to query

* Add exmaple components

* Cleanup

* Add sidebar badge

* type issue

* Remove home warning

* Add loader state

* Small style changes

* Small lint

* Only show navbar dot if we have lints

* Revalidate the lint query when sql editor snippets run

* Fix imports

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-08-05 10:49:19 -02:30
hallidayo deb8618187 feat: studio - example project tabs (#27262)
* example project tabs

* imports and alignment changes

* tabs alignment to the left
2024-08-05 09:57:25 -02:30
Joshen Lim 748aec9a0e Open folder of snippet when opening a snippet on fresh browser session (#28383) 2024-08-05 18:37:08 +08:00
Joshen Lim 6a265a3289 Chore/fix autodocs stored procedure menu (#28385)
* Fix highlighted state in nav bar for V1 auto docs when selecting a store procedure

* Fix RPC parameters in V2 auto docs

* Replace database functions create function button cta with ButtonTooltip
2024-08-05 17:11:17 +08:00
Pamela Chia 3dab4fd5f7 Chore/add billing processing in docs (#28365)
* chore: add billing in privacy policy

* chore: add billing processing to TIA
2024-08-05 14:32:01 +08:00
Jordi Enric 91f6fb72c8 Log Drains Fixes (#28337) 2024-08-02 17:45:03 +02:00
Terry Sutton e32a916f6a Chore/disk resize modal (#28291)
* Add more detail around db resize panel and modal

* Cleanup
2024-08-02 09:54:18 -02:30
f0cacd6223 Add an Authenticator Assurance Level toggle for impersonating users in Studio (#28332)
* Add AAL2 toggle for user impersonation

* Move AAL toggle into user selector & tweak styles

- Since the AAL level can only be toggled before a user is selected, move the toggle into the user selection area
- Also display the AAL status in the UserImpersonatingRow and the RoleImpersonationPopover
- Improve display styles

* Run prettier

* - fixes light mode text issue
- adds "Advanced options" collapsible
- adds info tooltip linking to MFA docs

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
Co-authored-by: Alaister Young <a@alaisteryoung.com>
2024-08-02 15:39:16 +08:00
Jordi Enric 4e1f70651f update copy log drains upgrade (#28329) 2024-08-01 23:49:06 +02:00
Jordi Enric 03665dfdcd Log Drains UI (#28044)
* add main log drain form and navigation

* fix submit and select

* add mutation and update form

* fix submit issue

* fix issues with validation

* fix typeerrs

* add log drain table

* update create log drain mutation

* add delete log drain mutation

* update get log drains query

* fix new log drain click in cards

* add delete mutation

* add delete log drain

* refactor gzip switch

* refactor radiogroup to use formfield

* add headers form

* fix validation, custom headers errors

* refactor to support update in form

* format

* add log drains to nav

* update api spec and list logdrains query

* wire backend

* fix datadog region values

* make api input password

* fix url elastic

* fix typerr

* rm unnecessary value setter

* fix state issue log drains update form

* Add default values setting in useEffect to fix form issues

* format

* Update LogDrains table header width to 250px

* add upgrade plan card when free plan

* fix dumb if statement

* fix the freaking headers

* fix upgrade to team state

* fix plan check and loading state

* disable type update

* Add link to documentation in Log Drains settings

* show add destination only after empty state

* fix bug with inputs not resetting

* add gzip tooltip

* rm command

* defaultValue to value

* add defaultValue

* rm consolelog

* rm anys
2024-08-01 22:03:10 +02:00
Terry Sutton 0f2f7b99a5 Fix old listbox text colours (#28294)
Fix old listbox colours in lightmode
2024-07-31 14:34:53 -02:30
Harsh Shrikant Bhatandharshsbhat 35803fe329 fix: Fixes a typo (#28277)
Fixes a typo

Co-authored-by: harshsbhat <icybhat@gmail.com>
2024-07-31 16:46:04 +00:00
Charis a0ff07f14c fix: change nextjs connect methods to match new ssr api (#27737) 2024-07-31 10:49:43 -04:00
Jonathan Summers-MuirandFrancesco Sansalvadore 6d760a1a99 Feat/deep dark (#27026)
* chore: move to deeper dark

* tidy up boxes on www

* update deep-dark colors

* fix homepage product cards

* toned down pricing page a little

* update

* lots of color changes

* Update grid.scss

* Update EntityListItem.tsx

* Update EntityListItem.tsx

* fix partners page icon

* fix partners page colors

* update theme

* Update global.css

* combined dark theme so classic-dark does not break on other sites

* Update package-lock.json

* updated color tokens pipeline to support combined dark theme

* smol updates

* Update FeaturedThumb.tsx

* Update BlogFilters.tsx

* Update BlogListItem.tsx

* Update BlogListItem.tsx

* Update UserSettingsDropdown.tsx

* Update NavigationBar.tsx

---------

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
2024-07-30 21:34:28 +08:00
Alaister Young 70ef8ecc6f fix: sign up redirect (#28279) 2024-07-30 21:04:15 +08:00
Alaister Young eb9ab2a7ab chore: update table def (#28278)
* chore: update table def

* fix double not null

* update test
2024-07-30 09:45:19 -02:30
Thomas 4b2c4acaab Adjust texts shown when user doesn't have permission for org settings (#28210) 2024-07-30 12:01:45 +02:00