Commit Graph
67 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 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
TzeYiing 959e38bd89 fix: adjustment for project home bar chart click timestamp filtering 2023-08-17 03:36:21 +08:00
Joshen Lim 2e9411b295 Remove all usage of FC part 3 2023-08-07 14:23:30 +08:00
Terry Sutton 7bc8f05753 Merge pull request #14999 from supabase/feat/button-shadcn
Feat/button shadcn, fix double tabbing in menu nav items
2023-06-19 10:27:49 -02:30
Terry Sutton a1483f6d26 Update studio/components/interfaces/Home/ProjectUsage.tsx 2023-06-15 16:50:46 -02:30
Terry Sutton fde196f48e Add check 2023-06-15 16:33:52 -02:30
Jonathan Summers-Muir f68e79ff71 fixed errors with Button from new changes 2023-06-13 17:36:36 +08:00
Kevin Grüneberg c21ca94777 fix: invalid DOM errors 2023-05-27 18:06:54 +02:00
TzeYiing f0b219cc67 fix: loading state 2023-05-19 01:11:29 +08:00
TzeYiing df14b782ea chore: refactor of project usage charts to use client-side data timestamp filling 2023-05-17 11:37:24 +08:00
TzeYiing 7ac52625b0 fix: typing issue for dayjs 2023-04-26 01:15:36 +09:00
Terry Sutton 1e6477bf11 Move useParams to common packages 2023-03-24 15:16:44 -02:30
Alaister Young aa327999f0 move log stats to react-query 2023-01-04 21:11:34 +00:00
TzeYiing 3b7b7ea32b fix: update chart routing path, add edge logs redirect 2022-12-02 12:31:43 +08:00
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 42f9ed604e Fix padding on ProjectUsage 2022-09-06 09:29:13 -02:30
Joshen Lim 3a7d8d9fd4 Pull master and resolve conflicts 2022-09-01 12:27:45 +08:00
Joshen Lim 5641fad66d Deprecate usage of Typography and remove all unused deprecated files 2022-08-30 13:54:58 +08:00
TzeYiing 041a2cdff3 chore: revert layout changes to report section, add api usage to database page 2022-08-25 02:56:15 +08:00
TzeYiing 1f55321a4d chore: move typings around, remove unused imports, improve type safety 2022-08-25 02:56:15 +08:00
TzeYiing f115a6e53a feat: initial overview preset report 2022-08-25 02:56:15 +08:00
Joshen Lim 559742f44a Update and refactor a couple for files to pre-emptively support new structure from /usage endpoint 2022-08-10 15:31:55 +08:00
Nick Rayburn 0a0cdc16a5 Merge remote-tracking branch 'upstream/master' into fix/type-cleanup
# Conflicts:
#	studio/components/interfaces/Database/Triggers/ChooseFunctionForm.tsx
#	studio/components/interfaces/Home/ProjectUsage.tsx
#	studio/components/ui/Usage.tsx
#	studio/pages/project/[ref]/auth/settings.tsx
2022-06-02 22:06:03 -05:00
Jonathan Summers-Muir d4f49e2a8f chore: remove redundant charts 2022-05-25 18:07:04 +08:00
Nick Rayburn a0c13251d1 Merge remote-tracking branch 'upstream/master' into fix/type-cleanup
# Conflicts:
#	studio/components/interfaces/Database/Pooling/BouncerSettings.tsx
#	studio/pages/project/[ref]/settings/billing/index.tsx
2022-05-24 19:57:37 -05:00
Jonathan Summers-Muir e81272aae0 fix: add type interfaces for dayjs 2022-05-24 18:36:59 +08:00
Nick Rayburn 1a48de2cf7 Update Usage types and move file 2022-05-14 15:00:21 -05:00
Nick Rayburn 85241a401b Update Panel types and move file 2022-05-14 15:00:21 -05:00
Jonathan Summers-Muir 7259377e50 remove spacer 2022-04-27 12:05:52 +08:00
TzeYiing c51ab69e92 Remove logsUsageChartIntervals feature flag 2022-04-11 15:51:09 +02:00
TzeYiing 67c21fbd1c fix: broken navigation to api logs 2022-03-31 16:22:39 +02:00
TzeYiing c11a821c1a fix formatting for second not showing double digits 2022-03-22 16:17:41 +01:00
Jonathan Summers-Muir bf72aad6e4 fix: issue with chart bar links 2022-03-02 10:38:06 +08:00
Jonathan Summers-Muir c52f35cf8b chore: update projectUsage layout. update supabase ui 2022-03-02 10:38:06 +08:00
Joshen Lim e33b5e292f Misc styling fixes 2022-03-01 16:48:24 +08:00
Joshen Lim c7d937c17e Add usage charts 2022-03-01 13:58:55 +08:00
Jonathan Summers-Muir 7d2a8bcee0 chore: updated SidePanels. replaced more text. updated Grid. updated Menus 2022-03-01 13:58:55 +08:00
TzeYiing 4ea64c3928 add in logsUsageCodesPaths feature flag 2022-02-23 17:00:50 +08:00
Joshen Lim c51e351465 Update folder name 2022-02-23 17:00:50 +08:00
Joshen Lim 490d7fa9dd Update styling for project usage charts 2022-02-23 17:00:50 +08:00
TzeYiing 63612b6810 added top api paths implementation 2022-02-23 17:00:50 +08:00
TzeYiing ed312d8f2f remove logging 2022-02-23 17:00:50 +08:00
TzeYiing edc318dc27 added StackedAreaChart implementation 2022-02-23 17:00:50 +08:00
TzeYiing 14092b1dcf add basic components for StackedAreaChart, add elements to ProjectUsage 2022-02-23 17:00:50 +08:00