Hi!
Working with high-traffic mailboxes with threading turned on is annoying a lot when one needs to find specific not-so-old message hidden somewhere deep in long-ago-started thread (it could be on third or even fifth page).
Attached patch should solve this. (it is for review, without localization strings for now, should be easy to add).
Vladislav
--- 8< --- detachments --- 8< --- The following attachments have been detached and are available for viewing. http://detached.gigo.com/rc/Hk/2hE9zlQ3/rcmail-searchfilter.patch Only click these links if you trust the sender, as well as this message. --- 8< --- detachments --- 8< ---
List info: http://lists.roundcube.net/dev/
Vladislav Bogdanov wrote:
Working with high-traffic mailboxes with threading turned on is annoying a lot when one needs to find specific not-so-old message hidden somewhere deep in long-ago-started thread (it could be on third or even fifth page).
I was thinking about something like that, but my idea is close to the Thunderbird's views. It means we can add predefined filters (today, last month, etc) to the filter select box (not search). Then would be nice to make this filters user-defined like in Thunderbird. It is some kind of client-side sieve filters but only for viewing, using operands supported by SEARCH/SORT/THREAD command, configurable via a new section in Settings->Preferences. This of course would be a lot of work, more than your quick hack.
01.04.2010 10:45, A.L.E.C пишет:
Vladislav Bogdanov wrote:
Working with high-traffic mailboxes with threading turned on is annoying a lot when one needs to find specific not-so-old message hidden somewhere deep in long-ago-started thread (it could be on third or even fifth page).
I was thinking about something like that, but my idea is close to the Thunderbird's views. It means we can add predefined filters (today, last month, etc) to the filter select box (not search). Then would be nice to make this filters user-defined like in Thunderbird. It is some kind of client-side sieve filters but only for viewing, using operands supported by SEARCH/SORT/THREAD command, configurable via a new section in Settings->Preferences. This of course would be a lot of work, more than your quick hack.
BTW Thunderbird has this in a filter box too... I agree this should be configurable. But I'd start with a little. It adds usability without much coding and could be easily changed afterwards. And some (not many) pre-defined date filters should exist anyway. _______________________________________________ List info: http://lists.roundcube.net/dev/
I also think it would be nice to have a hook for plugins here.
If patch with hooks to add columns to messagelist will be applied, then I'd remake my patch with a spam/nonspam column into plugin. But I'd need hook in a searchfilter (together with hooks in IMAP flags handling maybe, but that's another story) to be fully satisfied.
Vladislav _______________________________________________ List info: http://lists.roundcube.net/dev/