From 7259023920f7e626b502c13debcea43146b91f5a Mon Sep 17 00:00:00 2001 From: Jose Rodolfo Freitas Date: Tue, 27 Aug 2024 12:17:06 +0200 Subject: [PATCH 01/10] Update Premium price and remove any mention to cap --- docs/src/components/pricing/PricingFAQ.tsx | 11 --- docs/src/components/pricing/PricingTable.tsx | 70 ++----------------- .../pricing/PricingWhatToExpect.tsx | 8 +-- 3 files changed, 6 insertions(+), 83 deletions(-) diff --git a/docs/src/components/pricing/PricingFAQ.tsx b/docs/src/components/pricing/PricingFAQ.tsx index ccff1240d3f2c2..0a84733be3679c 100644 --- a/docs/src/components/pricing/PricingFAQ.tsx +++ b/docs/src/components/pricing/PricingFAQ.tsx @@ -82,17 +82,6 @@ const faqData = [ ), }, - { - summary: 'Why are you calling it "early access"?', - detail: ( - - We think you'll love the features we've built so far, but we're planning to release more. We - opened it up as soon as we had something useful so that you can start getting value from it - right away, and we'll be adding new features and components based on our own ideas, and on - suggestions from early access customers. - - ), - }, { summary: 'Do developers have to be named?', detail: ( diff --git a/docs/src/components/pricing/PricingTable.tsx b/docs/src/components/pricing/PricingTable.tsx index 4f4a68a3ce34d8..ffe9e4bd48c46c 100644 --- a/docs/src/components/pricing/PricingTable.tsx +++ b/docs/src/components/pricing/PricingTable.tsx @@ -10,7 +10,6 @@ import Tooltip from '@mui/material/Tooltip'; import InfoOutlinedIcon from '@mui/icons-material/InfoOutlined'; import { useRouter } from 'next/router'; import KeyboardArrowRightRounded from '@mui/icons-material/KeyboardArrowRightRounded'; -import OpenInNewRoundedIcon from '@mui/icons-material/OpenInNewRounded'; import LaunchRounded from '@mui/icons-material/LaunchRounded'; import UnfoldMoreRounded from '@mui/icons-material/UnfoldMoreRounded'; import { Link } from '@mui/docs/Link'; @@ -94,7 +93,7 @@ export function PlanPrice(props: PlanPriceProps) { const { licenseModel } = useLicenseModel(); const annual = licenseModel === 'annual'; - const planPriceMinHeight = 64; + const planPriceMinHeight = 24; if (plan === 'community') { return ( @@ -103,7 +102,7 @@ export function PlanPrice(props: PlanPriceProps) { $0 @@ -165,19 +164,6 @@ export function PlanPrice(props: PlanPriceProps) { {priceExplanation} )} - - - No extra fees for orders with over 10 devs  - - - - by Aug 30 - - - - - . - ); @@ -185,10 +171,7 @@ export function PlanPrice(props: PlanPriceProps) { // else Premium const originalPriceMultiplicator = monthlyDisplay ? 1 : 12; - const premiumOriginalValue = annual - ? 49 * originalPriceMultiplicator - : 49 * 3 * originalPriceMultiplicator; - const premiumMonthlyValue = annual ? 37 : 37 * 3; + const premiumMonthlyValue = annual ? 49 : 49 * 3; const premiumAnnualValue = premiumMonthlyValue * 12; const premiumDisplayedValue = monthlyDisplay ? premiumMonthlyValue : premiumAnnualValue; @@ -200,34 +183,6 @@ export function PlanPrice(props: PlanPriceProps) { - ({ - borderRadius: 0.5, - alignSelf: 'flex-end', - textDecoration: 'line-through', - py: 0.5, - px: 1, - mb: 0.5, - fontWeight: 'medium', - bgcolor: 'error.50', - color: 'error.500', - border: '1px solid', - borderColor: 'error.100', - ...theme.applyDarkStyles({ - color: 'error.300', - bgcolor: 'error.900', - borderColor: 'error.800', - }), - }), - ]} - > - {formatCurrency(premiumOriginalValue)} - {formatCurrency(premiumDisplayedValue)} @@ -252,18 +207,6 @@ export function PlanPrice(props: PlanPriceProps) { {priceExplanation} )} - - šŸ¦ Early Bird: 25% off if ordered   - - - - by Aug 30 - {' '} - - - - . - ); @@ -939,12 +882,7 @@ const proData: Record = { 'response-time': no, 'pre-screening': no, 'issue-escalation': no, - 'security-questionnaire': ( - - ), + 'security-questionnaire': , }; const premiumData: Record = { diff --git a/docs/src/components/pricing/PricingWhatToExpect.tsx b/docs/src/components/pricing/PricingWhatToExpect.tsx index fbb5668b3544c4..843e6c53eee259 100644 --- a/docs/src/components/pricing/PricingWhatToExpect.tsx +++ b/docs/src/components/pricing/PricingWhatToExpect.tsx @@ -180,12 +180,8 @@ export default function PricingWhatToExpect() { - The Pro plan is capped at 10 developers licensed; you do not need to pay for additional - licenses for more than 10 developers. -
-
- You can contact sales for a volume discount - when licensing over 25 developers under the Premium plan. + Have a team of 25 or more developers? Get in touch with our{' '} + sales team for a volume discount.
From 3f21ba057ba6dd01d4af2968901ebca07c5867d2 Mon Sep 17 00:00:00 2001 From: Jose Rodolfo Freitas Date: Tue, 27 Aug 2024 14:58:48 +0200 Subject: [PATCH 02/10] Remove unused variable --- docs/src/components/pricing/PricingTable.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/src/components/pricing/PricingTable.tsx b/docs/src/components/pricing/PricingTable.tsx index ffe9e4bd48c46c..4e6ef20ce5698c 100644 --- a/docs/src/components/pricing/PricingTable.tsx +++ b/docs/src/components/pricing/PricingTable.tsx @@ -169,8 +169,6 @@ export function PlanPrice(props: PlanPriceProps) { ); } // else Premium - - const originalPriceMultiplicator = monthlyDisplay ? 1 : 12; const premiumMonthlyValue = annual ? 49 : 49 * 3; const premiumAnnualValue = premiumMonthlyValue * 12; From 514f0081d329d86340f2f0abbd4e1e101d798eba Mon Sep 17 00:00:00 2001 From: Jose Rodolfo Freitas Date: Mon, 2 Sep 2024 10:08:06 +0200 Subject: [PATCH 03/10] update pricing table with charts newest updates --- docs/src/components/pricing/PricingTable.tsx | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/docs/src/components/pricing/PricingTable.tsx b/docs/src/components/pricing/PricingTable.tsx index 4e6ef20ce5698c..dc3601b95ec6a8 100644 --- a/docs/src/components/pricing/PricingTable.tsx +++ b/docs/src/components/pricing/PricingTable.tsx @@ -576,8 +576,8 @@ const rowHeaders: Record = { 'charts/pie': , 'charts/sparkline': , 'charts/gauge': , - 'charts/treemap': , 'charts/heatmap': , + 'charts/treemap': , 'charts/radar': , 'charts/funnel': , 'charts/sankey': , @@ -750,8 +750,8 @@ const communityData: Record = { 'charts/pie': yes, 'charts/sparkline': yes, 'charts/gauge': yes, - 'charts/treemap': pending, 'charts/heatmap': no, + 'charts/treemap': pending, 'charts/radar': pending, 'charts/funnel': no, 'charts/sankey': no, @@ -847,8 +847,9 @@ const proData: Record = { 'charts/pie': yes, 'charts/sparkline': yes, 'charts/gauge': yes, + 'charts/heatmap': yes, 'charts/treemap': pending, - 'charts/heatmap': pending, + 'charts/radar': pending, 'charts/funnel': pending, 'charts/sankey': pending, @@ -859,7 +860,7 @@ const proData: Record = { // charts - features 'charts/legend': yes, 'charts/tooltip': yes, - 'charts/mouse-zoom': pending, + 'charts/mouse-zoom': yes, 'charts/export': pending, // charts - datagrid 'charts/cell-with-charts': yes, @@ -944,8 +945,8 @@ const premiumData: Record = { 'charts/pie': yes, 'charts/sparkline': yes, 'charts/gauge': yes, + 'charts/heatmap': yes, 'charts/treemap': pending, - 'charts/heatmap': pending, 'charts/radar': pending, 'charts/funnel': pending, 'charts/sankey': pending, @@ -956,7 +957,7 @@ const premiumData: Record = { // charts - features 'charts/legend': yes, 'charts/tooltip': yes, - 'charts/mouse-zoom': pending, + 'charts/mouse-zoom': yes, 'charts/export': pending, // charts - datagrid 'charts/cell-with-charts': yes, @@ -1520,12 +1521,12 @@ export default function PricingTable({ {divider} {renderNestedRow('charts/gauge')} {divider} + {renderNestedRow('charts/heatmap')} + {divider} {renderNestedRow('charts/treemap')} {divider} {renderNestedRow('charts/radar')} {divider} - {renderNestedRow('charts/heatmap')} - {divider} {renderNestedRow('charts/funnel')} {divider} {renderNestedRow('charts/sankey')} From 1246a49d123e17da03da5aea75002f7ef2c927a4 Mon Sep 17 00:00:00 2001 From: Jose Rodolfo Freitas Date: Mon, 2 Sep 2024 10:08:19 +0200 Subject: [PATCH 04/10] prettier --- docs/src/components/pricing/PricingTable.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/components/pricing/PricingTable.tsx b/docs/src/components/pricing/PricingTable.tsx index dc3601b95ec6a8..0fa6544f780ca5 100644 --- a/docs/src/components/pricing/PricingTable.tsx +++ b/docs/src/components/pricing/PricingTable.tsx @@ -849,7 +849,7 @@ const proData: Record = { 'charts/gauge': yes, 'charts/heatmap': yes, 'charts/treemap': pending, - + 'charts/radar': pending, 'charts/funnel': pending, 'charts/sankey': pending, From 348bf71d3a180af6fe60f7649c88e6ee5ac1ae3e Mon Sep 17 00:00:00 2001 From: Jose Rodolfo Freitas Date: Mon, 2 Sep 2024 10:51:00 +0200 Subject: [PATCH 05/10] Add details to TreeView pricing --- docs/src/components/pricing/PricingTable.tsx | 105 ++++++++++++++++++- 1 file changed, 100 insertions(+), 5 deletions(-) diff --git a/docs/src/components/pricing/PricingTable.tsx b/docs/src/components/pricing/PricingTable.tsx index 0fa6544f780ca5..33b845e94daa25 100644 --- a/docs/src/components/pricing/PricingTable.tsx +++ b/docs/src/components/pricing/PricingTable.tsx @@ -596,7 +596,15 @@ const rowHeaders: Record = { ), 'charts/filter-interaction': , 'charts/selection-interaction': , - 'tree-view/tree-view': , + // Treeview - components + 'tree-view/simple-tree-view': , + 'tree-view/rich-tree-view': , + + // Treeview - advanced features + 'tree-view/inline-editing': , + 'tree-view/drag-to-reorder': , + 'tree-view/virtualization': , + 'mui-x-production': , 'mui-x-development': , 'mui-x-development-perpetual': ( @@ -769,7 +777,11 @@ const communityData: Record = { 'charts/filter-interaction': no, 'charts/selection-interaction': no, // Tree View - 'tree-view/tree-view': yes, + 'tree-view/simple-tree-view': yes, + 'tree-view/rich-tree-view': yes, + 'tree-view/inline-editing': yes, + 'tree-view/drag-to-reorder': no, + 'tree-view/virtualization': no, // general 'mui-x-production': yes, 'mui-x-updates': yes, @@ -867,7 +879,11 @@ const proData: Record = { 'charts/filter-interaction': pending, 'charts/selection-interaction': no, // Tree View - 'tree-view/tree-view': yes, + 'tree-view/simple-tree-view': yes, + 'tree-view/rich-tree-view': yes, + 'tree-view/inline-editing': yes, + 'tree-view/drag-to-reorder': yes, + 'tree-view/virtualization': pending, // general 'mui-x-production': yes, 'mui-x-development': , @@ -964,7 +980,11 @@ const premiumData: Record = { 'charts/filter-interaction': pending, 'charts/selection-interaction': pending, // Tree View - 'tree-view/tree-view': yes, + 'tree-view/simple-tree-view': yes, + 'tree-view/rich-tree-view': yes, + 'tree-view/inline-editing': yes, + 'tree-view/drag-to-reorder': yes, + 'tree-view/virtualization': pending, // general 'mui-x-production': yes, 'mui-x-development': , @@ -1210,11 +1230,13 @@ export default function PricingTable({ const router = useRouter(); const [dataGridCollapsed, setDataGridCollapsed] = React.useState(false); const [chartsCollapsed, setChartsCollapsed] = React.useState(false); + const [treeViewCollapsed, setTreeViewCollapsed] = React.useState(false); React.useEffect(() => { if (router.query['expand-path'] === 'all') { setDataGridCollapsed(true); setChartsCollapsed(true); + setTreeViewCollapsed(true); } }, [router.query]); @@ -1248,6 +1270,12 @@ export default function PricingTable({ sx={{ color: 'grey.600', opacity: chartsCollapsed ? 0 : 1 }} /> ); + const treeViewUnfoldMore = ( + + ); const renderRow = (key: string) => renderMasterRow(key, gridSx, plans); const renderNestedRow = (key: string) => renderMasterRow(key, nestedGridSx, plans); @@ -1556,7 +1584,74 @@ export default function PricingTable({ {renderNestedRow('charts/selection-interaction')} {divider} - {renderRow('tree-view/tree-view')} + + + {treeViewUnfoldMore} + + {treeViewUnfoldMore} + + {treeViewUnfoldMore} + + + + Components + {renderNestedRow('tree-view/simple-tree-view')} + {divider} + {renderNestedRow('tree-view/rich-tree-view')} + {divider} + Advanced features + {renderNestedRow('tree-view/inline-editing')} + {divider} + {renderNestedRow('tree-view/drag-to-reorder')} + {divider} + {renderNestedRow('tree-view/virtualization')} + {divider} + {divider} {renderRow('mui-x-production')} {divider} From 5a7de3a7726f42d43427d6be0c8e81e22df5be77 Mon Sep 17 00:00:00 2001 From: Jose Rodolfo Freitas Date: Mon, 2 Sep 2024 10:54:39 +0200 Subject: [PATCH 06/10] prettier --- docs/src/components/pricing/PricingTable.tsx | 22 ++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/docs/src/components/pricing/PricingTable.tsx b/docs/src/components/pricing/PricingTable.tsx index 33b845e94daa25..2eae0b8bb478f9 100644 --- a/docs/src/components/pricing/PricingTable.tsx +++ b/docs/src/components/pricing/PricingTable.tsx @@ -597,14 +597,22 @@ const rowHeaders: Record = { 'charts/filter-interaction': , 'charts/selection-interaction': , // Treeview - components - 'tree-view/simple-tree-view': , - 'tree-view/rich-tree-view': , + 'tree-view/simple-tree-view': ( + + ), + 'tree-view/rich-tree-view': ( + + ), // Treeview - advanced features - 'tree-view/inline-editing': , - 'tree-view/drag-to-reorder': , + 'tree-view/inline-editing': ( + + ), + 'tree-view/drag-to-reorder': ( + + ), 'tree-view/virtualization': , - + 'mui-x-production': , 'mui-x-development': , 'mui-x-development-perpetual': ( @@ -1598,7 +1606,9 @@ export default function PricingTable({ {treeViewUnfoldMore} - {treeViewUnfoldMore} + + {treeViewUnfoldMore} +