Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[TreeView] Create pro package #12240

Merged
merged 7 commits into from Mar 29, 2024

Conversation

flaviendelangle
Copy link
Member

@flaviendelangle flaviendelangle commented Feb 28, 2024

Required for #12213

  • Create the package but keep it private
  • Prepare doc infra but comment all the code with an easy to find TODO

Follow up

  • Structure @mui/x-tree-view/internals
  • Create an enhanced version of RichTreeView in the pro package instead of re-exporting and add license check

@flaviendelangle flaviendelangle added the component: tree view TreeView, TreeItem. This is the name of the generic UI component, not the React module! label Feb 28, 2024
@flaviendelangle flaviendelangle self-assigned this Feb 28, 2024
@@ -1,7 +1,7 @@
{
"name": "@mui/x-data-grid-pro",
"version": "7.0.0-beta.4",
"description": "The Pro plan edition of the data grid component (MUI X).",
"description": "The Pro plan edition of the Data Grid components (MUI X).",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I took the opportunity to unify all the descriptions in the README and package.json:

  • I went for the "Community plan edition" wording but we can pick "Community edition" instead if you want (we had both)
  • I capitalized Data Grid, Charts, Tree View and Date and Time Pickers.
  • I applied plural to "Data Grid components" because "Tree View components" was also plural and we have several components on the grid with all the slots, but same I can revert to singular here if you want.
  • I explicitly wrote "Pro plan edition" instead of "commercial edition" for tree view and pickers which have no premium plan.

@mui-bot
Copy link

mui-bot commented Feb 28, 2024

Deploy preview: https://deploy-preview-12240--material-ui-x.netlify.app/

Generated by 🚫 dangerJS against b55c766

@@ -0,0 +1 @@
export * from '@mui/x-tree-view';
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once we actually have a pro RichTreeView component, we won't be able to export everything from the root because of name collision (same as on the grid).
But for now this simplifies a lot the PR, and it will help us make sure we don't forget some export by looking at the export JSON file.

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Mar 2, 2024
Copy link

github-actions bot commented Mar 2, 2024

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@flaviendelangle flaviendelangle changed the base branch from next to master March 28, 2024 08:10
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Mar 28, 2024
Copy link
Member

@michelengelen michelengelen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Mar 28, 2024
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@flaviendelangle flaviendelangle marked this pull request as ready for review March 29, 2024 13:13
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Mar 29, 2024
@flaviendelangle flaviendelangle merged commit 7a3a889 into mui:master Mar 29, 2024
17 checks passed
@flaviendelangle flaviendelangle deleted the x-tree-view-pro branch March 29, 2024 13:41
@flaviendelangle flaviendelangle changed the title [Tree View] Create pro package [TreeView] Create pro package Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: tree view TreeView, TreeItem. This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants