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

Moving nodes using keyboard instead drag&drop: child node → parent node #627

Open
solrafa opened this issue Aug 27, 2024 · 4 comments
Open
Assignees
Labels
enhancement fixed Fix committed to GitHub and will be available in next release
Milestone

Comments

@solrafa
Copy link

solrafa commented Aug 27, 2024

Hi,
I'd like to move nodes using keyboard instead drag&drop.

Now I can move a sibling up/down using ALT+up or ALT+down.

It will be great if I could move a child node to previous level, becoming it as a parent note (an uncle node).

And it will good if I could select one or more nodes using SHIFT+up/down and move them with ALT+up/down or ALT+right/left.

Thanks for make our brainstorming better,
Rafael

@phase1geo phase1geo self-assigned this Aug 28, 2024
@phase1geo
Copy link
Owner

This is a good suggestion.

@phase1geo phase1geo added this to the 1.16.5 milestone Aug 28, 2024
@phase1geo
Copy link
Owner

I have pushed a change to the master branch which redefines an existing keyboard shortcut and adds a new keyboard shortcut to replace that existing functionality.

  • Alt + Direction of parent node = moves the currently selected node to be a sibling of its parent (new requested functionality)
  • Alt + Direction of child nodes = moves the children of the currently selected node to be siblings of the node (previously existed but used Alt + Direction of parent node).

I think that this new combination of keyboard shortcuts should be intuitive and satisfies the new request.

The request for multiple selection move may need to hold off as I don't currently have support for moving multiply selected nodes at the moment. This is on the list so once that functionality exists I can add keyboard shortcuts.

@phase1geo phase1geo added the fixed Fix committed to GitHub and will be available in next release label Aug 28, 2024
@solrafa
Copy link
Author

solrafa commented Aug 29, 2024

Thanks a lot!
I had sent my idea merely as a suggestion for a wish list. I'm happy the idea could potentially help more people.

@phase1geo
Copy link
Owner

Thank you for a great suggestion!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement fixed Fix committed to GitHub and will be available in next release
Projects
None yet
Development

No branches or pull requests

2 participants