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

Add thread menu item "create Filter from message" #199

Closed
RealRaven2000 opened this issue Jul 21, 2023 · 3 comments
Closed

Add thread menu item "create Filter from message" #199

RealRaven2000 opened this issue Jul 21, 2023 · 3 comments

Comments

@RealRaven2000
Copy link
Owner

Since Thunderbird 115 the context menu item "quickFilters: create filter from message" is missing. It would be helpful to get it back for direct access of this feature (rather than going through the toolbar menu).

image

@RealRaven2000
Copy link
Owner Author

Here is a first version that supports creating filters from the context menu. At first it was a little tricky as it generated multiple assistant dialogs (if multiple windows are open), but I think I managed to filter out the wrong messages.

quickFilters-wx-6.1pre15.zip

To install, download the zip file and drag into Thunderbird Add-ons Manager.

@RealRaven2000
Copy link
Owner Author

There were quite a few problems with retrieving the currently selected messages (using legacy methods), So I decided to rewrite the part of the code that determines these mails so that it is based on the API. Took quite a few tries but I think I managed this. So the selected mails are either one email that is right-clicked outside of the currently viewed mails (see picture below) or all currently viewed mails if the user clicks within those highlighted emails:

image

Here is the latest prerelease: quickFilters-wx-6.2pre64.zip


To test the version above, download the zip file, drag the file into Thunderbird Add-ons Manager, do not extract contents or it won't install.

RealRaven2000 added a commit that referenced this issue Aug 13, 2023
RealRaven2000 added a commit that referenced this issue Aug 13, 2023
RealRaven2000 added a commit that referenced this issue Aug 13, 2023
@RealRaven2000
Copy link
Owner Author

implemented in 6.2 - Published 13/08/2023

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

1 participant