From bc67e35abbbf38e64a9dce48eb31e452008d3ccd Mon Sep 17 00:00:00 2001 From: Prakhar Gupta <92228082+prakhargupta1@users.noreply.github.com> Date: Mon, 10 Feb 2025 14:40:03 +0530 Subject: [PATCH 1/3] remove --- .../notification-center.md | 15 -------------- .../data/toolpad/core/components/rbac/rbac.md | 15 -------------- .../components/sign-up-page/sign-up-page.md | 15 -------------- .../core/components/stat-card/stat-card.md | 15 -------------- docs/data/toolpad/core/pages.ts | 20 ------------------- .../core/react-notification-center/index.js | 7 ------- docs/pages/toolpad/core/react-rbac/index.js | 7 ------- .../toolpad/core/react-sign-up-page/index.js | 7 ------- .../toolpad/core/react-stat-card/index.js | 7 ------- 9 files changed, 108 deletions(-) delete mode 100644 docs/data/toolpad/core/components/notification-center/notification-center.md delete mode 100644 docs/data/toolpad/core/components/rbac/rbac.md delete mode 100644 docs/data/toolpad/core/components/sign-up-page/sign-up-page.md delete mode 100644 docs/data/toolpad/core/components/stat-card/stat-card.md delete mode 100644 docs/pages/toolpad/core/react-notification-center/index.js delete mode 100644 docs/pages/toolpad/core/react-rbac/index.js delete mode 100644 docs/pages/toolpad/core/react-sign-up-page/index.js delete mode 100644 docs/pages/toolpad/core/react-stat-card/index.js diff --git a/docs/data/toolpad/core/components/notification-center/notification-center.md b/docs/data/toolpad/core/components/notification-center/notification-center.md deleted file mode 100644 index 627c1e55178..00000000000 --- a/docs/data/toolpad/core/components/notification-center/notification-center.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -productId: toolpad-core -title: Notification Center ---- - -# Notification Center 🚧 - -

Notification Center provides a bell icon in the app bar to view and manage notifications.

- -:::warning -The Notification Center component isn't available yet, but you can upvote [**this GitHub issue**](https://github.com/mui/toolpad/issues/4148) to see it arrive sooner. - -Don't hesitate to leave a comment there to influence what gets built. -Especially if you already have a use case for this component, or if you're facing a pain point with your current solution. -::: diff --git a/docs/data/toolpad/core/components/rbac/rbac.md b/docs/data/toolpad/core/components/rbac/rbac.md deleted file mode 100644 index 3b3ebb6a434..00000000000 --- a/docs/data/toolpad/core/components/rbac/rbac.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -productId: toolpad-core -title: Role based access control ---- - -# Role based access control 🚧 - -

RBAC lets you manage page permissions through user roles.

- -:::warning -The RBAC component isn't available yet, but you can upvote [**this GitHub issue**](https://github.com/mui/toolpad/issues/4120) to see it arrive sooner. - -Don't hesitate to leave a comment there to influence what gets built. -Especially if you already have a use case for this component, or if you're facing a pain point with your current solution. -::: diff --git a/docs/data/toolpad/core/components/sign-up-page/sign-up-page.md b/docs/data/toolpad/core/components/sign-up-page/sign-up-page.md deleted file mode 100644 index ae978f3779a..00000000000 --- a/docs/data/toolpad/core/components/sign-up-page/sign-up-page.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -productId: toolpad-core -title: Sign-up Page ---- - -# Sign-up Page 🚧 - -

A customizable sign-up component that abstracts away the pain needed to wire together a secure sign-up/register page for your application..

- -:::warning -The Sign-up component isn't available yet, but you can upvote [**this GitHub issue**](https://github.com/mui/toolpad/issues/4068) to see it arrive sooner. - -Don't hesitate to leave a comment there to influence what gets built. -Especially if you already have a use case for this component, or if you're facing a pain point with your current solution. -::: diff --git a/docs/data/toolpad/core/components/stat-card/stat-card.md b/docs/data/toolpad/core/components/stat-card/stat-card.md deleted file mode 100644 index 8d6c38f8e93..00000000000 --- a/docs/data/toolpad/core/components/stat-card/stat-card.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -productId: toolpad-core -title: Stat Card ---- - -# Stat Card 🚧 - -

Stat Card displays a single aggregated value along with a trend over a time period.

- -:::warning -The Stat Card component isn't available yet, but you can upvote [**this GitHub issue**](https://github.com/mui/toolpad/issues/4069) to see it arrive sooner. - -Don't hesitate to leave a comment there to influence what gets built. -Especially if you already have a use case for this component, or if you're facing a pain point with your current solution. -::: diff --git a/docs/data/toolpad/core/pages.ts b/docs/data/toolpad/core/pages.ts index 4e8d6831433..d178c4b369e 100644 --- a/docs/data/toolpad/core/pages.ts +++ b/docs/data/toolpad/core/pages.ts @@ -84,11 +84,6 @@ const pages: MuiPage[] = [ pathname: '/toolpad/core/react-page-container', title: 'Page Container', }, - { - pathname: '/toolpad/core/react-notification-center', - title: 'Notification Center', - planned: true, - }, ], }, { @@ -103,16 +98,6 @@ const pages: MuiPage[] = [ pathname: '/toolpad/core/react-account', title: 'Account', }, - { - pathname: '/toolpad/core/react-sign-up-page', - title: 'Sign-up Page', - planned: true, - }, - { - pathname: '/toolpad/core/react-rbac', - title: 'RBAC', - planned: true, - }, ], }, { @@ -124,11 +109,6 @@ const pages: MuiPage[] = [ title: 'CRUD', planned: true, }, - { - pathname: '/toolpad/core/react-stat-card', - title: 'Stats Card', - planned: true, - }, ], }, { diff --git a/docs/pages/toolpad/core/react-notification-center/index.js b/docs/pages/toolpad/core/react-notification-center/index.js deleted file mode 100644 index 79f2887cc71..00000000000 --- a/docs/pages/toolpad/core/react-notification-center/index.js +++ /dev/null @@ -1,7 +0,0 @@ -import * as React from 'react'; -import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; -import * as pageProps from '../../../../data/toolpad/core/components/notification-center/notification-center.md?muiMarkdown'; - -export default function Page() { - return ; -} diff --git a/docs/pages/toolpad/core/react-rbac/index.js b/docs/pages/toolpad/core/react-rbac/index.js deleted file mode 100644 index 4e3af74259b..00000000000 --- a/docs/pages/toolpad/core/react-rbac/index.js +++ /dev/null @@ -1,7 +0,0 @@ -import * as React from 'react'; -import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; -import * as pageProps from '../../../../data/toolpad/core/components/rbac/rbac.md?muiMarkdown'; - -export default function Page() { - return ; -} diff --git a/docs/pages/toolpad/core/react-sign-up-page/index.js b/docs/pages/toolpad/core/react-sign-up-page/index.js deleted file mode 100644 index 600a0d77884..00000000000 --- a/docs/pages/toolpad/core/react-sign-up-page/index.js +++ /dev/null @@ -1,7 +0,0 @@ -import * as React from 'react'; -import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; -import * as pageProps from '../../../../data/toolpad/core/components/sign-up-page/sign-up-page.md?muiMarkdown'; - -export default function Page() { - return ; -} diff --git a/docs/pages/toolpad/core/react-stat-card/index.js b/docs/pages/toolpad/core/react-stat-card/index.js deleted file mode 100644 index f461440b50a..00000000000 --- a/docs/pages/toolpad/core/react-stat-card/index.js +++ /dev/null @@ -1,7 +0,0 @@ -import * as React from 'react'; -import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; -import * as pageProps from '../../../../data/toolpad/core/components/stat-card/stat-card.md?muiMarkdown'; - -export default function Page() { - return ; -} From f0c07159d076b141d4d74bb2f3d14dbddb8e97aa Mon Sep 17 00:00:00 2001 From: Prakhar Gupta <92228082+prakhargupta1@users.noreply.github.com> Date: Mon, 10 Feb 2025 20:51:07 +0530 Subject: [PATCH 2/3] Revert "remove" This reverts commit bc67e35abbbf38e64a9dce48eb31e452008d3ccd. --- .../notification-center.md | 15 ++++++++++++++ .../data/toolpad/core/components/rbac/rbac.md | 15 ++++++++++++++ .../components/sign-up-page/sign-up-page.md | 15 ++++++++++++++ .../core/components/stat-card/stat-card.md | 15 ++++++++++++++ docs/data/toolpad/core/pages.ts | 20 +++++++++++++++++++ .../core/react-notification-center/index.js | 7 +++++++ docs/pages/toolpad/core/react-rbac/index.js | 7 +++++++ .../toolpad/core/react-sign-up-page/index.js | 7 +++++++ .../toolpad/core/react-stat-card/index.js | 7 +++++++ 9 files changed, 108 insertions(+) create mode 100644 docs/data/toolpad/core/components/notification-center/notification-center.md create mode 100644 docs/data/toolpad/core/components/rbac/rbac.md create mode 100644 docs/data/toolpad/core/components/sign-up-page/sign-up-page.md create mode 100644 docs/data/toolpad/core/components/stat-card/stat-card.md create mode 100644 docs/pages/toolpad/core/react-notification-center/index.js create mode 100644 docs/pages/toolpad/core/react-rbac/index.js create mode 100644 docs/pages/toolpad/core/react-sign-up-page/index.js create mode 100644 docs/pages/toolpad/core/react-stat-card/index.js diff --git a/docs/data/toolpad/core/components/notification-center/notification-center.md b/docs/data/toolpad/core/components/notification-center/notification-center.md new file mode 100644 index 00000000000..627c1e55178 --- /dev/null +++ b/docs/data/toolpad/core/components/notification-center/notification-center.md @@ -0,0 +1,15 @@ +--- +productId: toolpad-core +title: Notification Center +--- + +# Notification Center 🚧 + +

