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

Pro feature: clear "find related" filter when clicking [Next Unread mail] or [leave thread] button #494

Open
RealRaven2000 opened this issue Aug 20, 2024 · 2 comments
Assignees

Comments

@RealRaven2000
Copy link
Owner

While using the new "find related mail" feature I found that it can be improved by removing some kyboard steps after dealing with a search. Here is my workflow example:

  • after going to the next unread mail (an order notification) I click on find related to find mails with the same name in subject line
  • I then have to select the most recent previous mail (this would be a nice step to automate but not to be discussed here)
  • I then flag the email as renewed (at the moment by using the appropriate flag label in the mail header toolbar, provided by the tag toolbar Add-on
  • Then I need to clear the search and go to the next unread mail. Currently I use the keyboard combo [ESC] followed by [N]

I would like to replace the last option by simply clicking the "Next unread mail" button in the Navigation bar (current folder bar), or also (ideally) by pushing [N]. This removes the effort of having to type [ESC] as well (which sometimes may also unintendedly hide the search field).

The current behavior is that [N]ext unread mail operates on the filtered result set and will usually result in Thunderbird jumping to the next folder with unread mail, which is disruptive. I want to simply keep doing my operations, do the next unread mail and search for related mails. Ideally Thunderbird would have this as an optional behavior but I think this isn't possible at the current point in time.

@RealRaven2000 RealRaven2000 self-assigned this Aug 20, 2024
@RealRaven2000 RealRaven2000 changed the title Pro feature: clear search filter when clicking Next Unread mail button or leave thread Pro feature: clear search filter when clicking [Next Unread mail] or [leave thread] button Aug 20, 2024
@RealRaven2000
Copy link
Owner Author

Here is a preview version:

QuickFolders-mx-6.7.1pre15.zip

It works to reset the quick filters search box when the "move to next unread mail" button is clicked here, after the "find related mail" search has been used. (search box must contain the string that was filled by find related)

image

The behavior can be enabled by setting the switch
extensions.quickfolders.findRelated.behavior.goNextResetsSearch = true

this can currently be done via a right click on the find Related button:

image

note that this will reset the search also if you keep search sticky and the old search term was brought to a different folder. It will still reset the search when you click "next unread".


To try the version above download zip file and drag the file into Thunderbird Add-ons Manager (do not extract contents, it won't install like that)

@RealRaven2000
Copy link
Owner Author

RealRaven2000 commented Aug 29, 2024

I found that I also need the reset when the "unread" toggle beside the go next button in Navigation bar is not active. Therefore I decided to always reset the quick filter (search text) when pressing next mail there. This way I can remove a filter when looking at old orders and sending follow up mails to a particular customer. After sending the email I want to go to the next mail in chronological order, without having to press ESC or clicking the reset search icon:

QuickFolders-mx-6.7.1pre20.zip

Again to enable the behvior, set extensions.quickfolders.findRelated.behavior.goNextResetsSearch = true

Also to note: the reset only works if you leave the search filter as it was set by the last "find related" operation, reset won't work if you edit the search string manually. This is by design!


To try the version above download zip file and drag the file into Thunderbird Add-ons Manager (do not extract contents, it won't install like that)

@RealRaven2000 RealRaven2000 changed the title Pro feature: clear search filter when clicking [Next Unread mail] or [leave thread] button Pro feature: clear "find related" filter when clicking [Next Unread mail] or [leave thread] button Sep 11, 2024
RealRaven2000 added a commit that referenced this issue Sep 11, 2024
RealRaven2000 added a commit that referenced this issue Sep 11, 2024
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