I'm excited to share with you the news that I've developed a plugin that adds commands to the current note menu (three dots) for quickly moving notes within the notebook's note list when Custom Order is enabled. This is especially convenient on mobile devices, where dragging and dropping notes isn't possible.
This functionality is finally available on mobile devices. Take advantage of it!
Move Note is a plugin that adds commands to the note menu (three dots) for quick movement: up, down, to the beginning, to the end, and to the middle of the list.
Peculiarities
Works with custom sorting in Notepad.
Crucial for mobile: Adds a feature found on desktop (drag and drop) but missing from Joplin's mobile version.
Optimized synchronization: The plugin changes the order by affecting only one note, which significantly speeds up synchronization in large notebooks.
Thank you for developing this plugin! I gave this a test and it seems to mostly work. Although the UI is not ideal, because you have to open the note to bring up the list of commands, and it would take a while to move an item through a long list, though I understand the UI options for a plugin are limited.
The commands mostly work correctly, although I did find an issue with the move to middle option. If you move a couple of notes around through the list in different places, then use the move to midde option, it is not actually moved to the middle. See screenshot, where I move the note 'A' to the middle
Finally, if you have a mixture of notes and todos in one notebook, when todos are set to show at the top, when you move a todo beyond the todo's group boundary, or beyond the top, there is no error saying that you cannot move it, despite it not moving. I also noticed it will sometimes do that with a note, but the second time you try to move it out of bounds, it will correctly show the error.
Yes, there's still some work to do to improve the plugin. But it's good that there's now a tool that lets you move notes. It wasn't there before.
You're right that after multiple moves, the next move to the middle doesn't always move the note exactly to the middle of the note list. Instead, it shifts up or down 1-2 positions from the middle.
The delay in moving around long lists of notes is due to the fact that an array of notes extracted page by page is first created, since the Joplin-API returns lists of notes in portions (pages) of 100 pieces.
Thanks for pointing out that some of the error messages are in Russian. However, that's just the Russian name of the "Move Notes" plugin.
I'll try to adjust the plugin code to make it work better.
Yes, an important note. I wrote the plugin specifically for moving notes, not tasks. Moving tasks can cause unexpected issues. I haven't tested the plugin on tasks.
I'm trying to experiment with adding buttons to move notes to the list of notes menu. Although the functionality of the Joplin API is limited there, it might be possible to delve into the button menu.