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

Add buttons in the editor for moving items up and down within a list #14

Open
in2itivity opened this issue May 1, 2021 · 3 comments
Open
Assignees
Labels
feature New feature that's still a work in progress

Comments

@in2itivity
Copy link

in2itivity commented May 1, 2021

Currently, the only way to reorder list items is by dragging and dropping them. However, for those who are particularly unskilled with a mouse and cannot drag and drop, such as disabled, young, or elderly, the only way to reorder list items is by deleting all list items up to the point where the order needs to be changed and then adding them back in the correct order. Even I find myself needing to concentrate more when dragging and dropping items to reorder them, ensuring I don't accidentally move them between layers.

To improve accessibility, buttons should be added to the toolbar and/or edit menu to move items up and down within list tags. Other NBT editors do have these buttons so I feel like this is a missing puzzle piece.

@tryashtar
Copy link
Owner

Yep I have actually been planning this, specifically with a shortcut alt+up/down. I tried implementing it reusing drag/drop code and ran into an annoying problem though. So this is on the to-do list but may take some time

@tryashtar tryashtar self-assigned this May 1, 2021
@tryashtar tryashtar added the feature New feature that's still a work in progress label May 1, 2021
@in2itivity
Copy link
Author

Thanks for that, but I still feel like actual buttons, if not in the toolbar then in the edit menu, would be preferred, because if you add the keyboard shortcut, not everyone is going to actually notice it. If there was a button in the edit menu like "Move Up: Alt+Up Arrow" that would be a good way of letting people know.

@tryashtar
Copy link
Owner

Yeah I'll be sure to include those as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature that's still a work in progress
Projects
None yet
Development

No branches or pull requests

2 participants