Commit Graph
44 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 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
Alaister Young f45f5e4e0d adds profile context 2023-06-27 21:31:12 +10:00
Jonathan Summers-Muir f68e79ff71 fixed errors with Button from new changes 2023-06-13 17:36:36 +08:00
Alaister Young 13459a711a fix: multiple profile creation 2023-06-12 18:25:58 +10:00
Alaister Young 9c4d82c021 adds new useProfile hook 2023-05-15 21:37:38 +10:00
Terry Sutton df2815975c Merge branch 'master' into chore/cleanup-tw-and-radix-colours 2023-04-17 13:01:31 -02:30
Ziinc a07b2dbcd7 Merge pull request #13166 from supabase/feat/local-logs
feat: initial local logflare integration
2023-03-30 12:55:09 +08:00
TzeYiing acb95f1056 feat: intiial local logflare integration 2023-03-29 14:55:41 +08:00
Jonathan Summers-Muir e53214f3bc remove old prop 2023-03-27 14:42:41 +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
Alaister Young 1c5d32d6d8 swap userUser() to useProfileQuery() 2023-03-09 12:14:25 +08:00
Alaister Young ca1b6e97f4 chore: refactor authn: deprecate /profile endpoint 2023-03-09 12:14:25 +08:00
Joshen Lim 86bd1a2f75 Small style fix for link to logs explorer from API reports 2023-03-01 19:37:06 +08:00
Terry Sutton 43637fafdc Fix ui references 2023-01-11 23:50:42 -03:30
TzeYiing 1d77fbf775 docs: add link to platform logs explorer docs 2022-12-21 20:57:58 +08:00
Terry Sutton db5c40d61e Merge branch 'master' into chore/show-upgrade-prompt-in-logs-explorer 2022-10-06 16:35:14 -02:30
Jonathan Summers-Muir 55329d540e move to ui package drectory 2022-09-19 14:00:05 +02:00
Jonathan Summers-Muir a4d37836a5 update all imports 2022-09-19 12:24:59 +02:00
Jonathan Summers-Muir bc73301b8e revert 2022-09-16 12:57:56 +02:00
Jonathan Summers-Muir e122dd0983 update import paths 2022-09-14 17:49:53 +02:00
Terry Sutton d72db30879 Merge branch 'master' into chore/show-upgrade-prompt-in-logs-explorer 2022-08-30 14:36:16 -02:30
Joshen Lim 5641fad66d Deprecate usage of Typography and remove all unused deprecated files 2022-08-30 13:54:58 +08:00
Joshen Lim 5e3d4f4d68 Add abac for saving query in logs explorer 2022-08-26 13:11:25 +08:00
Terry Sutton cc01ed462c Remove unused import 2022-08-05 13:54:34 -02:30
TzeYiing 0580b830d5 chore: remove logsSavedQueries feature flag 2022-07-25 14:04:56 +08:00
Ollie Halliday 48600d53a2 ran prettier 2022-07-08 16:29:10 +01:00
Ollie Halliday 3a207c5727 changed sort on source and templates 2022-07-08 16:28:29 +01:00
Ollie Halliday f4b509c7c3 source titles text scale change 2022-07-08 16:16:11 +01:00
TzeYiing d54a156a91 fixed failing tests, extended tests to cover monaco command 2022-04-27 14:10:07 +02:00
TzeYiing d34319a210 fix: Added a limit clause warning for validating that explorer queries are restricted 2022-04-20 18:45:39 +02:00
TzeYiing 8a462028ec feat: Added date range picker warning, added stricter typings for datepicker callbacks 2022-04-20 18:45:39 +02:00
TzeYiing d6fc79fac6 fix: optimize log querying logic, improve datepickers ux 2022-04-20 18:45:39 +02:00
TzeYiing da05d31247 Add datepicker to logs explorer, ux fixes 2022-04-20 18:45:39 +02:00
TzeYiing 7fc1a5364e fix: Hide save query button based on feature flag 2022-03-31 01:34:46 +08:00
Jonathan Summers-Muir 3c694af85c chore: expandable function added to saved queries table 2022-03-30 14:44:55 +02:00
TzeYiing 93b073d156 polish: added source descriptions 2022-03-30 14:44:55 +02:00
Jonathan Summers-Muir 95a2d9e924 chore: add basic saving functionality 2022-03-30 14:44:55 +02:00
TzeYiing 9359760711 added source insertion logic 2022-03-30 14:43:10 +02:00
TzeYiing 6c31bd5440 chore: fixed failing tests, renamed LogPanel to LogsQueryPanel, refactoredLogPanel 2022-03-30 14:43:08 +02:00