Subject: [sup-talk] Flat-view anyone ?

From: [email-masked] (kingshivan at gmail.com)
Date: Wed, 21 May 2008 16:15:26 -0700

I mentionned that idea a while back on that ml, but had no feedback, so,
here I go again.

How hard would that be to implement a flat view for thread, instead of
the tree view ? I agree that the tree makes more sense but I sometimes
miss the chronological order shown by gmail.

I read a bit through the code, and understood that thread are actually
stored as tree, would that make a flat view hard to provide ?

I'm not a ruby coder, but if it's easy to do, I'd be glad to provide a
patch (but it's always nice if I can get the work done by someone else
;-) ).

regards

-- 
Guillaume

---

From: [email-masked] (William Morgan)
Date: Sat, 24 May 2008 19:39:19 -0700

> miss the chronological order shown by gmail.

Not trivial but not ridiculously hard. I would add an each_by_date
method to Thread, and have ThreadViewMode call that instead of
Thread#each based on some configuration variable.

I've added this to ditz:

http://sup.rubyforge.org/ditz/issue-5795c3c1b47e88f7261f57f31d33fe15ad08465d.html
-- 
William <wmorgan-sup at masanjin.net>