From 44cfded81c8939c49b97662164471bb05627bb49 Mon Sep 17 00:00:00 2001 From: MUI bot <2109932+Janpot@users.noreply.github.com> Date: Mon, 9 Sep 2024 13:42:58 +0200 Subject: [PATCH 1/4] Replace mui/mui-toolpad => mui/toolpad --- .eslintrc.js | 2 +- .github/ISSUE_TEMPLATE/1.bug.yml | 2 +- .github/ISSUE_TEMPLATE/2.feature.yml | 2 +- .github/ISSUE_TEMPLATE/4.docs-feedback.yml | 2 +- .github/PULL_REQUEST_TEMPLATE.md | 2 +- CHANGELOG.md | 4 +- CONTRIBUTING.md | 4 +- README.md | 8 +-- RELEASE.md | 12 ++--- .../components/sign-in-page/sign-in-page.md | 8 +-- .../data/toolpad/core/introduction/support.md | 6 +-- .../toolpad/studio/concepts/building-ui.md | 2 +- .../toolpad/studio/concepts/custom-server.md | 4 +- .../studio/getting-started/overview.md | 2 +- .../toolpad/studio/getting-started/support.md | 6 +-- .../studio/getting-started/why-toolpad.md | 2 +- docs/next.config.mjs | 4 +- docs/pages/_app.js | 2 +- docs/pages/toolpad/index.js | 2 +- docs/pages/toolpad/studio/index.js | 2 +- .../components/landing-studio/GithubStars.js | 2 +- .../components/landing-studio/PricingTable.js | 2 +- .../components/ExamplesGrid/core-examples.ts | 6 +-- .../ExamplesGrid/studio-examples.ts | 54 +++++++++---------- docs/src/route.ts | 4 +- examples/auth-github/README.md | 2 +- .../toolpad/pages/protectedpage/page.yml | 2 +- examples/auth-google/README.md | 2 +- .../toolpad/pages/protectedpage/page.yml | 2 +- examples/basic-crud-app/README.md | 4 +- .../toolpad/pages/AdminApp/page.yml | 2 +- .../toolpad/pages/AdminApp1/page.yml | 2 +- examples/charts/README.md | 2 +- examples/custom-component/README.md | 4 +- examples/custom-component/pages/page/page.yml | 2 +- examples/custom-datagrid-column/README.md | 2 +- examples/custom-server-nextjs/README.md | 2 +- .../toolpad/pages/page/page.yml | 2 +- examples/custom-server/README.md | 2 +- examples/datagrid-columns/README.md | 2 +- examples/datagrid-premium/README.md | 2 +- examples/datagrid-premium/pages/page/page.yml | 2 +- examples/dog-app/README.md | 4 +- examples/graphql/README.md | 4 +- examples/graphql/toolpad/pages/page/page.yml | 2 +- examples/hacker-news-client/README.md | 4 +- .../toolpad/pages/hackernews/page.yml | 2 +- examples/npm-stats/README.md | 4 +- examples/qr-generator/README.md | 4 +- examples/stripe-script/README.md | 4 +- examples/supabase/README.md | 2 +- examples/tabs/README.md | 4 +- examples/tabs/toolpad/application.yml | 2 +- examples/tabs/toolpad/pages/Tabs/page.yml | 2 +- examples/with-prisma-data-provider/README.md | 2 +- .../toolpad/pages/crud/page.yml | 2 +- .../toolpad/pages/cursorBased/page.yml | 2 +- .../toolpad/pages/indexBased/page.yml | 2 +- examples/with-prisma/README.md | 2 +- examples/with-wasm/README.md | 4 +- package.json | 2 +- packages/create-toolpad-app/package.json | 2 +- packages/create-toolpad-app/src/examples.ts | 2 +- packages/create-toolpad-app/src/index.ts | 2 +- packages/toolpad-core/package.json | 6 +-- .../toolpad-studio-components/package.json | 6 +-- packages/toolpad-studio-runtime/package.json | 6 +-- packages/toolpad-studio/README.md | 2 +- packages/toolpad-studio/package.json | 4 +- packages/toolpad-studio/src/constants.ts | 2 +- .../toolpad-studio/src/server/localMode.ts | 2 +- .../ComponentCatalog/ComponentCatalog.tsx | 19 +++---- .../Header/UserFeedback/index.tsx | 4 +- .../src/toolpadDataSources/rest/client.tsx | 2 +- packages/toolpad-utils/package.json | 6 +-- .../toolpad/pages/mypage/page.yml | 2 +- .../toolpad/pages/adminpage/page.yml | 2 +- .../toolpad/pages/publicpage/page.yml | 2 +- .../fixture/toolpad/pages/basic/page.yml | 2 +- .../fixture/toolpad/pages/crud/page.yml | 2 +- .../toolpad/pages/dataProviders/page.yml | 2 +- .../toolpad/pages/extractedTypes/page.yml | 2 +- .../toolpad/pages/serialization/page.yml | 2 +- .../fixture/toolpad/pages/page/page.yml | 2 +- .../fixture/toolpad/pages/page1/page.yml | 2 +- .../toolpad/pages/dateColumns/page.yml | 2 +- .../toolpad/pages/page1/page.yml | 2 +- .../toolpad/pages/page/page.yml | 2 +- .../pro/fixture/toolpad/pages/basic/page.yml | 2 +- .../fixture/toolpad/pages/blank/page.yml | 2 +- .../fixture/toolpad/pages/components/page.yml | 2 +- .../fixture/toolpad/pages/dragdrop/page.yml | 2 +- .../fixture/toolpad/pages/grids/page.yml | 2 +- .../fixture/toolpad/pages/rows/page.yml | 2 +- .../fixture/toolpad/pages/text/page.yml | 2 +- 95 files changed, 170 insertions(+), 173 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index aa7c71947c7..5b5b1650cd0 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -72,7 +72,7 @@ module.exports = { // https://github.com/airbnb/javascript/blob/5155aa5fc1ea9bb2c6493a06ddbd5c7a05414c86/packages/eslint-config-airbnb/rules/react.js#L94 'react/jsx-key': ['error', { checkKeyMustBeforeSpread: true, warnOnDuplicates: true }], // This got turned of in the mono-repo: - // See https://github.com/mui/mui-toolpad/pull/866#discussion_r957222171 + // See https://github.com/mui/toolpad/pull/866#discussion_r957222171 'react/no-unused-prop-types': [ 'error', { diff --git a/.github/ISSUE_TEMPLATE/1.bug.yml b/.github/ISSUE_TEMPLATE/1.bug.yml index 8313292a98a..a56124824dd 100644 --- a/.github/ISSUE_TEMPLATE/1.bug.yml +++ b/.github/ISSUE_TEMPLATE/1.bug.yml @@ -9,7 +9,7 @@ body: attributes: label: Search keywords description: | - Your issue may have already been reported! First search for duplicates among the [existing issues](https://github.com/mui/mui-toolpad/issues). + Your issue may have already been reported! First search for duplicates among the [existing issues](https://github.com/mui/toolpad/issues). If your issue isn't a duplicate, great! Please list the keywords you used so people in the future can find this one more easily: validations: required: true diff --git a/.github/ISSUE_TEMPLATE/2.feature.yml b/.github/ISSUE_TEMPLATE/2.feature.yml index 9add970fc80..cf8afc2665b 100644 --- a/.github/ISSUE_TEMPLATE/2.feature.yml +++ b/.github/ISSUE_TEMPLATE/2.feature.yml @@ -9,7 +9,7 @@ body: attributes: label: Search keywords description: | - Your issue may have already been reported! First search for duplicates among the [existing issues](https://github.com/mui/mui-toolpad/issues). + Your issue may have already been reported! First search for duplicates among the [existing issues](https://github.com/mui/toolpad/issues). If your issue isn't a duplicate, great! Please list the keywords you used so people in the future can find this one more easily: validations: required: true diff --git a/.github/ISSUE_TEMPLATE/4.docs-feedback.yml b/.github/ISSUE_TEMPLATE/4.docs-feedback.yml index 57d9fda3597..300508a0031 100644 --- a/.github/ISSUE_TEMPLATE/4.docs-feedback.yml +++ b/.github/ISSUE_TEMPLATE/4.docs-feedback.yml @@ -10,7 +10,7 @@ body: attributes: label: Search keywords description: | - Your issue may have already been reported! First search for duplicates among the [existing issues](https://github.com/mui/mui-toolpad/issues). + Your issue may have already been reported! First search for duplicates among the [existing issues](https://github.com/mui/toolpad/issues). If your issue isn't a duplicate, great! Please list the keywords you used so people in the future can find this one more easily: validations: required: true diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index f2c31b51f73..f0d0743b68c 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,6 +1,6 @@ -- [ ] I've read and followed the [contributing guide](https://github.com/mui/mui-toolpad/blob/master/CONTRIBUTING.md#sending-a-pull-request) on how to create great pull requests. +- [ ] I've read and followed the [contributing guide](https://github.com/mui/toolpad/blob/master/CONTRIBUTING.md#sending-a-pull-request) on how to create great pull requests. - [ ] I've updated the relevant documentation for any new or updated feature. - [ ] I've linked relevant GitHub issue with "Closes #". - [ ] I've added a visual demonstration in the form of a screenshot or video. diff --git a/CHANGELOG.md b/CHANGELOG.md index f9725117c7b..1841845b2d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -259,7 +259,7 @@ _Jun 3, 2024_ A big thanks to the 6 contributors who made this release possible. Here are some highlights ✨: -First components in @toolpad/core: [DashboardLayout](https://github.com/mui/mui-toolpad/discussions/3309#:~:text=per%20authentication%20page.-,Dashboard%20layout,-provides%20UI%20for), DataGrid and LineChart. Initial [data providers](https://github.com/mui/mui-toolpad/discussions/3311) implementation. +First components in @toolpad/core: [DashboardLayout](https://github.com/mui/toolpad/discussions/3309#:~:text=per%20authentication%20page.-,Dashboard%20layout,-provides%20UI%20for), DataGrid and LineChart. Initial [data providers](https://github.com/mui/toolpad/discussions/3311) implementation. - ​Lock file maintenance (#3622) @renovate[bot] - ​Lock file maintenance Examples (#3624) @renovate[bot] @@ -1821,7 +1821,7 @@ _Mar 20, 2023_ A big thanks to the 3 contributors who made this release possible. Here are some highlights ✨: -Today we're taking a big step. We're making Toolpad focus much more on integrating with your IDE, while providing the ease of building UI fast with a drag and drop. Read more [here](https://github.com/mui/mui-toolpad/discussions/1748). +Today we're taking a big step. We're making Toolpad focus much more on integrating with your IDE, while providing the ease of building UI fast with a drag and drop. Read more [here](https://github.com/mui/toolpad/discussions/1748). - ​Add create-toolpad-app CLI (#1700) @bharatkashyap - ​Direction 13 (#1651) @Janpot diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 54d60937da0..1974a40fe06 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -3,7 +3,7 @@ ## Toolpad vs. MUI organization Toolpad is an open-source project of the MUI organization. The repositories are part of the same codebase. -`mui/mui-toolpad` imports the code infrastructure from [`mui/material-ui`](https://github.com/mui/material-ui). +`mui/toolpad` imports the code infrastructure from [`mui/material-ui`](https://github.com/mui/material-ui). You can find the "contributing" guide for the main repository in [mui/material-ui/CONTRIBUTING.md](https://github.com/mui/material-ui/blob/HEAD/CONTRIBUTING.md). Most of the content in the main repository "contributing" guide applies to this repository. @@ -278,7 +278,7 @@ Each pull request is built on [CodeSandbox CI](https://codesandbox.io/docs/learn ```json "dependencies": { - "@toolpad/studio": "https://pkg.csb.dev/mui/mui-toolpad/commit//@toolpad/studio" + "@toolpad/studio": "https://pkg.csb.dev/mui/toolpad/commit//@toolpad/studio" } ``` diff --git a/README.md b/README.md index af3f10b5daf..b92fb97e040 100644 --- a/README.md +++ b/README.md @@ -13,10 +13,10 @@ [![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/mui/material-ui/blob/HEAD/LICENSE) [![npm latest package](https://img.shields.io/npm/v/@toolpad/core/latest.svg)](https://www.npmjs.com/package/@toolpad/core) [![npm downloads](https://img.shields.io/npm/dm/@toolpad/core.svg)](https://www.npmjs.com/package/@toolpad/core) -[![GitHub branch status](https://img.shields.io/github/checks-status/mui/mui-toolpad/HEAD)](https://github.com/mui/mui-toolpad/commits/HEAD/) +[![GitHub branch status](https://img.shields.io/github/checks-status/mui/toolpad/HEAD)](https://github.com/mui/toolpad/commits/HEAD/) [![Follow on X](https://img.shields.io/twitter/follow/Toolpad_.svg?label=follow+Toolpad)](https://x.com/Toolpad_) -[![Renovate status](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://github.com/mui/mui-toolpad/issues/8) -[![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/mui/mui-toolpad.svg)](https://isitmaintained.com/project/mui/mui-toolpad 'Average time to resolve an issue') +[![Renovate status](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://github.com/mui/toolpad/issues/8) +[![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/mui/toolpad.svg)](https://isitmaintained.com/project/mui/toolpad 'Average time to resolve an issue') [![Open Collective backers and sponsors](https://img.shields.io/opencollective/all/mui-org)](https://opencollective.com/mui-org) [![OpenSSF Best Practices](https://www.bestpractices.dev/projects/6294/badge?v2)](https://www.bestpractices.dev/projects/6294) @@ -70,7 +70,7 @@ Although we love giving you the opportunity to put your stamp on MUI, we also ar ## Changelog -The [changelog](https://github.com/mui/mui-toolpad/releases) is regularly updated to reflect what's changed in each new release. +The [changelog](https://github.com/mui/toolpad/releases) is regularly updated to reflect what's changed in each new release. ## Roadmap diff --git a/RELEASE.md b/RELEASE.md index 6031d7d25c6..9c447f1ce86 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -63,14 +63,14 @@ 1. Open a PR to the `master` branch with the proposed changes. Add the "release" label. -1. Smoke test the release with the [CodeSandbox CI](https://ci.codesandbox.io/status/mui/mui-toolpad) package of the PR branch: +1. Smoke test the release with the [CodeSandbox CI](https://ci.codesandbox.io/status/mui/toolpad) package of the PR branch: a. Run Toolpad Core ```bash - pnpm dlx https://pkg.csb.dev/mui/mui-toolpad/commit//create-toolpad-app smoke --core-version https://pkg.csb.dev/mui/mui-toolpad/commit//@toolpad/core + pnpm dlx https://pkg.csb.dev/mui/toolpad/commit//create-toolpad-app smoke --core-version https://pkg.csb.dev/mui/toolpad/commit//@toolpad/core cd smoke - pnpm add https://pkg.csb.dev/mui/mui-toolpad/commit//@toolpad/core -S + pnpm add https://pkg.csb.dev/mui/toolpad/commit//@toolpad/core -S pnpm dedupe && pnpm dev ``` @@ -79,9 +79,9 @@ b. Run Toolpad Studio ```bash - pnpm dlx https://pkg.csb.dev/mui/mui-toolpad/commit//create-toolpad-app --studio smoke + pnpm dlx https://pkg.csb.dev/mui/toolpad/commit//create-toolpad-app --studio smoke cd smoke - pnpm add https://pkg.csb.dev/mui/mui-toolpad/commit//@toolpad/studio -S + pnpm add https://pkg.csb.dev/mui/toolpad/commit//@toolpad/studio -S pnpm dedupe && pnpm dev ``` @@ -117,7 +117,7 @@ You can follow the deployment process on the [Netlify Dashboard](https://app.netlify.com/sites/mui-toolpad-docs/deploys?filter=docs-latest). Once deployed, it will be accessible at https://mui-toolpad-docs.netlify.app/. -1. [Create a new GitHub release](https://github.com/mui/mui-toolpad/releases/new). +1. [Create a new GitHub release](https://github.com/mui/toolpad/releases/new). 1. Use `` to **Choose a tag** (when you enter new version GH UI will pop a suggestion `Create new tag: *** on publish`) 1. Use `` as the **target** diff --git a/docs/data/toolpad/core/components/sign-in-page/sign-in-page.md b/docs/data/toolpad/core/components/sign-in-page/sign-in-page.md index f5e84ae7c82..20c186efacf 100644 --- a/docs/data/toolpad/core/components/sign-in-page/sign-in-page.md +++ b/docs/data/toolpad/core/components/sign-in-page/sign-in-page.md @@ -53,7 +53,7 @@ The component is composable with any authentication library you might want to us #### Setting up -If you're using [`create-toolpad-app`](/toolpad/core/introduction/installation/), or the [Next.js app directory example](https://github.com/mui/mui-toolpad/tree/master/examples/core-auth-nextjs/), Auth.js is already installed. To proceed, add `AUTH_SECRET` to the environment variables by running: +If you're using [`create-toolpad-app`](/toolpad/core/introduction/installation/), or the [Next.js app directory example](https://github.com/mui/toolpad/tree/master/examples/core-auth-nextjs/), Auth.js is already installed. To proceed, add `AUTH_SECRET` to the environment variables by running: ```bash npx auth secret @@ -74,7 +74,7 @@ GITHUB_CLIENT_SECRET= ##### Server Configuration -If you're using [`create-toolpad-app`](/toolpad/core/introduction/installation/), or the default [Next.js app directory example](https://github.com/mui/mui-toolpad/tree/master/examples/core-auth-nextjs/), this server configuration is already set up for you. +If you're using [`create-toolpad-app`](/toolpad/core/introduction/installation/), or the default [Next.js app directory example](https://github.com/mui/toolpad/tree/master/examples/core-auth-nextjs/), this server configuration is already set up for you. Otherwise, follow the [custom sign in page instructions](https://authjs.dev/guides/pages/signin) to set up the server configuration. @@ -144,11 +144,11 @@ export default function SignIn() { ``` :::success -If you're using the default [Next.js example](https://github.com/mui/mui-toolpad/tree/master/examples/core-auth-nextjs/), all of this is already configured for you. Otherwise, follow the [custom sign-in page instructions](https://authjs.dev/guides/pages/signin). +If you're using the default [Next.js example](https://github.com/mui/toolpad/tree/master/examples/core-auth-nextjs/), all of this is already configured for you. Otherwise, follow the [custom sign-in page instructions](https://authjs.dev/guides/pages/signin). ::: :::info -If you're not on the Next Auth v5 version yet, see the [example with Next Auth v4](https://github.com/mui/mui-toolpad/tree/master/examples/core-auth-nextjs-pages-nextauth-4/) to get started. +If you're not on the Next Auth v5 version yet, see the [example with Next Auth v4](https://github.com/mui/toolpad/tree/master/examples/core-auth-nextjs-pages-nextauth-4/) to get started. ::: ## Customization diff --git a/docs/data/toolpad/core/introduction/support.md b/docs/data/toolpad/core/introduction/support.md index 8166e24f757..d2e536ce71e 100644 --- a/docs/data/toolpad/core/introduction/support.md +++ b/docs/data/toolpad/core/introduction/support.md @@ -11,10 +11,10 @@ These are the best places to start asking questions and looking for answers when Toolpad uses GitHub issues to track bug reports and feature requests. -If you think you've found a bug in the codebase, or you have an idea for a new feature, please [search the issues on GitHub](https://github.com/mui/mui-toolpad/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aclosed) before opening a new one, to ensure you're not creating a duplicate. +If you think you've found a bug in the codebase, or you have an idea for a new feature, please [search the issues on GitHub](https://github.com/mui/toolpad/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aclosed) before opening a new one, to ensure you're not creating a duplicate. -- [Open an issue on GitHub](https://github.com/mui/mui-toolpad/issues/new/choose) for issues or feature requests. -- [Start a GitHub discussion](https://github.com/mui/mui-toolpad/discussions) for a broad topic. Here you can engage with the team and the discussion would likely result in one or more GitHub issues. +- [Open an issue on GitHub](https://github.com/mui/toolpad/issues/new/choose) for issues or feature requests. +- [Start a GitHub discussion](https://github.com/mui/toolpad/discussions) for a broad topic. Here you can engage with the team and the discussion would likely result in one or more GitHub issues. #### New issue guidelines diff --git a/docs/data/toolpad/studio/concepts/building-ui.md b/docs/data/toolpad/studio/concepts/building-ui.md index 6d7aaf95260..b62f7cf480d 100644 --- a/docs/data/toolpad/studio/concepts/building-ui.md +++ b/docs/data/toolpad/studio/concepts/building-ui.md @@ -13,7 +13,7 @@ To access the list of available Toolpad Studio components, hover your cursor ove --- -Toolpad Studio has many [built-in components](/toolpad/studio/reference/components/), and more are continuously being added. To make it easier for us to understand what to add next, please [upvote](https://github.com/mui/mui-toolpad/labels/waiting%20for%20%F0%9F%91%8D) the components you need, or open a [feature request](https://github.com/mui/mui-toolpad/issues/new/choose). +Toolpad Studio has many [built-in components](/toolpad/studio/reference/components/), and more are continuously being added. To make it easier for us to understand what to add next, please [upvote](https://github.com/mui/toolpad/labels/waiting%20for%20%F0%9F%91%8D) the components you need, or open a [feature request](https://github.com/mui/toolpad/issues/new/choose). ## Using components diff --git a/docs/data/toolpad/studio/concepts/custom-server.md b/docs/data/toolpad/studio/concepts/custom-server.md index f5c9f95f236..debb51c182a 100644 --- a/docs/data/toolpad/studio/concepts/custom-server.md +++ b/docs/data/toolpad/studio/concepts/custom-server.md @@ -3,13 +3,13 @@

Run Toolpad Studio applications programmatically in existing node.js servers.

:::warning -An improved integration method is being worked on. You'll be able to run Toolpad Studio applications as React server components. If this interests you, please upvote the [feature request](https://github.com/mui/mui-toolpad/issues/3012). +An improved integration method is being worked on. You'll be able to run Toolpad Studio applications as React server components. If this interests you, please upvote the [feature request](https://github.com/mui/toolpad/issues/3012). ::: The Toolpad Studio `dev` command comes with its own built-in server. However, sometimes you'd want more control over the way Toolpad Studio applications are hosted within your application. The Toolpad Studio custom server integration API allows you to run a Toolpad Studio application programmatically within an existing node.js server. :::info -Check out the [example on GitHub](https://github.com/mui/mui-toolpad/tree/master/examples/custom-server) for a full demonstration of how to set up a custom server integration. +Check out the [example on GitHub](https://github.com/mui/toolpad/tree/master/examples/custom-server) for a full demonstration of how to set up a custom server integration. ::: The following code illustrates how it works: diff --git a/docs/data/toolpad/studio/getting-started/overview.md b/docs/data/toolpad/studio/getting-started/overview.md index 4be274db6a6..871ac2bc99c 100644 --- a/docs/data/toolpad/studio/getting-started/overview.md +++ b/docs/data/toolpad/studio/getting-started/overview.md @@ -10,7 +10,7 @@ Drag and drop pre-built UI components, connect your data sources, release your a -> You can check out the demo video [here](https://github.com/mui/mui-toolpad#product-walkthrough). +> You can check out the demo video [here](https://github.com/mui/toolpad#product-walkthrough). ## Key features diff --git a/docs/data/toolpad/studio/getting-started/support.md b/docs/data/toolpad/studio/getting-started/support.md index 9ae94eb39f9..ff1e49100e7 100644 --- a/docs/data/toolpad/studio/getting-started/support.md +++ b/docs/data/toolpad/studio/getting-started/support.md @@ -12,10 +12,10 @@ These are the best places to start asking questions and looking for answers when Toolpad Studio uses GitHub issues to track bug reports and feature requests. -If you think you've found a bug in the codebase, or you have an idea for a new feature, please [search the issues on GitHub](https://github.com/mui/mui-toolpad/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aclosed) before opening a new one, to ensure you're not creating a duplicate. +If you think you've found a bug in the codebase, or you have an idea for a new feature, please [search the issues on GitHub](https://github.com/mui/toolpad/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aclosed) before opening a new one, to ensure you're not creating a duplicate. -- [Open an issue on Toolpad Studio](https://github.com/mui/mui-toolpad/issues/new/choose) for issues or feature requests. -- [Start a GitHub discussion](https://github.com/mui/mui-toolpad/discussions) for a broad topic. Here you can engage with the team and the discussion would likely result in one or more GitHub issues. +- [Open an issue on Toolpad Studio](https://github.com/mui/toolpad/issues/new/choose) for issues or feature requests. +- [Start a GitHub discussion](https://github.com/mui/toolpad/discussions) for a broad topic. Here you can engage with the team and the discussion would likely result in one or more GitHub issues. #### New issue guidelines diff --git a/docs/data/toolpad/studio/getting-started/why-toolpad.md b/docs/data/toolpad/studio/getting-started/why-toolpad.md index 07b6430ef2b..3493240d4ca 100644 --- a/docs/data/toolpad/studio/getting-started/why-toolpad.md +++ b/docs/data/toolpad/studio/getting-started/why-toolpad.md @@ -99,4 +99,4 @@ This means you can store your entire Toolpad app the same way you store your oth ## How is Toolpad Studio different from other tools? -🚧 Work in progress, [issue #2853](https://github.com/mui/mui-toolpad/issues/2853). +🚧 Work in progress, [issue #2853](https://github.com/mui/toolpad/issues/2853). diff --git a/docs/next.config.mjs b/docs/next.config.mjs index cd4d0b53bcf..6bfe68716e2 100644 --- a/docs/next.config.mjs +++ b/docs/next.config.mjs @@ -27,7 +27,7 @@ export default withDocsInfra({ // TODO, those shouldn't be needed in the first place '@mui/monorepo', // Migrate everything to @mui/docs until the @mui/monorepo dependency becomes obsolete '@mui/x-charts', // Fix ESM module support https://github.com/mui/mui-x/issues/9826#issuecomment-1658333978 - // Fix trailingSlash support https://github.com/mui/mui-toolpad/pull/3301#issuecomment-2054213837 + // Fix trailingSlash support https://github.com/mui/toolpad/pull/3301#issuecomment-2054213837 // Migrate everything from @mui/monorepo to @mui/docs '@mui/docs', ], @@ -36,7 +36,7 @@ export default withDocsInfra({ env: { // docs-infra LIB_VERSION: toolpadCorePkg.version, - SOURCE_CODE_REPO: 'https://github.com/mui/mui-toolpad', + SOURCE_CODE_REPO: 'https://github.com/mui/toolpad', SOURCE_GITHUB_BRANCH: 'master', // #default-branch-switch GITHUB_TEMPLATE_DOCS_FEEDBACK: '4.docs-feedback.yml', // Toolpad related diff --git a/docs/pages/_app.js b/docs/pages/_app.js index 0e417060a4f..943506c9b4b 100644 --- a/docs/pages/_app.js +++ b/docs/pages/_app.js @@ -39,7 +39,7 @@ function getMuiPackageVersion(packageName, commitRef) { return 'latest'; } const shortSha = commitRef.slice(0, 8); - return `https://pkg.csb.dev/mui/mui-toolpad/commit/${shortSha}/${packageName}`; + return `https://pkg.csb.dev/mui/toolpad/commit/${shortSha}/${packageName}`; } ponyfillGlobal.muiDocConfig = { diff --git a/docs/pages/toolpad/index.js b/docs/pages/toolpad/index.js index 344a8f7d2c1..fcfd6b10774 100644 --- a/docs/pages/toolpad/index.js +++ b/docs/pages/toolpad/index.js @@ -22,7 +22,7 @@ export default function Home() { /> - +
diff --git a/docs/pages/toolpad/studio/index.js b/docs/pages/toolpad/studio/index.js index 7a2e688d961..b64e7ec6f55 100644 --- a/docs/pages/toolpad/studio/index.js +++ b/docs/pages/toolpad/studio/index.js @@ -39,7 +39,7 @@ export default function Home() { - +
diff --git a/docs/src/components/landing-studio/GithubStars.js b/docs/src/components/landing-studio/GithubStars.js index f4165ed9a06..c7a0f38f72b 100644 --- a/docs/src/components/landing-studio/GithubStars.js +++ b/docs/src/components/landing-studio/GithubStars.js @@ -14,7 +14,7 @@ export default function GithubStars() { const fetchStars = React.useCallback(async () => { setFetching(true); - const response = await fetch('https://api.github.com/repos/mui/mui-toolpad'); + const response = await fetch('https://api.github.com/repos/mui/toolpad'); const data = await response.json(); setFetching(false); if (response.status !== 200) { diff --git a/docs/src/components/landing-studio/PricingTable.js b/docs/src/components/landing-studio/PricingTable.js index 57a6eca7189..25057865790 100644 --- a/docs/src/components/landing-studio/PricingTable.js +++ b/docs/src/components/landing-studio/PricingTable.js @@ -71,7 +71,7 @@ function Cell({ highlighted = false, sx, ...props }) { justifyContent: 'center', ...(highlighted && { // Remove borders since there are only two plans - // https://github.com/mui/mui-toolpad/pull/809#issuecomment-1221026428 + // https://github.com/mui/toolpad/pull/809#issuecomment-1221026428 borderWidth: '0 1px 0 1px', borderStyle: 'solid', borderColor: (theme.vars || theme).palette.divider, diff --git a/docs/src/modules/components/ExamplesGrid/core-examples.ts b/docs/src/modules/components/ExamplesGrid/core-examples.ts index b9123590bf2..d1eec5beb56 100644 --- a/docs/src/modules/components/ExamplesGrid/core-examples.ts +++ b/docs/src/modules/components/ExamplesGrid/core-examples.ts @@ -6,21 +6,21 @@ export default function examples() { 'This app shows you to get started with Toolpad Core and use basic layout and navigation features.', src: '/static/toolpad/docs/core/tutorial-1.png', href: 'https://mui.com/toolpad/core/introduction/tutorial/', - source: 'https://github.com/mui/mui-toolpad/tree/master/examples/core-tutorial', + source: 'https://github.com/mui/toolpad/tree/master/examples/core-tutorial', }, { title: 'Auth.js with Next.js App router', description: 'This app shows you to how to get started using Toolpad Core with Auth.js and the Next.js App router', src: '/static/toolpad/docs/core/auth-next.png', - source: 'https://github.com/mui/mui-toolpad/tree/master/examples/core-auth-nextjs', + source: 'https://github.com/mui/toolpad/tree/master/examples/core-auth-nextjs', }, { title: 'Auth.js with Next.js Pages router', description: 'This app shows you to how to get started using Toolpad Core with Auth.js and the Next.js Pages router', src: '/static/toolpad/docs/core/auth-next.png', - source: 'https://github.com/mui/mui-toolpad/tree/master/examples/core-auth-nextjs-pages', + source: 'https://github.com/mui/toolpad/tree/master/examples/core-auth-nextjs-pages', }, ]; } diff --git a/docs/src/modules/components/ExamplesGrid/studio-examples.ts b/docs/src/modules/components/ExamplesGrid/studio-examples.ts index 140b7179ee1..9926cdaab7c 100644 --- a/docs/src/modules/components/ExamplesGrid/studio-examples.ts +++ b/docs/src/modules/components/ExamplesGrid/studio-examples.ts @@ -6,14 +6,14 @@ export default function examples() { 'This analytics dashboard shows how to track a KPI from a third-party data source.', src: '/static/toolpad/docs/studio/examples/npm-stats.png', href: 'https://mui.com/toolpad/studio/examples/npm-stats/', - source: 'https://github.com/mui/mui-toolpad/tree/master/examples/npm-stats', + source: 'https://github.com/mui/toolpad/tree/master/examples/npm-stats', }, { title: 'Basic CRUD application', description: 'An admin application to showcase how CRUD operations work in Toolpad Studio.', src: '/static/toolpad/docs/studio/examples/basic-crud-app.png', href: 'https://mui.com/toolpad/studio/examples/basic-crud-app/', - source: 'https://github.com/mui/mui-toolpad/tree/master/examples/basic-crud-app', + source: 'https://github.com/mui/toolpad/tree/master/examples/basic-crud-app', }, { title: 'QR Code generator', @@ -21,97 +21,97 @@ export default function examples() { 'A basic Toolpad Studio application that can be used to turn any text or URL into a QR code.', src: '/static/toolpad/docs/studio/examples/qr-generator.png', href: 'https://mui.com/toolpad/studio/examples/qr-generator/', - source: 'https://github.com/mui/mui-toolpad/tree/master/examples/qr-generator', + source: 'https://github.com/mui/toolpad/tree/master/examples/qr-generator', }, { title: 'With Prisma', description: 'A basic Toolpad Studio application that demonstrates how to integrate with Prisma.', src: '/static/toolpad/marketing/with-prisma-hero.png', - href: 'https://github.com/mui/mui-toolpad/tree/master/examples/with-prisma', - source: 'https://github.com/mui/mui-toolpad/tree/master/examples/with-prisma', + href: 'https://github.com/mui/toolpad/tree/master/examples/with-prisma', + source: 'https://github.com/mui/toolpad/tree/master/examples/with-prisma', }, { title: 'Google Sheet', description: 'Quickly fetch data from Google Sheets to build a Toolpad Studio app.', src: '/static/toolpad/marketing/google-sheet.png', - href: 'https://github.com/mui/mui-toolpad/tree/master/examples/google-sheet', - source: 'https://github.com/mui/mui-toolpad/tree/master/examples/google-sheet', + href: 'https://github.com/mui/toolpad/tree/master/examples/google-sheet', + source: 'https://github.com/mui/toolpad/tree/master/examples/google-sheet', }, { title: 'Dog app', description: 'An app that shows dog images based on selected breeds or sub-breeds.', src: '/static/toolpad/docs/studio/getting-started/first-app/step-13.png', - href: 'https://github.com/mui/mui-toolpad/tree/master/examples/dog-app', - source: 'https://github.com/mui/mui-toolpad/tree/master/examples/dog-app', + href: 'https://github.com/mui/toolpad/tree/master/examples/dog-app', + source: 'https://github.com/mui/toolpad/tree/master/examples/dog-app', }, { title: 'Customized data grid', description: 'A basic Toolpad Studio app that shows how to customize a data grid column using a custom code component.', src: '/static/toolpad/marketing/custom-datagrid-column.png', - href: 'https://github.com/mui/mui-toolpad/tree/master/examples/custom-datagrid-column', - source: 'https://github.com/mui/mui-toolpad/tree/master/examples/custom-datagrid-column', + href: 'https://github.com/mui/toolpad/tree/master/examples/custom-datagrid-column', + source: 'https://github.com/mui/toolpad/tree/master/examples/custom-datagrid-column', }, { title: 'GraphQL app', description: 'An app that shows latest 100 stargazers info for any GitHub repository.', src: '/static/toolpad/marketing/graphql.png', - href: 'https://github.com/mui/mui-toolpad/tree/master/examples/graphql', - source: 'https://github.com/mui/mui-toolpad/tree/master/examples/graphql', + href: 'https://github.com/mui/toolpad/tree/master/examples/graphql', + source: 'https://github.com/mui/toolpad/tree/master/examples/graphql', }, { title: 'With WASM', description: 'A basic Toolpad Studio application that demonstrates integrating with WASM modules.', src: '/static/toolpad/marketing/with-wasm.png', - href: 'https://github.com/mui/mui-toolpad/tree/master/examples/with-wasm', - source: 'https://github.com/mui/mui-toolpad/tree/master/examples/with-wasm', + href: 'https://github.com/mui/toolpad/tree/master/examples/with-wasm', + source: 'https://github.com/mui/toolpad/tree/master/examples/with-wasm', }, { title: 'Data provider with prisma', description: 'A basic Toolpad Studio application that demonstrates how to use data providers with Prisma.', src: '/static/toolpad/marketing/with-prisma-data-provider.png', - href: 'https://github.com/mui/mui-toolpad/tree/master/examples/with-prisma-data-provider', - source: 'https://github.com/mui/mui-toolpad/tree/master/examples/with-prisma-data-provider', + href: 'https://github.com/mui/toolpad/tree/master/examples/with-prisma-data-provider', + source: 'https://github.com/mui/toolpad/tree/master/examples/with-prisma-data-provider', }, { title: 'With Supabase', description: 'A Toolpad Studio app that fetches data from Supabase and shows it in a list component.', src: '/static/toolpad/marketing/supabase.png', - href: 'https://github.com/mui/mui-toolpad/tree/master/examples/supabase', - source: 'https://github.com/mui/mui-toolpad/tree/master/examples/supabase', + href: 'https://github.com/mui/toolpad/tree/master/examples/supabase', + source: 'https://github.com/mui/toolpad/tree/master/examples/supabase', }, { title: 'Stripe invoice downloader', description: 'A Stripe app to fetch and download invoices.', src: '/static/toolpad/marketing/stripe-script.png', - href: 'https://github.com/mui/mui-toolpad/tree/master/examples/stripe-script', - source: 'https://github.com/mui/mui-toolpad/tree/master/examples/stripe-script', + href: 'https://github.com/mui/toolpad/tree/master/examples/stripe-script', + source: 'https://github.com/mui/toolpad/tree/master/examples/stripe-script', }, { title: 'Charts', description: 'A basic Toolpad Studio application that demonstrates how to use chart component.', src: '/static/toolpad/marketing/charts.png', - href: 'https://github.com/mui/mui-toolpad/tree/master/examples/charts', - source: 'https://github.com/mui/mui-toolpad/tree/master/examples/charts', + href: 'https://github.com/mui/toolpad/tree/master/examples/charts', + source: 'https://github.com/mui/toolpad/tree/master/examples/charts', }, { title: 'Google Authentication', description: 'An app that shows how to set up Google authentication in Toolpad Studio.', src: '/static/toolpad/marketing/auth-google.png', - href: 'https://github.com/mui/mui-toolpad/tree/master/examples/auth-google', - source: 'https://github.com/mui/mui-toolpad/tree/master/examples/auth-google', + href: 'https://github.com/mui/toolpad/tree/master/examples/auth-google', + source: 'https://github.com/mui/toolpad/tree/master/examples/auth-google', }, { title: 'Custom server', description: 'An app that shows how to use Toolpad Studio with a custom server.', src: '/static/toolpad/marketing/custom-server.png', - href: 'https://github.com/mui/mui-toolpad/tree/master/examples/custom-server', - source: 'https://github.com/mui/mui-toolpad/tree/master/examples/custom-server', + href: 'https://github.com/mui/toolpad/tree/master/examples/custom-server', + source: 'https://github.com/mui/toolpad/tree/master/examples/custom-server', }, ]; } diff --git a/docs/src/route.ts b/docs/src/route.ts index bda42c50ad6..9d81e7583a2 100644 --- a/docs/src/route.ts +++ b/docs/src/route.ts @@ -1,8 +1,8 @@ const ROUTES = { - toolpadRepo: 'https://github.com/mui/mui-toolpad', + toolpadRepo: 'https://github.com/mui/toolpad', toolpadQuickstart: '/toolpad/studio/getting-started/first-app/', toolpadDocs: '/toolpad/studio/getting-started/installation/', - toolpadUpvote: 'https://github.com/mui/mui-toolpad/labels/waiting%20for%20%F0%9F%91%8D', + toolpadUpvote: 'https://github.com/mui/toolpad/labels/waiting%20for%20%F0%9F%91%8D', toolpadBetaBlog: 'https://mui.com/blog/2023-toolpad-beta-announcement/', toolpadDemoBooking: 'https://calendly.com/prakhar-mui/', // https://docs.netlify.com/site-deploys/overview/#deploy-contexts diff --git a/examples/auth-github/README.md b/examples/auth-github/README.md index b115655cb9d..c641e94539c 100644 --- a/examples/auth-github/README.md +++ b/examples/auth-github/README.md @@ -32,4 +32,4 @@ pnpm create toolpad-app --example auth-github or: -[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/mui-toolpad/tree/master/examples/auth-github) +[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/examples/auth-github) diff --git a/examples/auth-github/toolpad/pages/protectedpage/page.yml b/examples/auth-github/toolpad/pages/protectedpage/page.yml index 068186965a7..9a59ec696e2 100644 --- a/examples/auth-github/toolpad/pages/protectedpage/page.yml +++ b/examples/auth-github/toolpad/pages/protectedpage/page.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.1.49/docs/schemas/v1/definitions.json#properties/Page +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.1.49/docs/schemas/v1/definitions.json#properties/Page apiVersion: v1 kind: page diff --git a/examples/auth-google/README.md b/examples/auth-google/README.md index 5777f569ebe..dbaef095095 100644 --- a/examples/auth-google/README.md +++ b/examples/auth-google/README.md @@ -32,4 +32,4 @@ pnpm create toolpad-app --example auth-google or: -[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/mui-toolpad/tree/master/examples/auth-google) +[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/examples/auth-google) diff --git a/examples/auth-google/toolpad/pages/protectedpage/page.yml b/examples/auth-google/toolpad/pages/protectedpage/page.yml index 068186965a7..9a59ec696e2 100644 --- a/examples/auth-google/toolpad/pages/protectedpage/page.yml +++ b/examples/auth-google/toolpad/pages/protectedpage/page.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.1.49/docs/schemas/v1/definitions.json#properties/Page +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.1.49/docs/schemas/v1/definitions.json#properties/Page apiVersion: v1 kind: page diff --git a/examples/basic-crud-app/README.md b/examples/basic-crud-app/README.md index 42945132ecd..7e3d18691a6 100644 --- a/examples/basic-crud-app/README.md +++ b/examples/basic-crud-app/README.md @@ -28,7 +28,7 @@ pnpm create toolpad-app --example basic-crud-app or: -[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/mui-toolpad/tree/master/examples/basic-crud-app) +[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/examples/basic-crud-app) ## What's inside @@ -41,4 +41,4 @@ This app demonstrates the following capabilities of Toolpad: ## The source -[Check out the source code](https://github.com/mui/mui-toolpad/tree/master/examples/basic-crud-app) +[Check out the source code](https://github.com/mui/toolpad/tree/master/examples/basic-crud-app) diff --git a/examples/basic-crud-app/toolpad/pages/AdminApp/page.yml b/examples/basic-crud-app/toolpad/pages/AdminApp/page.yml index 64066f36674..29fd779af32 100644 --- a/examples/basic-crud-app/toolpad/pages/AdminApp/page.yml +++ b/examples/basic-crud-app/toolpad/pages/AdminApp/page.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.1.50/docs/schemas/v1/definitions.json#properties/Page +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.1.50/docs/schemas/v1/definitions.json#properties/Page apiVersion: v1 kind: page diff --git a/examples/basic-crud-app/toolpad/pages/AdminApp1/page.yml b/examples/basic-crud-app/toolpad/pages/AdminApp1/page.yml index d3c03d4e91f..d312cd3ac64 100644 --- a/examples/basic-crud-app/toolpad/pages/AdminApp1/page.yml +++ b/examples/basic-crud-app/toolpad/pages/AdminApp1/page.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.1.50/docs/schemas/v1/definitions.json#properties/Page +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.1.50/docs/schemas/v1/definitions.json#properties/Page apiVersion: v1 kind: page diff --git a/examples/charts/README.md b/examples/charts/README.md index 838d9d34817..44c411953f3 100644 --- a/examples/charts/README.md +++ b/examples/charts/README.md @@ -34,4 +34,4 @@ This app demonstrates the following capabilities of Toolpad Studio: ## The source -[Check out the source code](https://github.com/mui/mui-toolpad/tree/master/examples/charts) +[Check out the source code](https://github.com/mui/toolpad/tree/master/examples/charts) diff --git a/examples/custom-component/README.md b/examples/custom-component/README.md index a1ad4fb1cf4..1b5a8e1fb83 100644 --- a/examples/custom-component/README.md +++ b/examples/custom-component/README.md @@ -20,7 +20,7 @@ pnpm create toolpad-app --example custom-component or: -[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/mui-toolpad/tree/master/examples/custom-component) +[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/examples/custom-component) ## What's inside @@ -30,4 +30,4 @@ This app demonstrates the following capabilities of Toolpad Studio: ## The source -[Check out the source code](https://github.com/mui/mui-toolpad/tree/master/examples/custom-component) +[Check out the source code](https://github.com/mui/toolpad/tree/master/examples/custom-component) diff --git a/examples/custom-component/pages/page/page.yml b/examples/custom-component/pages/page/page.yml index c456d21795a..9294255020f 100644 --- a/examples/custom-component/pages/page/page.yml +++ b/examples/custom-component/pages/page/page.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.1.53/docs/schemas/v1/definitions.json#properties/Page +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.1.53/docs/schemas/v1/definitions.json#properties/Page apiVersion: v1 kind: page diff --git a/examples/custom-datagrid-column/README.md b/examples/custom-datagrid-column/README.md index eb606fbdbce..567da4695e8 100644 --- a/examples/custom-datagrid-column/README.md +++ b/examples/custom-datagrid-column/README.md @@ -26,4 +26,4 @@ pnpm create toolpad-app --example custom-datagrid-column or: -[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/mui-toolpad/tree/master/examples/custom-datagrid-column) +[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/examples/custom-datagrid-column) diff --git a/examples/custom-server-nextjs/README.md b/examples/custom-server-nextjs/README.md index fa2f17ec930..e2be134be57 100644 --- a/examples/custom-server-nextjs/README.md +++ b/examples/custom-server-nextjs/README.md @@ -26,4 +26,4 @@ pnpm create toolpad-app --example custom-server-nextjs or: -[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/mui-toolpad/tree/master/examples/custom-server-nextjs) +[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/examples/custom-server-nextjs) diff --git a/examples/custom-server-nextjs/toolpad/pages/page/page.yml b/examples/custom-server-nextjs/toolpad/pages/page/page.yml index 3e9c960bca7..e1b552b5949 100644 --- a/examples/custom-server-nextjs/toolpad/pages/page/page.yml +++ b/examples/custom-server-nextjs/toolpad/pages/page/page.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.1.40/docs/schemas/v1/definitions.json#properties/Page +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.1.40/docs/schemas/v1/definitions.json#properties/Page apiVersion: v1 kind: page diff --git a/examples/custom-server/README.md b/examples/custom-server/README.md index d28fc439361..3b52d3409a1 100644 --- a/examples/custom-server/README.md +++ b/examples/custom-server/README.md @@ -26,4 +26,4 @@ pnpm create toolpad-app --example custom-server or: -[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/mui-toolpad/tree/master/examples/custom-server) +[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/examples/custom-server) diff --git a/examples/datagrid-columns/README.md b/examples/datagrid-columns/README.md index 802dee5ba8d..9a9ee4c44ba 100644 --- a/examples/datagrid-columns/README.md +++ b/examples/datagrid-columns/README.md @@ -26,4 +26,4 @@ pnpm create toolpad-app --example datagrid-columns or: -[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/mui-toolpad/tree/master/examples/datagrid-columns) +[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/examples/datagrid-columns) diff --git a/examples/datagrid-premium/README.md b/examples/datagrid-premium/README.md index d155e4e9285..c1ce2abaa4f 100644 --- a/examples/datagrid-premium/README.md +++ b/examples/datagrid-premium/README.md @@ -26,4 +26,4 @@ This app demonstrates the following capabilities of Toolpad Studio: ## The source -[Check out the source code](https://github.com/mui/mui-toolpad/tree/master/examples/datagrid-premium) +[Check out the source code](https://github.com/mui/toolpad/tree/master/examples/datagrid-premium) diff --git a/examples/datagrid-premium/pages/page/page.yml b/examples/datagrid-premium/pages/page/page.yml index e0b3981eb5f..2384a6878cf 100644 --- a/examples/datagrid-premium/pages/page/page.yml +++ b/examples/datagrid-premium/pages/page/page.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.1.53/docs/schemas/v1/definitions.json#properties/Page +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.1.53/docs/schemas/v1/definitions.json#properties/Page apiVersion: v1 kind: page diff --git a/examples/dog-app/README.md b/examples/dog-app/README.md index f8fbd7da089..41c148379f4 100644 --- a/examples/dog-app/README.md +++ b/examples/dog-app/README.md @@ -28,7 +28,7 @@ pnpm create toolpad-app --example dog-app or: -[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/mui-toolpad/tree/master/examples/dog-app) +[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/examples/dog-app) ## What's inside @@ -38,4 +38,4 @@ To build this app step-by-step, visit the [docs](https://mui.com/toolpad/studio/ ## The source -[Check out the source code](https://github.com/mui/mui-toolpad/tree/master/examples/dog-app) +[Check out the source code](https://github.com/mui/toolpad/tree/master/examples/dog-app) diff --git a/examples/graphql/README.md b/examples/graphql/README.md index 40e9d1548a9..10a8bb57a63 100644 --- a/examples/graphql/README.md +++ b/examples/graphql/README.md @@ -28,7 +28,7 @@ pnpm create toolpad-app --example graphql or: -[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/mui-toolpad/tree/master/examples/graphql) +[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/examples/graphql) ## What's inside @@ -40,4 +40,4 @@ A Toolpad Studio app that shows how to: ## The source -[Check out the source code](https://github.com/mui/mui-toolpad/tree/master/examples/graphql) +[Check out the source code](https://github.com/mui/toolpad/tree/master/examples/graphql) diff --git a/examples/graphql/toolpad/pages/page/page.yml b/examples/graphql/toolpad/pages/page/page.yml index 69e2ddcc567..70196c532ea 100644 --- a/examples/graphql/toolpad/pages/page/page.yml +++ b/examples/graphql/toolpad/pages/page/page.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.1.52/docs/schemas/v1/definitions.json#properties/Page +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.1.52/docs/schemas/v1/definitions.json#properties/Page apiVersion: v1 kind: page diff --git a/examples/hacker-news-client/README.md b/examples/hacker-news-client/README.md index 5d201470d15..92bbc7100da 100644 --- a/examples/hacker-news-client/README.md +++ b/examples/hacker-news-client/README.md @@ -24,7 +24,7 @@ pnpm create toolpad-app --example hacker-news-client or: -[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/mui-toolpad/tree/master/examples/hacker-news-client) +[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/examples/hacker-news-client) ## What's inside @@ -35,4 +35,4 @@ A Toolpad Studio app that shows how to: ## The source -[Check out the source code](https://github.com/mui/mui-toolpad/tree/master/examples/hacker-news-client) +[Check out the source code](https://github.com/mui/toolpad/tree/master/examples/hacker-news-client) diff --git a/examples/hacker-news-client/toolpad/pages/hackernews/page.yml b/examples/hacker-news-client/toolpad/pages/hackernews/page.yml index 325aa59d9f6..2061b593f8b 100644 --- a/examples/hacker-news-client/toolpad/pages/hackernews/page.yml +++ b/examples/hacker-news-client/toolpad/pages/hackernews/page.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.1.50/docs/schemas/v1/definitions.json#properties/Page +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.1.50/docs/schemas/v1/definitions.json#properties/Page apiVersion: v1 kind: page diff --git a/examples/npm-stats/README.md b/examples/npm-stats/README.md index 5e6d97cb8de..61c0b4c9a89 100644 --- a/examples/npm-stats/README.md +++ b/examples/npm-stats/README.md @@ -28,7 +28,7 @@ pnpm create toolpad-app --example npm-stats or: -[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/mui-toolpad/tree/master/examples/npm-stats) +[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/examples/npm-stats) ## What's inside @@ -41,4 +41,4 @@ This app demonstrates the following capabilities of Toolpad Studio: ## The source -[Check out the source code](https://github.com/mui/mui-toolpad/tree/master/examples/npm-stats) +[Check out the source code](https://github.com/mui/toolpad/tree/master/examples/npm-stats) diff --git a/examples/qr-generator/README.md b/examples/qr-generator/README.md index cc4f3afb697..590b139c6f8 100644 --- a/examples/qr-generator/README.md +++ b/examples/qr-generator/README.md @@ -28,7 +28,7 @@ pnpm create toolpad-app --example qr-generator or: -[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/mui-toolpad/tree/master/examples/qr-generator) +[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/examples/qr-generator) ## What's inside @@ -41,4 +41,4 @@ This app demonstrates the following capabilities of Toolpad Studio: ## The source -[Check out the source code](https://github.com/mui/mui-toolpad/tree/master/examples/qr-generator) +[Check out the source code](https://github.com/mui/toolpad/tree/master/examples/qr-generator) diff --git a/examples/stripe-script/README.md b/examples/stripe-script/README.md index a7cf9984a09..627207c16eb 100644 --- a/examples/stripe-script/README.md +++ b/examples/stripe-script/README.md @@ -4,7 +4,7 @@ ## Demo -https://github.com/mui/mui-toolpad/assets/19550456/bd327963-c061-4a75-906d-22acdd696211 +https://github.com/mui/toolpad/assets/19550456/bd327963-c061-4a75-906d-22acdd696211 ## How to run @@ -38,4 +38,4 @@ The app involves the following workflow: ## The source -[Check out the source code](https://github.com/mui/mui-toolpad/tree/master/examples/stripe-script) +[Check out the source code](https://github.com/mui/toolpad/tree/master/examples/stripe-script) diff --git a/examples/supabase/README.md b/examples/supabase/README.md index 4051bf9b999..e596fe6d4bb 100644 --- a/examples/supabase/README.md +++ b/examples/supabase/README.md @@ -35,4 +35,4 @@ This app demonstrates the following capabilities of Toolpad Studio: ## The source -[Check out the source code](https://github.com/mui/mui-toolpad/tree/master/examples/supabase) +[Check out the source code](https://github.com/mui/toolpad/tree/master/examples/supabase) diff --git a/examples/tabs/README.md b/examples/tabs/README.md index 15ea9f695bd..cdc10a7450f 100644 --- a/examples/tabs/README.md +++ b/examples/tabs/README.md @@ -20,7 +20,7 @@ pnpm create toolpad-app --example tabs or: -[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/mui-toolpad/tree/master/examples/tabs) +[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/examples/tabs) ## What's inside @@ -31,4 +31,4 @@ This app demonstrates the following capabilities of Toolpad: ## The source -[Check out the source code](https://github.com/mui/mui-toolpad/tree/master/examples/tabs) +[Check out the source code](https://github.com/mui/toolpad/tree/master/examples/tabs) diff --git a/examples/tabs/toolpad/application.yml b/examples/tabs/toolpad/application.yml index 80aec5a413a..ed4469e8c9b 100644 --- a/examples/tabs/toolpad/application.yml +++ b/examples/tabs/toolpad/application.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.3.1/docs/schemas/v1/definitions.json#properties/Application +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.3.1/docs/schemas/v1/definitions.json#properties/Application apiVersion: v1 kind: application diff --git a/examples/tabs/toolpad/pages/Tabs/page.yml b/examples/tabs/toolpad/pages/Tabs/page.yml index bb1be387a89..79b38720d4b 100644 --- a/examples/tabs/toolpad/pages/Tabs/page.yml +++ b/examples/tabs/toolpad/pages/Tabs/page.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.3.1/docs/schemas/v1/definitions.json#properties/Page +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.3.1/docs/schemas/v1/definitions.json#properties/Page apiVersion: v1 kind: page diff --git a/examples/with-prisma-data-provider/README.md b/examples/with-prisma-data-provider/README.md index a433cd433c6..0b2516ad292 100644 --- a/examples/with-prisma-data-provider/README.md +++ b/examples/with-prisma-data-provider/README.md @@ -36,4 +36,4 @@ This app demonstrates the following capabilities of Toolpad: ## The source -[Check out the source code](https://github.com/mui/mui-toolpad/tree/master/examples/with-prisma-data-provider) +[Check out the source code](https://github.com/mui/toolpad/tree/master/examples/with-prisma-data-provider) diff --git a/examples/with-prisma-data-provider/toolpad/pages/crud/page.yml b/examples/with-prisma-data-provider/toolpad/pages/crud/page.yml index dce3435c51f..bc423c7ad19 100644 --- a/examples/with-prisma-data-provider/toolpad/pages/crud/page.yml +++ b/examples/with-prisma-data-provider/toolpad/pages/crud/page.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.1.44/docs/schemas/v1/definitions.json#properties/Page +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.1.44/docs/schemas/v1/definitions.json#properties/Page apiVersion: v1 kind: page diff --git a/examples/with-prisma-data-provider/toolpad/pages/cursorBased/page.yml b/examples/with-prisma-data-provider/toolpad/pages/cursorBased/page.yml index 376146bd587..396a35ae833 100644 --- a/examples/with-prisma-data-provider/toolpad/pages/cursorBased/page.yml +++ b/examples/with-prisma-data-provider/toolpad/pages/cursorBased/page.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.1.44/docs/schemas/v1/definitions.json#properties/Page +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.1.44/docs/schemas/v1/definitions.json#properties/Page apiVersion: v1 kind: page diff --git a/examples/with-prisma-data-provider/toolpad/pages/indexBased/page.yml b/examples/with-prisma-data-provider/toolpad/pages/indexBased/page.yml index 26f5fc4328f..a092685fc8d 100644 --- a/examples/with-prisma-data-provider/toolpad/pages/indexBased/page.yml +++ b/examples/with-prisma-data-provider/toolpad/pages/indexBased/page.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.1.44/docs/schemas/v1/definitions.json#properties/Page +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.1.44/docs/schemas/v1/definitions.json#properties/Page apiVersion: v1 kind: page diff --git a/examples/with-prisma/README.md b/examples/with-prisma/README.md index 1f4b5f15776..14260d07def 100644 --- a/examples/with-prisma/README.md +++ b/examples/with-prisma/README.md @@ -30,4 +30,4 @@ This app demonstrates the following capabilities of Toolpad Studio: 2. Using a Data Grid, Button and a text input component. 3. Using CRUD operations from [Prisma Client API](https://www.prisma.io/docs/concepts/components/prisma-client/crud). -[Check out the source code](https://github.com/mui/mui-toolpad/tree/master/examples/with-prisma) +[Check out the source code](https://github.com/mui/toolpad/tree/master/examples/with-prisma) diff --git a/examples/with-wasm/README.md b/examples/with-wasm/README.md index 1483932deb2..6acec7f695f 100644 --- a/examples/with-wasm/README.md +++ b/examples/with-wasm/README.md @@ -22,7 +22,7 @@ yarn create toolpad-app --example with-wasm pnpm create toolpad-app --example with-wasm ``` -[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/mui-toolpad/tree/master/examples/with-wasm) +[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/fork/github/mui/toolpad/tree/master/examples/with-wasm) ## What's inside @@ -33,4 +33,4 @@ This app demonstrates the following capabilities of Toolpad: ## The source -[Check out the source code](https://github.com/mui/mui-toolpad/tree/master/examples/with-wasm) +[Check out the source code](https://github.com/mui/toolpad/tree/master/examples/with-wasm) diff --git a/package.json b/package.json index b001d800afe..d2e770d8928 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.0.1", "license": "MIT", "description": "Components and APIs for building dashboards and internal tools", - "repository": "https://github.com/mui/mui-toolpad.git", + "repository": "https://github.com/mui/toolpad.git", "private": true, "bin": { "toolpad-studio": "./dist/index.js" diff --git a/packages/create-toolpad-app/package.json b/packages/create-toolpad-app/package.json index 60dbefe4609..ffee06fa253 100644 --- a/packages/create-toolpad-app/package.json +++ b/packages/create-toolpad-app/package.json @@ -9,7 +9,7 @@ "description": "Create Toolpad apps with one command", "repository": { "type": "git", - "url": "https://github.com/mui/mui-toolpad", + "url": "https://github.com/mui/toolpad", "directory": "packages/create-toolpad-app" }, "author": "Toolpad Team", diff --git a/packages/create-toolpad-app/src/examples.ts b/packages/create-toolpad-app/src/examples.ts index f8f8445dfcc..825874ad049 100644 --- a/packages/create-toolpad-app/src/examples.ts +++ b/packages/create-toolpad-app/src/examples.ts @@ -41,7 +41,7 @@ export async function downloadAndExtractExample(root: string, name: string) { console.log(`${chalk.cyan('info')} - Downloading example "${name}" to ${chalk.cyan(root)}`); // eslint-disable-next-line no-console console.log(); - const tempFile = await downloadTar('https://codeload.github.com/mui/mui-toolpad/tar.gz/master'); + const tempFile = await downloadTar('https://codeload.github.com/mui/toolpad/tar.gz/master'); await tar.x({ file: tempFile, diff --git a/packages/create-toolpad-app/src/index.ts b/packages/create-toolpad-app/src/index.ts index 64b3adfcc7e..6babc8ddae2 100644 --- a/packages/create-toolpad-app/src/index.ts +++ b/packages/create-toolpad-app/src/index.ts @@ -235,7 +235,7 @@ const run = async () => { .option('example', { type: 'string', describe: - 'The name of one of the available examples. See https://github.com/mui/mui-toolpad/tree/master/examples.', + 'The name of one of the available examples. See https://github.com/mui/toolpad/tree/master/examples.', }) .help().argv; diff --git a/packages/toolpad-core/package.json b/packages/toolpad-core/package.json index f1b2ca2e906..a32f868219f 100644 --- a/packages/toolpad-core/package.json +++ b/packages/toolpad-core/package.json @@ -29,14 +29,14 @@ ], "repository": { "type": "git", - "url": "https://github.com/mui/mui-toolpad.git", + "url": "https://github.com/mui/toolpad.git", "directory": "packages/toolpad-core" }, "license": "MIT", "bugs": { - "url": "https://github.com/mui/mui-toolpad/issues" + "url": "https://github.com/mui/toolpad/issues" }, - "homepage": "https://github.com/mui/mui-toolpad#readme", + "homepage": "https://github.com/mui/toolpad#readme", "scripts": { "clean": "rimraf build", "prebuild": "pnpm clean", diff --git a/packages/toolpad-studio-components/package.json b/packages/toolpad-studio-components/package.json index ac76f173c39..f8ee0ff045a 100644 --- a/packages/toolpad-studio-components/package.json +++ b/packages/toolpad-studio-components/package.json @@ -3,7 +3,7 @@ "version": "0.5.2", "description": "Build MUI apps quickly", "author": "MUI Toolpad team", - "homepage": "https://github.com/mui/mui-toolpad#readme", + "homepage": "https://github.com/mui/toolpad#readme", "license": "MIT", "module": "./dist/index.js", "types": "./dist/index.d.ts", @@ -28,7 +28,7 @@ ], "repository": { "type": "git", - "url": "git+https://github.com/mui/mui-toolpad.git" + "url": "git+https://github.com/mui/toolpad.git" }, "scripts": { "build": "tsup", @@ -37,7 +37,7 @@ "build:types": "tsc --declaration --emitDeclarationOnly" }, "bugs": { - "url": "https://github.com/mui/mui-toolpad/issues" + "url": "https://github.com/mui/toolpad/issues" }, "dependencies": { "@mui/icons-material": "6.0.2", diff --git a/packages/toolpad-studio-runtime/package.json b/packages/toolpad-studio-runtime/package.json index 2d0f77a1c67..616a93bc729 100644 --- a/packages/toolpad-studio-runtime/package.json +++ b/packages/toolpad-studio-runtime/package.json @@ -3,7 +3,7 @@ "version": "0.5.2", "description": "Build MUI apps quickly", "author": "MUI Toolpad team", - "homepage": "https://github.com/mui/mui-toolpad#readme", + "homepage": "https://github.com/mui/toolpad#readme", "license": "MIT", "module": "./dist/index.js", "types": "./dist/index.d.ts", @@ -31,7 +31,7 @@ ], "repository": { "type": "git", - "url": "git+https://github.com/mui/mui-toolpad.git" + "url": "git+https://github.com/mui/toolpad.git" }, "scripts": { "build": "tsup", @@ -39,7 +39,7 @@ "check-types": "tsup && tsc --noEmit" }, "bugs": { - "url": "https://github.com/mui/mui-toolpad/issues" + "url": "https://github.com/mui/toolpad/issues" }, "dependencies": { "@auth/core": "0.34.2", diff --git a/packages/toolpad-studio/README.md b/packages/toolpad-studio/README.md index bad9f04239c..51b363a318b 100644 --- a/packages/toolpad-studio/README.md +++ b/packages/toolpad-studio/README.md @@ -30,7 +30,7 @@ Our documentation contains more [examples](https://mui.com/toolpad/studio/exampl ## Changelog -The [changelog](https://github.com/mui/mui-toolpad/releases) is regularly updated to reflect what's changed in each new release. +The [changelog](https://github.com/mui/toolpad/releases) is regularly updated to reflect what's changed in each new release. ## Roadmap diff --git a/packages/toolpad-studio/package.json b/packages/toolpad-studio/package.json index ad13b237a7e..58da09a8d59 100644 --- a/packages/toolpad-studio/package.json +++ b/packages/toolpad-studio/package.json @@ -28,11 +28,11 @@ ], "repository": { "type": "git", - "url": "https://github.com/mui/mui-toolpad.git", + "url": "https://github.com/mui/toolpad.git", "directory": "packages/toolpad-studio" }, "bugs": { - "url": "https://github.com/mui/mui-toolpad/issues" + "url": "https://github.com/mui/toolpad/issues" }, "homepage": "https://mui.com/toolpad/", "files": [ diff --git a/packages/toolpad-studio/src/constants.ts b/packages/toolpad-studio/src/constants.ts index d1c5e58b48e..532b338997c 100644 --- a/packages/toolpad-studio/src/constants.ts +++ b/packages/toolpad-studio/src/constants.ts @@ -4,7 +4,7 @@ export const INITIAL_STATE_WINDOW_PROPERTY = '__initialToolpadState__'; export const TOOLPAD_TARGET_CE = 'CE'; export const TOOLPAD_TARGET_CLOUD = 'CLOUD'; export const TOOLPAD_TARGET_PRO = 'PRO'; -export const REPOSITORY_URL = 'https://github.com/mui/mui-toolpad'; +export const REPOSITORY_URL = 'https://github.com/mui/toolpad'; export const LANDING_PAGE_URL = 'https://mui.com/toolpad/'; export const DOCUMENTATION_URL = 'https://mui.com/toolpad/studio/getting-started/'; export const DOCUMENTATION_INSTALLATION_URL = diff --git a/packages/toolpad-studio/src/server/localMode.ts b/packages/toolpad-studio/src/server/localMode.ts index 8dac917105d..fa809a1197d 100644 --- a/packages/toolpad-studio/src/server/localMode.ts +++ b/packages/toolpad-studio/src/server/localMode.ts @@ -792,7 +792,7 @@ function extractApplicationFromDom(dom: appDom.AppDom): Application | null { } function getSchemaUrl(obj: string) { - return `https://raw.githubusercontent.com/mui/mui-toolpad/v${packageInfo.version}/docs/schemas/v1/definitions.json#properties/${obj}`; + return `https://raw.githubusercontent.com/mui/toolpad/v${packageInfo.version}/docs/schemas/v1/definitions.json#properties/${obj}`; } async function writePagesToFiles(root: string, pages: PagesContent) { diff --git a/packages/toolpad-studio/src/toolpad/AppEditor/PageEditor/ComponentCatalog/ComponentCatalog.tsx b/packages/toolpad-studio/src/toolpad/AppEditor/PageEditor/ComponentCatalog/ComponentCatalog.tsx index 9633372be49..e9a04a62966 100644 --- a/packages/toolpad-studio/src/toolpad/AppEditor/PageEditor/ComponentCatalog/ComponentCatalog.tsx +++ b/packages/toolpad-studio/src/toolpad/AppEditor/PageEditor/ComponentCatalog/ComponentCatalog.tsx @@ -31,17 +31,14 @@ interface FutureComponentSpec { } const FUTURE_COMPONENTS = new Map([ - ['Map', { url: 'https://github.com/mui/mui-toolpad/issues/864', displayName: 'Map' }], - [ - 'Pie Chart', - { url: 'https://github.com/mui/mui-toolpad/issues/2615', displayName: 'Pie Chart' }, - ], - ['Drawer', { url: 'https://github.com/mui/mui-toolpad/issues/1540', displayName: 'Drawer' }], - ['Html', { url: 'https://github.com/mui/mui-toolpad/issues/1311', displayName: 'Html' }], - ['Icon', { url: 'https://github.com/mui/mui-toolpad/issues/83', displayName: 'Icon' }], - ['Card', { url: 'https://github.com/mui/mui-toolpad/issues/748', displayName: 'Card' }], - ['Slider', { url: 'https://github.com/mui/mui-toolpad/issues/746', displayName: 'Slider' }], - ['Radio', { url: 'https://github.com/mui/mui-toolpad/issues/744', displayName: 'Radio' }], + ['Map', { url: 'https://github.com/mui/toolpad/issues/864', displayName: 'Map' }], + ['Pie Chart', { url: 'https://github.com/mui/toolpad/issues/2615', displayName: 'Pie Chart' }], + ['Drawer', { url: 'https://github.com/mui/toolpad/issues/1540', displayName: 'Drawer' }], + ['Html', { url: 'https://github.com/mui/toolpad/issues/1311', displayName: 'Html' }], + ['Icon', { url: 'https://github.com/mui/toolpad/issues/83', displayName: 'Icon' }], + ['Card', { url: 'https://github.com/mui/toolpad/issues/748', displayName: 'Card' }], + ['Slider', { url: 'https://github.com/mui/toolpad/issues/746', displayName: 'Slider' }], + ['Radio', { url: 'https://github.com/mui/toolpad/issues/744', displayName: 'Radio' }], ]); const COMPONENT_CATALOG_WIDTH_COLLAPSED = 40; diff --git a/packages/toolpad-studio/src/toolpad/ToolpadShell/Header/UserFeedback/index.tsx b/packages/toolpad-studio/src/toolpad/ToolpadShell/Header/UserFeedback/index.tsx index 96545015ede..6af9934aad0 100644 --- a/packages/toolpad-studio/src/toolpad/ToolpadShell/Header/UserFeedback/index.tsx +++ b/packages/toolpad-studio/src/toolpad/ToolpadShell/Header/UserFeedback/index.tsx @@ -24,8 +24,8 @@ import { DOCUMENTATION_URL, VERSION_CHECK_INTERVAL } from '../../../../constants import { useProjectApi } from '../../../../projectApi'; import type { PackageManager } from '../../../../server/versionInfo'; -const REPORT_BUG_URL = 'https://github.com/mui/mui-toolpad/issues/new/choose'; -const FEATURE_REQUEST_URL = 'https://github.com/mui/mui-toolpad/issues'; +const REPORT_BUG_URL = 'https://github.com/mui/toolpad/issues/new/choose'; +const FEATURE_REQUEST_URL = 'https://github.com/mui/toolpad/issues'; const SUPPORT_URL = 'https://mui.com/toolpad/studio/getting-started/support'; interface SnippetProps { children: string; diff --git a/packages/toolpad-studio/src/toolpadDataSources/rest/client.tsx b/packages/toolpad-studio/src/toolpadDataSources/rest/client.tsx index 95333c2f18d..96c035bb896 100644 --- a/packages/toolpad-studio/src/toolpadDataSources/rest/client.tsx +++ b/packages/toolpad-studio/src/toolpadDataSources/rest/client.tsx @@ -744,7 +744,7 @@ function QueryEditor({ function getInitialQueryValue(): FetchQuery { return { method: 'GET', - url: 'https://raw.githubusercontent.com/mui/mui-toolpad/master/public/movies.json', + url: 'https://raw.githubusercontent.com/mui/toolpad/master/public/movies.json', headers: [], browser: false, }; diff --git a/packages/toolpad-utils/package.json b/packages/toolpad-utils/package.json index 906d57413e9..07a50f8fda3 100644 --- a/packages/toolpad-utils/package.json +++ b/packages/toolpad-utils/package.json @@ -3,7 +3,7 @@ "version": "0.5.2", "description": "Shared utilities used by Toolpad packages.", "author": "MUI Toolpad team", - "homepage": "https://github.com/mui/mui-toolpad#readme", + "homepage": "https://github.com/mui/toolpad#readme", "license": "MIT", "main": "./dist/index.cjs", "module": "./dist/index.js", @@ -39,7 +39,7 @@ ], "repository": { "type": "git", - "url": "git+https://github.com/mui/mui-toolpad.git" + "url": "git+https://github.com/mui/toolpad.git" }, "scripts": { "build": "tsup", @@ -48,7 +48,7 @@ "test": "vitest run --coverage" }, "bugs": { - "url": "https://github.com/mui/mui-toolpad/issues" + "url": "https://github.com/mui/toolpad/issues" }, "peerDependencies": { "react": "^18.0.0" diff --git a/test/integration/auth/fixture-domain/toolpad/pages/mypage/page.yml b/test/integration/auth/fixture-domain/toolpad/pages/mypage/page.yml index 59d8a47aa4a..adcf53f8a3f 100644 --- a/test/integration/auth/fixture-domain/toolpad/pages/mypage/page.yml +++ b/test/integration/auth/fixture-domain/toolpad/pages/mypage/page.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.1.52/docs/schemas/v1/definitions.json#properties/Page +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.1.52/docs/schemas/v1/definitions.json#properties/Page apiVersion: v1 kind: page diff --git a/test/integration/auth/fixture-roles/toolpad/pages/adminpage/page.yml b/test/integration/auth/fixture-roles/toolpad/pages/adminpage/page.yml index e9faea13e80..80273445b76 100644 --- a/test/integration/auth/fixture-roles/toolpad/pages/adminpage/page.yml +++ b/test/integration/auth/fixture-roles/toolpad/pages/adminpage/page.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.1.48/docs/schemas/v1/definitions.json#properties/Page +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.1.48/docs/schemas/v1/definitions.json#properties/Page apiVersion: v1 kind: page diff --git a/test/integration/auth/fixture-roles/toolpad/pages/publicpage/page.yml b/test/integration/auth/fixture-roles/toolpad/pages/publicpage/page.yml index 21867f13af7..5f6d74df290 100644 --- a/test/integration/auth/fixture-roles/toolpad/pages/publicpage/page.yml +++ b/test/integration/auth/fixture-roles/toolpad/pages/publicpage/page.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.1.48/docs/schemas/v1/definitions.json#properties/Page +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.1.48/docs/schemas/v1/definitions.json#properties/Page apiVersion: v1 kind: page diff --git a/test/integration/backend-basic/fixture/toolpad/pages/basic/page.yml b/test/integration/backend-basic/fixture/toolpad/pages/basic/page.yml index 37b556b3937..9b2e1ab6e31 100644 --- a/test/integration/backend-basic/fixture/toolpad/pages/basic/page.yml +++ b/test/integration/backend-basic/fixture/toolpad/pages/basic/page.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.1.44/docs/schemas/v1/definitions.json#properties/Page +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.1.44/docs/schemas/v1/definitions.json#properties/Page apiVersion: v1 kind: page diff --git a/test/integration/backend-basic/fixture/toolpad/pages/crud/page.yml b/test/integration/backend-basic/fixture/toolpad/pages/crud/page.yml index 93359dbef83..8fa359b5309 100644 --- a/test/integration/backend-basic/fixture/toolpad/pages/crud/page.yml +++ b/test/integration/backend-basic/fixture/toolpad/pages/crud/page.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.1.44/docs/schemas/v1/definitions.json#properties/Page +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.1.44/docs/schemas/v1/definitions.json#properties/Page apiVersion: v1 kind: page diff --git a/test/integration/backend-basic/fixture/toolpad/pages/dataProviders/page.yml b/test/integration/backend-basic/fixture/toolpad/pages/dataProviders/page.yml index f60575c6fb2..f9d2190094f 100644 --- a/test/integration/backend-basic/fixture/toolpad/pages/dataProviders/page.yml +++ b/test/integration/backend-basic/fixture/toolpad/pages/dataProviders/page.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.1.44/docs/schemas/v1/definitions.json#properties/Page +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.1.44/docs/schemas/v1/definitions.json#properties/Page apiVersion: v1 kind: page diff --git a/test/integration/backend-basic/fixture/toolpad/pages/extractedTypes/page.yml b/test/integration/backend-basic/fixture/toolpad/pages/extractedTypes/page.yml index cf3b072c32f..bcef86eb0da 100644 --- a/test/integration/backend-basic/fixture/toolpad/pages/extractedTypes/page.yml +++ b/test/integration/backend-basic/fixture/toolpad/pages/extractedTypes/page.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.1.44/docs/schemas/v1/definitions.json#properties/Page +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.1.44/docs/schemas/v1/definitions.json#properties/Page apiVersion: v1 kind: page diff --git a/test/integration/backend-basic/fixture/toolpad/pages/serialization/page.yml b/test/integration/backend-basic/fixture/toolpad/pages/serialization/page.yml index ed416e52425..6e097e6fbbf 100644 --- a/test/integration/backend-basic/fixture/toolpad/pages/serialization/page.yml +++ b/test/integration/backend-basic/fixture/toolpad/pages/serialization/page.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.1.44/docs/schemas/v1/definitions.json#properties/Page +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.1.44/docs/schemas/v1/definitions.json#properties/Page apiVersion: v1 kind: page diff --git a/test/integration/codeComponents/fixture/toolpad/pages/page/page.yml b/test/integration/codeComponents/fixture/toolpad/pages/page/page.yml index f822cf1875a..c9f3bec8cf4 100644 --- a/test/integration/codeComponents/fixture/toolpad/pages/page/page.yml +++ b/test/integration/codeComponents/fixture/toolpad/pages/page/page.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.1.54/docs/schemas/v1/definitions.json#properties/Page +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.1.54/docs/schemas/v1/definitions.json#properties/Page apiVersion: v1 kind: page diff --git a/test/integration/codeComponents/fixture/toolpad/pages/page1/page.yml b/test/integration/codeComponents/fixture/toolpad/pages/page1/page.yml index 83f97ef2444..8029a1f4e53 100644 --- a/test/integration/codeComponents/fixture/toolpad/pages/page1/page.yml +++ b/test/integration/codeComponents/fixture/toolpad/pages/page1/page.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.1.54/docs/schemas/v1/definitions.json#properties/Page +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.1.54/docs/schemas/v1/definitions.json#properties/Page apiVersion: v1 kind: page diff --git a/test/integration/data-grid/fixture-basic/toolpad/pages/dateColumns/page.yml b/test/integration/data-grid/fixture-basic/toolpad/pages/dateColumns/page.yml index 72a06068cba..1da4d1d662e 100644 --- a/test/integration/data-grid/fixture-basic/toolpad/pages/dateColumns/page.yml +++ b/test/integration/data-grid/fixture-basic/toolpad/pages/dateColumns/page.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.1.40/docs/schemas/v1/definitions.json#properties/Page +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.1.40/docs/schemas/v1/definitions.json#properties/Page apiVersion: v1 kind: page diff --git a/test/integration/data-grid/fixture-basic/toolpad/pages/page1/page.yml b/test/integration/data-grid/fixture-basic/toolpad/pages/page1/page.yml index f422bba31f6..a8b00bffbeb 100644 --- a/test/integration/data-grid/fixture-basic/toolpad/pages/page1/page.yml +++ b/test/integration/data-grid/fixture-basic/toolpad/pages/page1/page.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.1.40/docs/schemas/v1/definitions.json#properties/Page +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.1.40/docs/schemas/v1/definitions.json#properties/Page apiVersion: v1 kind: page diff --git a/test/integration/data-grid/fixture-custom/toolpad/pages/page/page.yml b/test/integration/data-grid/fixture-custom/toolpad/pages/page/page.yml index 2c528fca3d1..af57184388d 100644 --- a/test/integration/data-grid/fixture-custom/toolpad/pages/page/page.yml +++ b/test/integration/data-grid/fixture-custom/toolpad/pages/page/page.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.1.54/docs/schemas/v1/definitions.json#properties/Page +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.1.54/docs/schemas/v1/definitions.json#properties/Page apiVersion: v1 kind: page diff --git a/test/integration/pro/fixture/toolpad/pages/basic/page.yml b/test/integration/pro/fixture/toolpad/pages/basic/page.yml index 5022f1e31e8..28f3c448a38 100644 --- a/test/integration/pro/fixture/toolpad/pages/basic/page.yml +++ b/test/integration/pro/fixture/toolpad/pages/basic/page.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.1.53/docs/schemas/v1/definitions.json#properties/Page +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.1.53/docs/schemas/v1/definitions.json#properties/Page apiVersion: v1 kind: page diff --git a/test/visual/components/fixture/toolpad/pages/blank/page.yml b/test/visual/components/fixture/toolpad/pages/blank/page.yml index a4a31d642ce..06aff25dd42 100644 --- a/test/visual/components/fixture/toolpad/pages/blank/page.yml +++ b/test/visual/components/fixture/toolpad/pages/blank/page.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.1.50/docs/schemas/v1/definitions.json#properties/Page +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.1.50/docs/schemas/v1/definitions.json#properties/Page apiVersion: v1 kind: page diff --git a/test/visual/components/fixture/toolpad/pages/components/page.yml b/test/visual/components/fixture/toolpad/pages/components/page.yml index 5f041bb1e7d..4cfb9ab7911 100644 --- a/test/visual/components/fixture/toolpad/pages/components/page.yml +++ b/test/visual/components/fixture/toolpad/pages/components/page.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.1.50/docs/schemas/v1/definitions.json#properties/Page +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.1.50/docs/schemas/v1/definitions.json#properties/Page apiVersion: v1 kind: page diff --git a/test/visual/components/fixture/toolpad/pages/dragdrop/page.yml b/test/visual/components/fixture/toolpad/pages/dragdrop/page.yml index a1fc3c229f8..a7cd4b9ddc3 100644 --- a/test/visual/components/fixture/toolpad/pages/dragdrop/page.yml +++ b/test/visual/components/fixture/toolpad/pages/dragdrop/page.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.1.50/docs/schemas/v1/definitions.json#properties/Page +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.1.50/docs/schemas/v1/definitions.json#properties/Page apiVersion: v1 kind: page diff --git a/test/visual/components/fixture/toolpad/pages/grids/page.yml b/test/visual/components/fixture/toolpad/pages/grids/page.yml index 83b532d77bf..fab4306692b 100644 --- a/test/visual/components/fixture/toolpad/pages/grids/page.yml +++ b/test/visual/components/fixture/toolpad/pages/grids/page.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.1.50/docs/schemas/v1/definitions.json#properties/Page +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.1.50/docs/schemas/v1/definitions.json#properties/Page apiVersion: v1 kind: page diff --git a/test/visual/components/fixture/toolpad/pages/rows/page.yml b/test/visual/components/fixture/toolpad/pages/rows/page.yml index 6aaaf9868b6..f92879e7933 100644 --- a/test/visual/components/fixture/toolpad/pages/rows/page.yml +++ b/test/visual/components/fixture/toolpad/pages/rows/page.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.1.50/docs/schemas/v1/definitions.json#properties/Page +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.1.50/docs/schemas/v1/definitions.json#properties/Page apiVersion: v1 kind: page diff --git a/test/visual/components/fixture/toolpad/pages/text/page.yml b/test/visual/components/fixture/toolpad/pages/text/page.yml index 77701e105c8..c212fa8f30f 100644 --- a/test/visual/components/fixture/toolpad/pages/text/page.yml +++ b/test/visual/components/fixture/toolpad/pages/text/page.yml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/mui-toolpad/v0.1.50/docs/schemas/v1/definitions.json#properties/Page +# yaml-language-server: $schema=https://raw.githubusercontent.com/mui/toolpad/v0.1.50/docs/schemas/v1/definitions.json#properties/Page apiVersion: v1 kind: page From b35653616cb4778427cbcd4beae7acbfa0ccaeb4 Mon Sep 17 00:00:00 2001 From: MUI bot <2109932+Janpot@users.noreply.github.com> Date: Mon, 9 Sep 2024 13:46:00 +0200 Subject: [PATCH 2/4] few others --- .circleci/config.yml | 2 +- package.json | 2 +- packages/create-toolpad-app/src/examples.ts | 2 +- packages/toolpad-core/src/AppProvider/AppThemeProvider.tsx | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ebef6aace32..d6d35ca635b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ orbs: codecov: codecov/codecov@4.1.0 default-job: &default-job - working_directory: /tmp/mui-toolpad + working_directory: /tmp/toolpad resource_class: medium docker: - image: cimg/node:18.19.1 diff --git a/package.json b/package.json index d2e770d8928..1dd65a55397 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "release:build": "lerna run --ignore docs --stream build --concurrency 1", "release:version": "lerna version --exact --no-changelog --no-push --no-git-tag-version", "release:publish": "pnpm dedupe && pnpm release:build && pnpm publish --recursive --tag latest", - "release:changelog": "dotenv -- node ./scripts/releaseChangelog.mjs --repo mui-toolpad", + "release:changelog": "dotenv -- node ./scripts/releaseChangelog.mjs --repo toolpad", "test:build": "lerna run build --scope @toolpad/studio-runtime --scope @toolpad/studio-components --stream", "test:integration": "rimraf ./node_modules/.vite && playwright test --config ./test/playwright.config.ts", "test:browser": "FORCE_COLOR=1 pnpm run -r test:browser", diff --git a/packages/create-toolpad-app/src/examples.ts b/packages/create-toolpad-app/src/examples.ts index 825874ad049..d979fb5d6cb 100644 --- a/packages/create-toolpad-app/src/examples.ts +++ b/packages/create-toolpad-app/src/examples.ts @@ -47,7 +47,7 @@ export async function downloadAndExtractExample(root: string, name: string) { file: tempFile, cwd: root, strip: 2 + name.split('/').length, - filter: (p) => p.includes(`mui-toolpad-master/examples/${name}/`), + filter: (p) => p.includes(`toolpad-master/examples/${name}/`), }); // eslint-disable-next-line no-console diff --git a/packages/toolpad-core/src/AppProvider/AppThemeProvider.tsx b/packages/toolpad-core/src/AppProvider/AppThemeProvider.tsx index 9eb6fba65b7..9e487863f09 100644 --- a/packages/toolpad-core/src/AppProvider/AppThemeProvider.tsx +++ b/packages/toolpad-core/src/AppProvider/AppThemeProvider.tsx @@ -9,8 +9,8 @@ import { PaletteModeContext } from '../shared/context'; import type { AppTheme } from './AppProvider'; const COLOR_SCHEME_ATTRIBUTE = 'data-toolpad-color-scheme'; -const COLOR_SCHEME_STORAGE_KEY = 'mui-toolpad-color-scheme'; -const MODE_STORAGE_KEY = 'mui-toolpad-mode'; +const COLOR_SCHEME_STORAGE_KEY = 'toolpad-color-scheme'; +const MODE_STORAGE_KEY = 'toolpad-mode'; function usePreferredMode() { const prefersDarkMode = useMediaQuery('(prefers-color-scheme: dark)'); From d1dbd963559f60e56f6e56a839d8e5d4f55efa9f Mon Sep 17 00:00:00 2001 From: MUI bot <2109932+Janpot@users.noreply.github.com> Date: Mon, 16 Sep 2024 17:04:13 +0200 Subject: [PATCH 3/4] ci From a5acd417653229741aee0cdb23e5309e0b2dfaa6 Mon Sep 17 00:00:00 2001 From: MUI bot <2109932+Janpot@users.noreply.github.com> Date: Mon, 16 Sep 2024 17:57:55 +0200 Subject: [PATCH 4/4] ci