Open Bug 1913124 Opened 2 years ago

feature request: create API to read current Quick Filter text and fields / status

Categories

(Thunderbird :: Add-Ons: Extensions API, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: axel.grude, Unassigned)

Details

I have started creating a "find related" feature in my Add-on QuickFolders. this extracts data from the current mail using user defined (regex) expressions and choice of fields to then initiate a quick search through the API.

Now I would like to add "toggle" functionality which simply looks at the current contents of the search text and erases it if the current search term is already entered. I found there is no way to do this with the current API mailTabs.setQuickFilter(). So a function to read these fields would be good for new functionality.

You need to log in before you can comment on or make changes to this bug.