Closed mxxcon closed 3 months ago
Since the plugins add a link themselves into the toolbox at DOM level, iitc would need to watch any change to place any new link at the correct position. It would be nice to expose an API for this but old plugins won't use it anyway.
usually changes to the toolbox are only done during setup. So it should be sufficent to sort once after all plugins got initialized
I propose to add an option (additionally to the alphabetical sorting, which would be the default) to let the user sort the buttons like they want to by dragging them around, maybe in a popup list - or what about the "About IITC" dialog?
Could an admin update the issue title to reflect the "allow user to order toolbox buttons" feature request? As titled, I think this is complete. (or alternative, a new issue)
As titled, I think this is complete. (or alternative, a new issue)
How is this complete? This functionality still doesn't exist
How is this complete? This functionality still doesn't exist
Links in the toolbox are alphabetical, regardless of the order plugins are loaded. At least for the plugins I regularly use.
It looks to be implemented with https://github.com/IITC-CE/ingress-intel-total-conversion/blob/199c9f7bdc0acb79db3855f9f5cd7c0cd516ec66/core/code/toolbox.js#L147
Are you seeing otherwise?
🤔 I remember it was added in one version but then disabled in another due to some issues. I've been running my own sorting plugin so didn't notice any difference.
But I guess since it's there this issue can be closed as fixed. 👍
I was surprised one day when I noticed they were sorted!
I propose that IITC automatically sort all the links/buttons under the portal details panel in alphabetical order. This would be a helpful improvement for usability.
It would make it easier to find the plugin buttons you need. Currently, their order is not fixed, so it can be difficult to find the one you're looking for, especially if you have a lot of plugins installed. Sorting that list alphabetically would make them much easier to find.
It would prevent the links from getting reshuffled if you add or remove plugins. Currently, if you add or remove a plugin, the order of the links can change. This can be frustrating, especially if you've got used to their order/position. Sorting alphabetically would prevent this from happening.
I imagine the code to sort the links alphabetically should be relatively short and simple.