Notification Center provides a bell icon in the app bar to view and manage notifications.

+ +:::warning +The Notification Center component isn't available yet, but you can upvote [**this GitHub issue**](https://github.com/mui/toolpad/issues/4148) to see it arrive sooner. + +Don't hesitate to leave a comment there to influence what gets built. +Especially if you already have a use case for this component, or if you're facing a pain point with your current solution. +::: diff --git a/docs/data/toolpad/core/components/rbac/rbac.md b/docs/data/toolpad/core/components/rbac/rbac.md new file mode 100644 index 00000000000..3b3ebb6a434 --- /dev/null +++ b/docs/data/toolpad/core/components/rbac/rbac.md @@ -0,0 +1,15 @@ +--- +productId: toolpad-core +title: Role based access control +--- + +# Role based access control 🚧 + +

RBAC lets you manage page permissions through user roles.

+ +:::warning +The RBAC component isn't available yet, but you can upvote [**this GitHub issue**](https://github.com/mui/toolpad/issues/4120) to see it arrive sooner. + +Don't hesitate to leave a comment there to influence what gets built. +Especially if you already have a use case for this component, or if you're facing a pain point with your current solution. +::: diff --git a/docs/data/toolpad/core/components/sign-up-page/sign-up-page.md b/docs/data/toolpad/core/components/sign-up-page/sign-up-page.md new file mode 100644 index 00000000000..ae978f3779a --- /dev/null +++ b/docs/data/toolpad/core/components/sign-up-page/sign-up-page.md @@ -0,0 +1,15 @@ +--- +productId: toolpad-core +title: Sign-up Page +--- + +# Sign-up Page 🚧 + +

A customizable sign-up component that abstracts away the pain needed to wire together a secure sign-up/register page for your application..

+ +:::warning +The Sign-up component isn't available yet, but you can upvote [**this GitHub issue**](https://github.com/mui/toolpad/issues/4068) to see it arrive sooner. + +Don't hesitate to leave a comment there to influence what gets built. +Especially if you already have a use case for this component, or if you're facing a pain point with your current solution. +::: diff --git a/docs/data/toolpad/core/components/stat-card/stat-card.md b/docs/data/toolpad/core/components/stat-card/stat-card.md new file mode 100644 index 00000000000..8d6c38f8e93 --- /dev/null +++ b/docs/data/toolpad/core/components/stat-card/stat-card.md @@ -0,0 +1,15 @@ +--- +productId: toolpad-core +title: Stat Card +--- + +# Stat Card 🚧 + +

Stat Card displays a single aggregated value along with a trend over a time period.

