Skip to content

[TreeView] Add label editing feature#13388

Merged
noraleonte merged 110 commits intomui:masterfrom
noraleonte:label-editing
Aug 13, 2024
Merged

[TreeView] Add label editing feature#13388
noraleonte merged 110 commits intomui:masterfrom
noraleonte:label-editing

Conversation

@noraleonte
Copy link
Contributor

@noraleonte noraleonte commented Jun 5, 2024

Preview:

https://deploy-preview-13388--material-ui-x.netlify.app/x/react-tree-view/rich-tree-view/editing/

To do:

  • Finetune the behavior on double click
  • add callback method
  • finetune api for controlling the editing state (and limiting it to icon buttons as opposed to keyboard interactions)
  • create docs
  • styling of the editing state
  • tests

@noraleonte noraleonte added type: new feature Expand the scope of the product to solve a new problem. scope: tree view Changes related to the tree view. This includes TreeView, TreeItem. labels Jun 5, 2024
@noraleonte noraleonte self-assigned this Jun 5, 2024
@mui-bot
Copy link

mui-bot commented Jun 5, 2024

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

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

@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged. label Jun 17, 2024
Copy link
Member

@flaviendelangle flaviendelangle left a comment

Choose a reason for hiding this comment

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

For me we are almost good to go

I think we need to make the feature unstable like the drag & drop one, I would follow the same pattern and just add an experimentalFeature={{ labelEditing }} flag.

noraleonte and others added 6 commits August 6, 2024 13:56
Copy link
Member

@LukasTy LukasTy left a comment

Choose a reason for hiding this comment

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

Looks great, awesome work! 🎉💯
Leaving a couple final comments regarding demos. 👍

Copy link
Member

@LukasTy LukasTy left a comment

Choose a reason for hiding this comment

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

LGTM, congrats! 👍 💯 💙 🚀

Copy link
Member

@flaviendelangle flaviendelangle left a comment

Choose a reason for hiding this comment

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

Thanks for the terrific work on this feature! 👏

@noraleonte noraleonte merged commit 471b118 into mui:master Aug 13, 2024
@noraleonte noraleonte deleted the label-editing branch August 13, 2024 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: tree view Changes related to the tree view. This includes TreeView, TreeItem. type: new feature Expand the scope of the product to solve a new problem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants