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

Feature Request: Sort Label List Drop Down #279

Open
ajtatum opened this issue Aug 5, 2020 · 1 comment
Open

Feature Request: Sort Label List Drop Down #279

ajtatum opened this issue Aug 5, 2020 · 1 comment

Comments

@ajtatum
Copy link

ajtatum commented Aug 5, 2020

This could be just me, and I've honestly looked into the code to see how it could be implemented but I don't have much experience with Chrome Extensions. In any case, it would be extremely nice/helpful if when the popup comes up with the dropdown list of labels... if that list were sorted alphabetically. Currently, it appears as though it's sorted by last used (haven't looked at the code, just the user experience). While nice at times, it would be nicer overall if it were just sorted by name to make things easier to find. For extra credit, implementing something like bootstrap-select.js would be freakin sweet (find as you type). But again, not sure how complex it is to add external libraries like that to an extension. Otherwise, love the plugin... keep up the good work!

@bogenpirat
Copy link
Owner

bogenpirat commented Aug 5, 2020

the label and directory selector are ordered by last usage, that's true (and so by design).

i suppose if you use a lot of different entries, it'd be more comfortable to have some sort of auto completion. i don't agree that ordering should default to alphabetical; last-used is just more comfortable if you keep downloading similar things which i believe is a more common use case than switching between the entire set of entries.

wrt implementation: the selection dialog is just plain old javascript injected into the given website ("content script"). the pitfall here is that you might get conflicting libraries if you name things similarly to what the website itself uses, but other than that, it's just regular web design. which is why it looks so ugly - i'm not a good web designer (and frankly don't try to be).

feel free to submit a pull request if you whip up something pretty, but for now i don't see this as a big priority on my end.

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

No branches or pull requests

2 participants