Commit Graph
89 Commits
Author SHA1 Message Date
8057309e51 chore: upgrade next 13 + react 18 (#17839)
* update deps + image codemod (studio)

* update next links (studio)

* update deps

* update links (ui)

* remove next-transpile-modules

* move next-themes dependency

* chore: update ConfirmDialog

* chore: remove old ConfirmModal js file. migrated to TS

* dependency wrangling

* remove empty page

* update next links (www)

* First run bump react-data-grid-v7 beta 4

* fix package-lock.json

* more deps wrangling

* update recharts

* update sentry options

* fix some broken things in www

* studio fixes

* fix graphiql

* fix studio build

* fix menu hydration

* small build error

* update turbo

* fix www typescript errors

* docs image codemod

* links codemod docs

* fix docs typescript errors

* move useConsent to ui to prevent circular deps

* Fix links

* Fix homepage

* Fix links

* move studio/ to apps/

* Revert "move studio/ to apps/"

This reverts commit 1b0a985fcb.

* disable outputFileTracingRoot

* remove outputFileTracingRoot

* fix homepage product cards

* fix PrivacySettings links

* Fix links

* Fix the build for www.

* Minor fixes for JWTGenerator.

* Fix the docs and ui tests.

* Revert codehike back to 0.8.3

* remove ConfirmAlert()

* reenable babel because mobx hates me

* fix blog image and comparison page avatar

* Fix svg errors

* update image synthax

* Fix code hike

* Move the button in a div so that it doesn't inherit its parent height and make the button look weird.

* When components are defined in a component, they get recreated on each render. This makes them unstable in certain cases and causes infinite rerenders.

* Replace the next/head usage with next/script.

* Chore/upgrade next 13 fix table editor (#18431)

* fix table editor styling and fix row deletion logic

* Fix deleting selected rows from header, and fix checkboxes not clearing up

* Fix deleting all rows when filter applied, and fix deleting all rows

* Fix grid size styling issue

* Fix TS error

* Hydration errors

* studio org pages fixes

* fix more studio links

* audit logs fixes

* dropdown icon styling fixes

* fix some images in www

* upgrade to next 14

* try new sentry wrapper for api

* see if this is even invoked

* Revert "see if this is even invoked"

This reverts commit 86c3973ffa.

* Revert "try new sentry wrapper for api"

This reverts commit f67623ebad.

* Revert "upgrade to next 14"

This reverts commit a24dd6131e.

* chore: allow node version 19/20

* Try to fix the LogTable so that it renders with the newer "react-data-grid" version.

* Fix type errors in the log renderer code.

* Fix the replication screen.

* Add the CSS for the GraphiQL.

* Fix SQL editor results rendering

* Lint

* Fix SQL editor results height issue

* Fix auth RLS not invalidating RQ when toggling RLS

* Fix database tables new/edit column regressed

* Fix migrations page empty state if migrations schema not yet created

* Fix API side panel docs temp remove postgrest text for column description PK and FK

* Fix + improve timeout handling in SQL editor

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
Co-authored-by: Terry Sutton <saltcod@gmail.com>
Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
2023-10-31 05:51:46 +00:00
Joshen Lim dd7a681dd7 Chore/standardize UI in database pages (#18300)
* Update database/tables to use SchemaSelector and add warning for protected schema

* Update database/triggers to use SchemaSelector and add warning for protected schema

* Update database/functions to use SchemaSelector and add warning for protected schema

* Update database/schemas to use SchemaSelector

* Small tweak to database/extensions page

* Update database/types to use SchemaSelector

* Add protected schemas warning for enumerated type and prevent edit/delete of types from protected schema

* Small style fix
2023-10-18 19:03:50 +08:00
Greg Richardson 90ae844a0b feat(hooks): update default edge function url (#18186) 2023-10-16 16:41:37 +08:00
Ivan Vasilov 7dea89cc35 Drop the _shadcn_ suffix from the the Dropdown component (#17804)
Replaced all occurrences of _shadcn_ for the Dropdown component.
2023-10-03 13:12:34 +02:00
Ivan Vasilov 18c11843ee Dropdowns migration followup (#17730)
* Remove text color from all dropdown items. The color was set by a class but it should be left to be decided by the parent.

* Make the text smaller in all dropdown elements.

(cherry picked from commit 9a71b3f987047ad26de6e5d496ccf53bc559f71d)

* Fix mismatched colors.

* Remove obsolete text-xs.

* Fix the button in the AI SQL editor.
2023-09-29 11:11:33 +00:00
Ivan Vasilov 76db9f27b3 Migrate dropdowns to use the new Dropdown component (#17427)
* Remove unneeded component.

* Update the dropdown content to support size prop (medium by default). Add space-x-2 to the dropdown item. Add flex to DropdownTrigger so that it's more vertically centered.

* Migrate Insert row dropdown in the TableEditor.

* Refactor UserDropdown to use the new Dropdown from shadcn.

* Migrate the ColumnMenu to use the new dropdown.

* Migrate the rest of the dropdowns.

* Remove the size prop and set the w-64 as default.

* Fix build errors.

* More dropdown fixes.

* More fixes.

* More fixes to various dropdowns.

* Remove the flex from the DropdownTrigger and add it in where it's needed.

* Snapshot.

* Remove keys on dropdown separators.

* Fix the dropdown in the SQL editor.

* Minor type fix.

* Remove space-x-2 from DropdownMenuItem and add it to each item where it's needed.

* Remove the space from the dropdown item.

* Fix a build error.

* Fix the item text in some of the dropdowns.

* Remove duplicate CSS from all dropdown items.

* The SubMenuContent text should be lighter to match MenuContent.

* Fix various CSS issues.

* Revert "Remove unneeded component."

This reverts commit ef606f6695.

* Fix migrated CSS classes.

* Last round of feedback fixes.
2023-09-26 15:29:07 +02:00
Ivan Vasilov 6648acacea Migrate CSS classes for light text (#17725)
* Replace all occurences of text-scale-1100 to text-foreground-light.

* Replace all occurences of text-scale-1000 with text-foreground-light.

* Fix double uses of text-foreground-light.
2023-09-26 11:05:28 +02:00
Joshen Lim 7aee78a8b8 Replace all occurences of text-scale-1200 with text-foreground (#17723)
* Replace all occurences of text-scale-1200 with text-foreground

* Fix spelling
2023-09-26 15:53:03 +08:00
Joshen Lim 95344c246b Chore/deprecate local observable (#17642)
* Deprecate local observable in api.tsx

* Deprecate local observable in auth users pqage

* Replace prop drilling refetch with proper query invalidation in mutations
2023-09-26 13:25:38 +08:00
Alaister Young 170ceb54ed hotfix: webhook creation 2023-09-19 13:26:23 +02:00
Greg Richardson 75e1f75551 feat(dashboard): header wording on discard modal warnings 2023-09-18 13:04:01 -06:00
Greg Richardson f86fd17e64 feat(dashboard): button wording on discard modal warnings 2023-09-18 12:44:16 -06:00
Alaister Young 1bd73f22e7 address feedback 2023-09-15 16:40:52 +02:00
Alaister Young f0a90120c5 Merge branch 'chore/remove-pg-meta-schema-store' into chore/remove-pg-meta-table-store 2023-09-11 18:08:07 +10:00
Joshen Lim 23c864c947 More standardization 2023-09-07 16:14:26 +08:00
Alaister Young 01af133bb6 Merge branch 'chore/remove-pg-meta-schema-store' into chore/remove-pg-meta-table-store 2023-09-07 18:05:33 +10:00
Joshen Lim 0d3f89aaeb Allow setting timeout value for http webhooks too 2023-08-31 13:04:07 +08:00
Joshen Lim 918618737a Allow users to set timeout value for webhooks when edge function selected 2023-08-31 13:03:07 +08:00
Joshen Lim 012b1493be Remove all usage of FC part 2 2023-08-07 10:28:23 +02:00
Joshen Lim a07b762cab Refactor to change mutateAsync to mutate 2023-07-17 17:21:18 +08:00
Joshen Lim dd321e3394 Refactor error handling for database triggers mutations 2023-07-10 17:44:45 +08:00
Alaister Young 3bc70549c3 chore: checkPermissions -> useCheckPermissions 2023-06-30 15:15:09 +10:00
Joshen Lim c8edaae3e7 Address conflicts 2023-06-28 16:53:51 +08:00
Alaister Young e8094ae8b7 feedback from #15212 2023-06-27 19:10:15 +10:00
Joshen Lim a656f76705 Midway oauth apps crud 2023-06-22 19:44:41 +08:00
Alaister Young 31091d3fe4 chore: move orgs and projects to react-query 2023-06-20 21:47:10 +10:00
Jonathan Summers-Muir f68e79ff71 fixed errors with Button from new changes 2023-06-13 17:36:36 +08:00
Paul Cioanca 819efd0484 chore: display triggers in the net schema if they're not webhooks; hide triggers in webhooks if they don't have at least an URL and method specified 2023-05-23 15:29:09 +03:00
Alaister Young 7e9079af22 swaps meta store read methods for react-query 2023-05-03 22:35:45 +10:00
Joshen Lim 8934bcced1 Hide edge functions option in webhooks if not platform 2023-04-21 21:55:27 +07:00
Joshen Lim 51d40794ac Remove requirement check for connectionString in webhook RQs + fix missing prop to FormContents in EditHookPanel 2023-04-21 21:46:16 +07:00
Joshen Lim aac25c5ab5 Fix eslint errors 2023-04-20 17:56:06 +07:00
Alaister Young 281b02b703 chore: add eslint-config-next 2023-04-17 16:40:33 +10:00
Andrew Smith bd7008e590 fix: Remove unnecessary whitespace in header name 2023-04-09 18:50:41 +00:00
Terry Sutton 42f545cc5f Add missing imports 2023-03-31 12:05:24 -02:30
Joshen Lim 9b94da2674 Update webhooks add auth header to use service key 2023-03-31 00:35:12 +08:00
Joshen Lim 8e64d52674 Update webhooks add auth header to use service key 2023-03-31 00:34:52 +08:00
Joshen Lim 3ea219d088 Remove alpha warning for webhooks 2023-03-30 23:08:33 +08:00
Jonathan Summers-Muir a7a00ed21e Merge branch 'master' into feat/cmdk-2 2023-03-28 14:07:55 +08:00
Joshen Lim a6fc7801b5 Add edge function validation for webhooks 2023-03-28 12:51:43 +08:00
Joshen Lim 7d184412f9 Add key 2023-03-28 12:28:04 +08:00
Joshen Lim ca1cdccdd3 Update header value 2023-03-27 14:32:59 +08:00
Joshen Lim cb5c16a414 Update header value for x-supabase-webhook-source 2023-03-27 14:31:02 +08:00
Joshen Lim a34060ea1b Default to POST for webhooks 2023-03-27 14:29:40 +08:00
Joshen Lim 745cee1eb3 Add empty state for when no edge functions available in project 2023-03-27 14:19:56 +08:00
Joshen Lim db9389c0c4 Add one more option for adding header if type is edge function 2023-03-24 16:55:57 +08:00
Joshen Lim 2984279307 Update webhooks list UI 2023-03-24 16:32:15 +08:00
Joshen Lim 4cafd1968a Add support for Supabase Edge Functions 2023-03-24 15:50:09 +08:00
Jonathan Summers-Muir c81e0c9098 update radix and tailwind to correct versions. update all tooltips with Portal subcomponent 2023-03-24 14:48:01 +08:00
Joshen Lim 92133aee7a Update img url with base path in hooks.constants 2023-03-22 21:38:20 +08:00