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

Alphabetical sorting of all plugin links under the portal details panel #631

Open
mxxcon opened this issue May 20, 2023 · 8 comments · Fixed by #653
Open

Alphabetical sorting of all plugin links under the portal details panel #631

mxxcon opened this issue May 20, 2023 · 8 comments · Fixed by #653

Comments

@mxxcon
Copy link

mxxcon commented May 20, 2023

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.

@le-jeu
Copy link
Contributor

le-jeu commented May 23, 2023

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.

@MysticJay
Copy link
Contributor

usually changes to the toolbox are only done during setup. So it should be sufficent to sort once after all plugins got initialized

@MysticJay MysticJay reopened this Aug 9, 2023
@Heistergand
Copy link
Contributor

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?

@nexushoratio
Copy link
Contributor

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)

@mxxcon
Copy link
Author

mxxcon commented Jun 5, 2024

As titled, I think this is complete. (or alternative, a new issue)

How is this complete? This functionality still doesn't exist

@nexushoratio
Copy link
Contributor

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

Are you seeing otherwise?

@mxxcon
Copy link
Author

mxxcon commented Jun 5, 2024

🤔 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. 👍

@nexushoratio
Copy link
Contributor

I was surprised one day when I noticed they were sorted!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants