Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Clean the pages in the navbar #13192

Merged
merged 1 commit into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 17 additions & 32 deletions docs/data/pages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const pages: MuiPage[] = [
{ pathname: '/x/react-data-grid/row-definition' },
{ pathname: '/x/react-data-grid/row-updates' },
{ pathname: '/x/react-data-grid/row-height' },
{ pathname: '/x/react-data-grid/row-spanning', title: 'Row spanning', planned: true },
{ pathname: '/x/react-data-grid/row-spanning', planned: true },
{ pathname: '/x/react-data-grid/master-detail', plan: 'pro' },
{ pathname: '/x/react-data-grid/row-ordering', plan: 'pro' },
{ pathname: '/x/react-data-grid/row-pinning', plan: 'pro' },
Expand Down Expand Up @@ -108,13 +108,8 @@ const pages: MuiPage[] = [
children: [
{ pathname: '/x/react-data-grid/tree-data', plan: 'pro' },
{ pathname: '/x/react-data-grid/row-grouping', plan: 'premium' },
{ pathname: '/x/react-data-grid/aggregation', title: 'Aggregation', plan: 'premium' },
{
pathname: '/x/react-data-grid/pivoting',
title: 'Pivoting',
plan: 'premium',
planned: true,
},
{ pathname: '/x/react-data-grid/aggregation', plan: 'premium' },
{ pathname: '/x/react-data-grid/pivoting', plan: 'premium', planned: true },
],
},
{
Expand All @@ -125,38 +120,28 @@ const pages: MuiPage[] = [
{ pathname: '/x/react-data-grid/server-side-data', title: 'Overview', planned: true },
{
pathname: '/x/react-data-grid/server-side-data/lazy-loading',
title: 'Lazy loading',
plan: 'pro',
planned: true,
},
{
pathname: '/x/react-data-grid/server-side-data/infinite-loading',
title: 'Infinite loading',
plan: 'pro',
planned: true,
},
{
pathname: '/x/react-data-grid/server-side-data/tree-data',
title: 'Tree data',
plan: 'pro',
planned: true,
},
{ pathname: '/x/react-data-grid/server-side-data/tree-data', plan: 'pro', planned: true },
{
pathname: '/x/react-data-grid/server-side-data/row-grouping',
title: 'Row grouping',
plan: 'pro',
planned: true,
},
{
pathname: '/x/react-data-grid/server-side-data/aggregation',
title: 'Aggregation',
plan: 'premium',
planned: true,
},
],
},
{
title: 'Advanced',
pathname: '/x/react-data-grid/advanced',
children: [
{ pathname: '/x/react-data-grid/api-object', title: 'API object' },
Expand All @@ -165,7 +150,6 @@ const pages: MuiPage[] = [
],
},
{
title: 'Recipes',
pathname: '/x/react-data-grid/recipes',
children: [
{ pathname: '/x/react-data-grid/recipes-editing', title: 'Editing' },
Expand Down Expand Up @@ -312,7 +296,8 @@ const pages: MuiPage[] = [
children: [
{
pathname: '/x/react-date-pickers/time-range-picker',
title: 'Time Range Picker 🚧',
title: 'Time Range Picker',
planned: true,
},
{
pathname: '/x/react-date-pickers/time-range-field',
Expand Down Expand Up @@ -436,18 +421,18 @@ const pages: MuiPage[] = [
pathname: '/x/react-charts/sparkline',
title: 'Sparkline',
},
{ pathname: '/x/react-charts/gauge', title: 'Gauge' },
{ pathname: '/x/react-charts/gauge' },
{
pathname: '/x/react-charts/common-features',
subheader: 'Common features',
children: [
{ pathname: '/x/react-charts/axis', title: 'Axis' },
{ pathname: '/x/react-charts/axis' },
{ pathname: '/x/react-charts/components', title: 'Custom components' },
{ pathname: '/x/react-charts/composition', title: 'Composition' },
{ pathname: '/x/react-charts/label', title: 'Label' },
{ pathname: '/x/react-charts/legend', title: 'Legend' },
{ pathname: '/x/react-charts/stacking', title: 'Stacking' },
{ pathname: '/x/react-charts/styling', title: 'Styling' },
{ pathname: '/x/react-charts/composition' },
{ pathname: '/x/react-charts/label' },
{ pathname: '/x/react-charts/legend' },
{ pathname: '/x/react-charts/stacking' },
{ pathname: '/x/react-charts/styling' },
{ pathname: '/x/react-charts/tooltip', title: 'Tooltip & Highlights' },
],
},
Expand All @@ -473,17 +458,17 @@ const pages: MuiPage[] = [
pathname: '/x/react-charts-future',
subheader: 'Future components',
children: [
{ pathname: '/x/react-charts/radar', title: 'Radar', planned: true },
{ pathname: '/x/react-charts/radar', planned: true },
{ pathname: '/x/react-charts/tree-map', title: 'Treemap', planned: true },
{
pathname: '/x/react-charts/heat-map',
title: 'Heatmap',
plan: 'pro',
planned: true,
},
{ pathname: '/x/react-charts/funnel', title: 'Funnel', plan: 'pro', planned: true },
{ pathname: '/x/react-charts/sankey', title: 'Sankey', plan: 'pro', planned: true },
{ pathname: '/x/react-charts/gantt', title: 'Gantt', plan: 'pro', planned: true },
{ pathname: '/x/react-charts/funnel', plan: 'pro', planned: true },
{ pathname: '/x/react-charts/sankey', plan: 'pro', planned: true },
{ pathname: '/x/react-charts/gantt', plan: 'pro', planned: true },
],
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {

/**
* Implements the same behavior as `useControlled` but for several models.
* The controlled models are never stored in the state and the state is only updated if the model is not controlled.
* The controlled models are never stored in the state, and the state is only updated if the model is not controlled.
*/
export const useTreeViewModels = <
TPlugins extends readonly TreeViewPlugin<TreeViewAnyPluginSignature>[],
Expand Down
Loading