Add account ordering with up/down controls in account panel#491
Conversation
|
Yes this is cool, but Id like to add onto this that if #445 gets the drag to reorder feature. That should also be used here. |
I originally wanted to do a drag reorder for this, but I'm bad at UI and couldn't really think of any way to add "dragging" to this, because of the delete button mainly, I wasn't sure how I could handle it. |
|
I can make a mockup later if you would want that. |
|
Use an IndexMap instead of a HashMap, it'll maintain order for you without needing a separate vec |
hmm, my main issue is how to handle the buttons, we can't have it be exclusively drag drop, and we can't get rid of the delete button on the accounts either, so I'm not sure how we handle THAT specifically, if you maybe give me a idea or even a visualization of how we should handle that, I'd be willing to code it up alongside the indexmap rework |
|
Yeah sure I can make that tomorrow, just now im thinking we can combine the delete button with the container of the account in some way. But ill work on some designs tmr. |
|
Sorry for the late response but here: Version 1 is easier to apply to more parts of the program, but version 2 is overal smoother in my opinion. 2026-05-28.20-57-30.mp4 |
|
I need that |
Ok this is definitely a good UI solution, I'll work on this as soon as my exams end. I'll also be keeping the up and down arrows within the hover animation (next to the delete button) , as some people may want to use the buttons rather than dragging. |
|
No worries, take your time and thank you for working on this. |
|
Also if your up for it doing the exact same for the server lists would be ideal. |
|
How long it gonna take to be implemented in the laucher |
|
@disconnectedgrinders I believe this should suffice as a good implementation |
I believe moulberry is busy with axiom, when he's free he will start working on all the open pull requests and various issues, and this will likely be merged alongside it. it can take anywhere from a couple days to weeks if he is busy. |
QoL feature, adding reorder controls to the accounts panel
Accounts now keep a saved order (with migration for old
accounts.json), new accounts append to the bottom.Closes #424