Commit Graph
479 Commits
Author SHA1 Message Date
3dca7ff61c feat: disable features (#17553)
* feat: groundwork for disabling features

* update to use profile endpoint & disable features

* fix ts error

* add useIsFeatureEnabled mock

* fix merge conflicts

* fix test

* upgrade to pro

* prettier

* add more billing enabled feature checks

* disable more stuff

* update useIsFeatureEnabled hook

* Fix database reports disk size

* Fix database reports disk size

* disable log sources

* disable moar things

* Tiny fix

---------

Co-authored-by: Kevin Grüneberg <k.grueneberg1994@gmail.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2023-10-16 12:59:36 +08:00
Ivan Vasilov ae4a06f715 Change all occurences of text with text-foreground (#17890)
* Change all occurences of text with text-foreground.

* Minor fix.
2023-10-09 16:11:18 +00:00
Joshen LimandTerry Sutton 94f5fc5a61 Feat/api side panel (#17880)
* Demo api side panel

* Add docs for storage and edge functions

* Add content

* fix

* Add scroll to logic

* Add storage docs

* Add docs URLs

* Add connecting to project section in getting started

* Link back to docs site for product + resource specific docs

* Add entry points into API side panel for table editor, auth users and storage

* Add entry points into API side panel for edge functions

* Beef up feature preview modal with content

* Fix asset path

* Address several feedback

* Addressing more feedback

* Shift GraphiQL page to database if new api docs flag enabled

* Spelling

* Wording changes

* Spacing and wording

* Fix small issues

* Fix

* Update key showing toggle button

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
2023-10-05 13:30:12 +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
Joshen Lim 32dda1bb23 Feat/UI feature previews (#17775)
* Break me.tsx into smaller components

* Deprecate duplicate app valtio state

* Initialize feature preview modal

* Add telemetry

* Address comments
2023-09-29 13:20:30 +08:00
Terry Sutton dde0bde57c Use resolved theme (#17753)
* Use resolved theme

* Update
2023-09-27 20:49:41 +02:00
Ivan Vasilov 282b08ba60 Migrate CSS classes for lighter text (#17728)
Change all occurences of text-scale-900 to text-foreground-lighter.
2023-09-27 12:01:25 +08:00
9910073432 Chore/proper theme switcher (#17635)
* Add theme switcher

* Update

* Update

* Fix docs

* Update

* Fix www

* Componentize ThemeToggle

* Remove unused TopBarRef, rename existing component

* Update apps/www/pages/launch-week/6/index.tsx

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

* Update apps/docs/components/Navigation/NavigationMenu/TopNavBar.tsx

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

* Update apps/www/pages/launch-week/index.tsx

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

* Update apps/www/pages/launch-week/7/index.tsx

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

* Update apps/www/pages/launch-week/tickets/[username].tsx

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>

* Update always-on darkmode pages

* update

* Prettier

* Check resolved theme for images

* use resolved theme

* Fix customer stories

* Update apps/docs/components/Navigation/NavigationMenu/TopNavBar.tsx

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>

---------

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
2023-09-26 16:27:45 +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 14838dffff Rename alt prop for all branch related components to isNewNav 2023-09-20 19:59:53 +08:00
Joshen Lim 9587503ba7 Refactor project IntegrationsSettings into smaller files 2023-09-20 15:14:32 +08:00
Joshen Lim adb4d90c5b Fix and improve loading states + speed when going between projects and branches via header dropdowns 2023-09-20 14:44:19 +08:00
Joshen Lim 03f35e7ddb Deprecate old org and project dropdowns, LayoutHeader to use the new ones under AppLayout 2023-09-20 14:16:16 +08:00
Jonathan Summers-Muir 6791e1517f Merge branch 'master' into chore/add-branch-dropdown-in-nav-v1 2023-09-20 00:00:50 +08:00
Terry Sutton f1240aac27 Increase stroke width on nav icons 2023-09-18 17:06:05 -02:30
Joshen Lim 89cfc865ef Bring changes from master and reesolve conflicts 2023-09-13 16:29:53 +08:00
Joshen Lim 4aa4f842c2 Bring in changes from master and resolve conflicts 2023-09-13 14:41:38 +08:00
Terry Sutton abb0c6d3b1 Merge branch 'master' into feat/project-exhaustion-warnings 2023-09-12 22:21:16 -02:30
Kevin Grüneberg 4bd241af27 feat: over-usage banners for orgs 2023-09-13 00:21:53 +02:00
Joshen Lim 9a55b5fd19 Ensure settings infrastructure page is accessible irregardless or project 2023-09-12 17:08:52 +08:00
Joshen Lim 505bfb5ee2 add a nicer loader for when going into project home page 2023-09-12 16:03:00 +08:00
Joshen Lim 50fa91caff Small fixes on logic to show branching buttons 2023-09-12 15:41:57 +08:00
Jonathan Summers-Muir 0ee793cb5e Merge branch 'master' into chore/add-branch-dropdown-in-nav-v1 2023-09-12 08:18:43 +01:00
Terry Sutton 9dab6b26e9 Merge branch 'master' into feat/project-exhaustion-warnings 2023-09-11 11:47:36 -02:30
Alaister Young a9b5880d78 Merge branch 'master' into chore/remove-pg-meta-schema-store 2023-09-11 17:45:34 +10:00
Joshen Lim 6a60bc78b3 Merge pull request #17237 from supabase/chore/improve-connecting-state-CTAs
Improve connecting state CTAs
2023-09-08 14:56:48 +08:00
Monica Khoury c4e6d451d5 Merge pull request #17242 from supabase/monicakh/update-feedback-msg
Update: feedback notification message
2023-09-07 18:32:42 +03:00
Monica Khoury 67d3cdf251 Update feedback msg 2023-09-07 17:09:53 +03:00
Monica Khoury f62ea577f0 Update FeedbackWidget.tsx 2023-09-07 16:58:16 +03:00
Monica 132e53c591 Update notification message 2023-09-07 16:56:08 +03:00
Monica 41fb6da8a2 Update: feedback notification message 2023-09-07 16:23:49 +03:00
Joshen Lim e491439dbe Improve connecting state CTAs 2023-09-07 17:21:25 +08:00
Alaister Young aea640c2a8 Merge branch 'master' into chore/remove-pg-meta-schema-store 2023-09-07 16:46:01 +10:00
Kevin Grüneberg 47ec07ca3a chore: improve org-billing infos 2023-09-05 16:39:26 +02:00
Kevin Grüneberg 611462a0e7 feat: go-live org-based billing 2023-09-04 13:04:27 +02:00
Kevin Grüneberg 48b6538409 docs: org-based billing 2023-08-31 08:09:20 +02:00
Joshen Lim f134966bbd Add feature flag, and ensure that banner shows up in all ProjectLayout 2023-08-30 17:18:36 +08:00
Joshen Lim 1daa80e15c Scaffold warnings in usage project usage page for CPU and RAM 2023-08-28 16:21:44 +08:00
Joshen Lim 90d6c2556e Merge branch 'master' into feat/project-exhaustion-warnings 2023-08-28 15:09:37 +08:00
Joshen Lim 76df911627 Merge pull request #16772 from supabase/chore/react-query-refactor-part-x
Chore/react query refactor part x
2023-08-25 13:41:34 +08:00
Joshen Lim 73ae74bf06 Update org v1 general settings to use RQ mutation, and deprecate cmdk and cmdk opt in flags 2023-08-24 18:00:43 +08:00
Joshen Lim e3be0a86e8 Support markdown in notifications for informational type 2023-08-24 16:49:45 +08:00
Joshen Lim d5b6de5996 Add branch dropdown in nav v1 2023-08-24 15:47:53 +08:00
Joshen Lim 760500f7cd Remove all other queries that check project read only status 2023-08-23 17:19:44 +08:00
Joshen Lim 7115c81681 Update usage warning banner 2023-08-23 17:16:00 +08:00
Joshen Lim 17d4445ce7 Update warning on card buttons 2023-08-23 15:54:14 +08:00
Joshen Lim cccf9a7da5 Bring in changes from master and resolve conflicts 2023-08-23 14:00:06 +08:00