+ +:::warning +The Stat Card component isn't available yet, but you can upvote [**this GitHub issue**](https://github.com/mui/toolpad/issues/4069) to see it arrive sooner. + +Don't hesitate to leave a comment there to influence what gets built. +Especially if you already have a use case for this component, or if you're facing a pain point with your current solution. +::: diff --git a/docs/data/toolpad/core/pages.ts b/docs/data/toolpad/core/pages.ts index d178c4b369e..4e8d6831433 100644 --- a/docs/data/toolpad/core/pages.ts +++ b/docs/data/toolpad/core/pages.ts @@ -84,6 +84,11 @@ const pages: MuiPage[] = [ pathname: '/toolpad/core/react-page-container', title: 'Page Container', }, + { + pathname: '/toolpad/core/react-notification-center', + title: 'Notification Center', + planned: true, + }, ], }, { @@ -98,6 +103,16 @@ const pages: MuiPage[] = [ pathname: '/toolpad/core/react-account', title: 'Account', }, + { + pathname: '/toolpad/core/react-sign-up-page', + title: 'Sign-up Page', + planned: true, + }, + { + pathname: '/toolpad/core/react-rbac', + title: 'RBAC', + planned: true, + }, ], }, { @@ -109,6 +124,11 @@ const pages: MuiPage[] = [ title: 'CRUD', planned: true, }, + { + pathname: '/toolpad/core/react-stat-card', + title: 'Stats Card', + planned: true, + }, ], }, { diff --git a/docs/pages/toolpad/core/react-notification-center/index.js b/docs/pages/toolpad/core/react-notification-center/index.js new file mode 100644 index 00000000000..79f2887cc71 --- /dev/null +++ b/docs/pages/toolpad/core/react-notification-center/index.js @@ -0,0 +1,7 @@ +import * as React from 'react'; +import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; +import * as pageProps from '../../../../data/toolpad/core/components/notification-center/notification-center.md?muiMarkdown'; + +export default function Page() { + return ; +} diff --git a/docs/pages/toolpad/core/react-rbac/index.js b/docs/pages/toolpad/core/react-rbac/index.js new file mode 100644 index 00000000000..4e3af74259b --- /dev/null +++ b/docs/pages/toolpad/core/react-rbac/index.js @@ -0,0 +1,7 @@ +import * as React from 'react'; +import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; +import * as pageProps from '../../../../data/toolpad/core/components/rbac/rbac.md?muiMarkdown'; + +export default function Page() { + return ; +} diff --git a/docs/pages/toolpad/core/react-sign-up-page/index.js b/docs/pages/toolpad/core/react-sign-up-page/index.js new file mode 100644 index 00000000000..600a0d77884 --- /dev/null +++ b/docs/pages/toolpad/core/react-sign-up-page/index.js @@ -0,0 +1,7 @@ +import * as React from 'react'; +import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; +import * as pageProps from '../../../../data/toolpad/core/components/sign-up-page/sign-up-page.md?muiMarkdown'; + +export default function Page() { + return ; +} diff --git a/docs/pages/toolpad/core/react-stat-card/index.js b/docs/pages/toolpad/core/react-stat-card/index.js new file mode 100644 index 00000000000..f461440b50a --- /dev/null +++ b/docs/pages/toolpad/core/react-stat-card/index.js @@ -0,0 +1,7 @@ +import * as React from 'react'; +import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; +import * as pageProps from '../../../../data/toolpad/core/components/stat-card/stat-card.md?muiMarkdown'; + +export default function Page() { + return ; +} From 2d36cc3b524227d2b2197e7d4b9b61793f044277 Mon Sep 17 00:00:00 2001 From: Prakhar Gupta <92228082+prakhargupta1@users.noreply.github.com> Date: Mon, 10 Feb 2025 20:52:49 +0530 Subject: [PATCH 3/3] Update pages.ts --- docs/data/toolpad/core/pages.ts | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/docs/data/toolpad/core/pages.ts b/docs/data/toolpad/core/pages.ts index 4e8d6831433..d178c4b369e 100644 --- a/docs/data/toolpad/core/pages.ts +++ b/docs/data/toolpad/core/pages.ts @@ -84,11 +84,6 @@ const pages: MuiPage[] = [ pathname: '/toolpad/core/react-page-container', title: 'Page Container', }, - { - pathname: '/toolpad/core/react-notification-center', - title: 'Notification Center', - planned: true, - }, ], }, { @@ -103,16 +98,6 @@ const pages: MuiPage[] = [ pathname: '/toolpad/core/react-account', title: 'Account', }, - { - pathname: '/toolpad/core/react-sign-up-page', - title: 'Sign-up Page', - planned: true, - }, - { - pathname: '/toolpad/core/react-rbac', - title: 'RBAC', - planned: true, - }, ], }, { @@ -124,11 +109,6 @@ const pages: MuiPage[] = [ title: 'CRUD', planned: true, }, - { - pathname: '/toolpad/core/react-stat-card', - title: 'Stats Card', - planned: true, - }, ], }, {