-
Notifications
You must be signed in to change notification settings - Fork 814
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
Refactor Message.control and Tree Messages #2602
Conversation
Looks good to me. @davep thoughts? |
@willmcgugan Aye, I like what I see here! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Would you mind adding a brief CHANGELOG entry.
Added! |
I believe this should also fix #2648. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
THanks @aaronst ! |
An attempt to address #2528 and #2529 as suggested by @davep.
Message.control
to a propertytree
parameter from:Tree.NodeCollapsed
Tree.NodeExpanded
Tree.NodeHighlighted
Tree.NodeSelected
DirectoryTree.FileSelected
control
to returnself.node.tree
.I was not entirely following what changes needed to be made to the
@on
decorator, but I believe the rest is there. Additionally, I was getting a type error forDirectoryTree.FileSelected.control
becauseself.node.tree
is aTree[DirEntry]
vs aDirectoryTree
. Not sure if that matters so I wanted to raise it here.Hope this helps, happy to get it finished with a little more guidance.