[haiku-development] Re: Working on Haiku's Mail app

  • From: "Humdinger" <humdingerb@xxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 02 Dec 2009 08:37:24 +0100

-- Axel Dörfler, on Tue, 01 Dec 2009 22:12:35 +0100:
> "Humdinger" <humdingerb@xxxxxxxxxxxxxx> wrote:
> > But, I'd settle for a simple time-range slider going from "last 
> > hour" 
> > over "today", "yesterday", "last 3,4,5,6,7 days", "last 2,3,4 
> > weeks", 
> > "last 1,2,3,4,5,6,7,8,9... months" to "all".
> > Just to fill in the formular, mind you.
> 
> That sounds much better to me.
> A standard slider with "Today", "Last 2 Days", "Last Week", "Last 
> Month", "All" would do I guess - I would definitely use inclusive 
> time 
> frames, not separate ones.

To clarify, the "I'd settle" above, is if there'd be no takers for my 
initial proposal. :)
[As if I wouldn't have to settle for anything you fine people code for 
us... :) ]

What you say would be better done with a drop-down than a slider, I 
guess. Similar to Beam, BTW.
The "inclusive time frame" in my proposal would be if you leave the 
left silder at "now".
I still like the concept of a flexible range instead a fixed length of 
time.

Also, the "live preview" of hits of the future query is kinda neat. 
Maybe your concern is that it's resource hungry when you just want to 
browse quickly through many mails.
Besides that you only show/activate the query panel when needed, 
normally for "Same Subject" there isn't much HD-churning at all, if 
that is a concern. A "Same Sender == axeld" is more problematic if not 
limited by a time range.
Also the range should be set to "now to last 7 days" or maybe "now to 
last month" as default, which would cut back hugely on query time for 
the preview.

It's really quite fast, try it:
(((MAIL:when>=%last 7 days%)&&(MAIL:
from=="*[aA][xX][eE][lL][dD]*"))&&(BEOS:TYPE=="text/x-email"))

That's over 170 hits in under a second. And you're a massive emailer :) 
Try a normal person and it's pretty much instant.

Regards,
Humdinger

-- 
--=-=--=-=--=-=--=-=--=-=--=-=--=-=--=-=--=-=--=-
Deutsche Haiku News @ http://www.haiku-gazette.de


Other related posts: