ProtonMail / proton-mail

React web application to manage ProtonMail
https://beta.protonmail.com
GNU General Public License v3.0
175 stars 25 forks source link

Email search (filtering) operators are missing on beta #55

Open exander77 opened 3 years ago

exander77 commented 3 years ago

This talks about the current beta.

I already asked a support a year ago, but can we introduce search operators on the beta? The drop-down menu is nice, but it lacks productivity and it does not visualise what was searched for.

I would recommend following Gmail standard (as seem to have been on non-beta): https://support.google.com/mail/answer/7190?hl=en

Recommended implementation in three steps: 1) Support search operators as defined: https://support.google.com/mail/answer/7190?hl=en 2) Translate current drop-down menu filtering into these operators (we could also map it the other way). 3) Allow saving of filters (as a new type similar to folders and labels).

I do not think that step 1) should take more than a day to implement as the functionality to filter is already there. It would just need a parser to parse search input field and construct the correct query.

I have tested that it actually filters based on URL search params, so I wonder what is the problem with search operators?

https://www.reddit.com/r/ProtonMail/comments/jyxa7f/email_search_filtering_operators/

exander77 commented 3 years ago

How to move with this? I would add unread as well and also added menu item Unread which would show all unread e-mails: /u/0/all-mail?filter=unread.