Commit Graph
1038 Commits
Author SHA1 Message Date
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
Alaister Young 263d199831 fix(self-hosted): postgrest config route location (#28318) 2024-08-01 22:50:55 +08: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-Muir cff565ceda fix/ deep-dark theme name issue (#28282)
* init fix

* more

* more

* change storageKey

* added deep-dark css selectors as a workaround

* update css
2024-07-30 16:50:13 +00: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
Mohammed Yasin Mulla bb967407dc style: move the find-widget in the sql editor to prevent overlapping … (#28228)
style: move the find-widget in the sql editor to prevent overlapping with the suggest ai button
2024-07-30 11:45:05 +00:00
jingsam c52fd21580 fix logs title (#28266) 2024-07-30 11:38:11 +00:00
Thomas 4b2c4acaab Adjust texts shown when user doesn't have permission for org settings (#28210) 2024-07-30 12:01:45 +02:00
Alaister Young d674ccbfae fix: improve github authorization calls (#28274) 2024-07-30 17:07:39 +08:00
Kevin Grüneberg 9de6ee58b1 feat(orb): support new usage stats (#28208)
- Add new metric Disk Size GB-Hrs (only exposed to paid plans on Orb)
- Adjusted some texts as preparation of new billing plans
- Fixed some visual bugs with the usage summary grid
- Project allocations in tooltips are now sorted by usage (descending)
- Project allocations with too little usage (<0.01) now display "<0.01" instead of just "0"
- Usage formatter supports usage that is broken down to hours
- Stop showing percentages when the usage is 0 (previously showed "<1%"

This change is backwards compatible and can be merged. Note that there will be full overhaul in the feature of the entire usage page, this is just the least invasive change to make the transition work.
2024-07-30 14:37:54 +08:00
Guilherme Souza f9751c2e13 chore: official supabase-py (#28209) 2024-07-29 08:00:48 -03:00
Alaister Young 9d5d4626ef fix: use parent ref for contact support button when in a branch (#28207) 2024-07-26 18:20:56 +08:00
Jordi Enric 03f37bce40 fix chart widths (#28181)
* fix chart width

* update barchart y axis width in default props
2024-07-26 11:40:55 +02:00
Alaister Young 6234b1b3c8 chore: better wrappers empty state (#28204) 2024-07-26 17:29:41 +08:00
Alaister Young 560d239100 feat: vercel custom public env var prefix (#28058)
* feat: vercel custom public env var prefix

* fix types

* more type fixes

* update warning message

* update resync warning

* add convenience functions
2024-07-26 16:39:15 +08:00
Alaister Young 4e0bc6750e fix: allow spaces in snippet search (#28202) 2024-07-26 10:36:11 +02:00
Ivan Vasilov 9ac44f5985 feat: Add Third Party Auth settings (#27564)
* Add queries and mutations for third party auth.

* Show the ThirdPartyAuth form in the auth settings.

* Minor fixes to the mutations.

* Add a comment for TODO.

* Add all components for third party auth.

* Minor fixes.

* Update the firebase icons.

* Update the api-types.

* Fix the barrel file imports.

* Make the sheets more intuitive.

* Add a dialog for adding RLS policies for the firebase integration.

* Hide the 3rd party auth section behind a form.

* Fix a type error.

* Update the wording on the Add RLS policy dialog.

* Replace the sheets with dialogs.

* Add fixes for the comments on github.

* Minor fixes.

* Fix a type error.

* Make the delete integration awaitable.
2024-07-25 11:07:09 +02:00
Alaister Young 32dee14141 Revert "fix(pagination): Calculate any selectedRows in useMemo and Ensure cancel is called after confirm" (#28175)
Revert "fix(pagination): Calculate any selectedRows in useMemo and Ensure can…"

This reverts commit 1a6dff59ef.
2024-07-25 02:58:10 +00:00
Hieu 38d36da300 fix: permissions check for branch projects (#28163)
* chore: remove unused event

* fix: convert useCheckPermissions to use string references

* fix: useCheckPermissions params

* fix: prettier
2024-07-25 08:50:02 +07:00
Joshen Lim 037a96b917 Fix perms checking in ReportsMenu (#28166)
Fix perms chekcing in ReportsMenu
2024-07-24 09:26:55 -04:00
Alaister Young be74acfad3 fix: minor invite flow fixes (#28158)
* fix: minor invite flow fixes

* invalidate organizations
2024-07-24 16:13:26 +08:00
Sinan Talha KOSAR 1a6dff59ef fix(pagination): Calculate any selectedRows in useMemo and Ensure cancel is called after confirm (#28128)
- Calculated anySelectedRow exist information from state in useMemo to ensure state changes are reflected when selectedRows.size >= 1.
- Added a call to cancel after confirm in the confirmation modal.
2024-07-24 03:06:40 +00:00
Sinan Talha KOSAR 12beb6e6e9 fix: Adjust .sb-grid checkbox styles for light and dark themes (#27968) 2024-07-24 10:59:34 +08:00
Charis 5cd8384bca feat(docs), refactor(docs,studio): add regions list to docs (#28125)
* feat(docs), refactor(docs,studio): add regions list to docs

Adds list of supported AWS regions to docs.

Pulls the region information into `shared-data` package to provide common source of truth for dashboard and docs.

* style: format
2024-07-23 12:45:44 -04:00
Jordi EnricandAlaister Young fe8aec6070 Redirect to API report when there are 0 reports (#28145)
* redirect to api report when there are 0 reports

* Update apps/studio/pages/project/[ref]/reports/index.tsx

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

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-07-23 12:57:17 +02:00
Kevin Grüneberg 4496c5a9ab chore: only lint in CI, not on Vercel (#28136) 2024-07-23 16:28:52 +08:00
Pamela Chia 1904d02e33 chore: remove unnecessary telemetry (#28127) 2024-07-23 13:39:35 +08:00
PeterandAlaister Young 0f528ae8db fix:Validate for period in Email on Auth User Creation (#28106)
* Email now checks for period in email

* Convert form to zod for email validation

* Reset field values after submit

* Fix modal size to be closer to original

* Cleanup: Remove unused imports

* Adjust padding to match original

* re-add the input icons using hack

* small styling changes

---------

Co-authored-by: Alaister Young <a@alaisteryoung.com>
2024-07-22 13:38:01 -05:00
Ivan Vasilov d4a1c5e689 fix: Fix the badge text in Database settings when IPv4 addon is added (#28094)
* When IPv4 addon is added, show the correct badge text.

* Pass the ipv4 addon boolean.
2024-07-22 09:25:55 +02:00
Kamil Ogórek 057b2f1705 fix: Bail on audit logs permissions (#28096) 2024-07-19 19:15:52 +00:00
Joshen LimandJordi Enric 91c63be9c9 Surface error from fillTimeseries to the UI (#28086)
* Surface error from fillTimeseries to the UI

* rm consolelog

---------

Co-authored-by: Jordi Enric <37541088+jordienr@users.noreply.github.com>
2024-07-20 00:47:23 +08:00
Joshen Lim 9081324666 Chore/fix oauth app api auth (#28093)
* Fix oauth app api auth

* Fix style

* Update codegen

* Fix

* Fix
2024-07-19 20:20:47 +08:00
Jonathan Summers-MuirandIvan Vasilov f912536db8 [Design system] Feat/sonner (#27382)
* fix toast examples

* add sonner stuff

* new sonner examples added

* updated

* add upload POC

* add

* Update sonner-upload.tsx

* move statusicons

* Minor fix.

---------

Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
2024-07-19 12:38:42 +02:00
Joshen Lim cb4b0fe6d8 Add set search path for query performance query (#28084)
* Add set search path for query performance query

* more
2024-07-19 18:07:27 +08:00
Joshen Lim 5ce6650481 Set up opt in by slug for PLP (#28080) 2024-07-19 17:38:14 +08:00
Francesco Sansalvadore 1baf027fb1 chore: update pricing page / compute wording (#28017) 2024-07-19 15:39:11 +08:00
Jonathan Summers-MuirandJoshen Lim a4b4167a5b fix: temporary remove default sorting (#28072)
* Update table-rows-query.ts

* Add comment

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-07-19 11:20:58 +08:00
64e5ba8777 chore: tus optimisations (#28034)
* chore: tus optimisations

* Update apps/studio/localStores/storageExplorer/StorageExplorerStore.tsx

* fix prettier

* remaining time

* fix prettier + change styling

* styling

* remove console.log

* fixed timing

* fix upload progress

* add abort uploads function

* amended chunk-size

* add cancel button

* fix infinity label

* scope aborts to a toast

* abort when cancelled

* fix divide by zero error

* Small style

* eat abort error

---------

Co-authored-by: fenos <fabri.feno@gmail.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-07-19 11:05:58 +08:00
Kang Ming efec5dd114 fix: use gotrue_id instead of email (#28071) 2024-07-19 02:35:41 +08:00
Etienne Stalmans 22d66f4999 chore: update docs and templates with search_path (#28066)
Advisor warns about missing search_path on the handle_new_user function,
which we supply in docs and SQL starter templates.
We have updated this in some docs but haven't pulled it through to everything
2024-07-18 17:54:15 +02:00
Alaister Young 9ea50f6cee fix: new id in content query (#28064) 2024-07-18 10:38:48 +00:00
Kevin GrünebergandThomas Eckl 9d4d1369aa chore: adjust billing for edge function count (#28019)
Co-authored-by: Thomas Eckl <31189692+ecktoteckto@users.noreply.github.com>
2024-07-18 17:12:49 +08:00
Joel LeeandJoshen Lim 530ab69901 feat: add SAML External URL field (#27628)
* feat: add SAML External URL field

* fix: update

* feat: update package-lock.json to mirror master

* fix: patch validation

* fix:  update to default to '' instead of false

* fix: add description

* fix: re-run prettier

* Update UI

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2024-07-18 09:15:50 +02:00
Charis abb4cbb982 fix(storage): change replaced character to U+202F (#28046)
The character that was breaking screenshots was the Narrow No-Break Space (U+202F), which is apparently not the same thing as the No-Break Space (U+00A0). (TIL there are 17 different Unicode space separators.)

Tested on local by uploading a screenshot taken with default 12-hour timestamp (which was the broken case before).
2024-07-18 14:05:28 +08:00
Joshen Lim d99c9ea13c Improvement to database extensions UI (#28037)
* Improvement to database extensions UI

* Prettier
2024-07-18 13:58:55 +08:00
Wen Bo XieandKevin Grüneberg f1541878a9 fix: singularize and capitalize Supabase plans (#28052)
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2024-07-18 04:49:00 +00:00