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

feat: add select parent node of selected node #158

Merged
merged 3 commits into from
May 20, 2024

Conversation

ccloli
Copy link
Contributor

@ccloli ccloli commented May 20, 2024

image

/**
* 选中当前选中节点的父节点
*/
selectParentNode() {
Copy link
Contributor

Choose a reason for hiding this comment

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

直接放在 SelectSource ?

selectSource.selectParent()

Copy link
Contributor Author

Choose a reason for hiding this comment

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

已在 791e9ac 调整

@@ -48,4 +53,5 @@ registerWidget('sidebar.dataSource', DataSourcePanel);

registerWidget('selectionMenu.copyNode', CopyNodeAction);
registerWidget('selectionMenu.deleteNode', DeleteNodeAction);
registerWidget('selectionMenu.parentNode', ParentNodeAction);
Copy link
Contributor

Choose a reason for hiding this comment

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

key 叫 "selectParentNode" 吧

Copy link
Contributor Author

Choose a reason for hiding this comment

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

已在 791e9ac 调整

@ccloli ccloli force-pushed the feature/selection-menu-parent-node branch from 791e9ac to 625eaee Compare May 20, 2024 09:02
@wwsun wwsun merged commit fe31246 into NetEase:main May 20, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants