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

Folder sort during search #40

Closed
isoboroff opened this issue Sep 24, 2020 · 3 comments
Closed

Folder sort during search #40

isoboroff opened this issue Sep 24, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@isoboroff
Copy link

In the move popup, the default folder sort is most-recently-used. However, if you start to type, it gives search matches, which seem to be in alphabetical order. I humbly request that this might be even more useful if the sort is also most-recently-used.

I think I know how to implement this: in src/content/quickmove.js, line 327, we can sort the list using folders.sort(sorter). However, I don't know how to test this myself as I don't have a Thunderbird plugin development setup yet.

@isoboroff
Copy link
Author

I think I've confirmed that this simple edit doesn't work, the list that you get from typeahead is empty. I'll poke more as time permits.

@kewisch
Copy link
Owner

kewisch commented Nov 24, 2020

You don't need anything special for add-on development. Simply editing the xpi file and then installing over should be fine, you may need to restart inbetween. If you want to build/run from the github repo you can use npm run build to create dist/quickmove.xpi

@kewisch
Copy link
Owner

kewisch commented Aug 21, 2023

Unfortunately the new Thunderbird API does not support getting the MRU time, so I'm going to have to close this issue. You are welcome to file a Thunderbird issue to add this, and when that has been fixed file a new issue here to add the feature. You'll want to file a bug mentioning the MessageProperties should have a mru time member.

@kewisch kewisch closed this as completed Aug 21, 2023
@kewisch kewisch removed the good first issue Good for newcomers label Aug 21, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants