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] Improve TypeScript for plugins #13380

Merged
merged 9 commits into from
Jun 10, 2024

Conversation

flaviendelangle
Copy link
Member

@flaviendelangle flaviendelangle commented Jun 5, 2024

Cleaner version of #13311 without the changes outside of TypeScript

  • Clean the generic names (TSignatures for signatures, TPlugins for plugins)
  • Always use signatures as generic, no more mix of signatures and plugins depending on the hook / method / interface
  • Clean the injection of core plugins in the apiRef and instance

@flaviendelangle flaviendelangle added the component: tree view TreeView, TreeItem. This is the name of the generic UI component, not the React module! label Jun 5, 2024
@flaviendelangle flaviendelangle self-assigned this Jun 5, 2024
@flaviendelangle flaviendelangle changed the title [TreeView] Improve TypeScript for plugins [TreeView] Improve TypeScript for plugins [WIP] Jun 5, 2024
@mui-bot
Copy link

mui-bot commented Jun 5, 2024

@flaviendelangle flaviendelangle changed the title [TreeView] Improve TypeScript for plugins [WIP] [TreeView] Improve TypeScript for plugins Jun 6, 2024
@flaviendelangle flaviendelangle marked this pull request as ready for review June 6, 2024 10:58
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.

Looking great ... :shipit:

thomasmoon pushed a commit to thomasmoon/mui-x that referenced this pull request Sep 9, 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.

3 participants