Re: [MlMt] Thread Arcs styling options

2014-02-20 Thread Benny Kjær Nielsen
On 20 Feb 2014, at 13:02, Max Rydahl Andersen wrote:

> I tried this but the page shows up blank in firefox and chrome.

Let me know if you figure out why.

> Works in safari though.
>
> Neat though ;)

I'm glad someone tried it :-)

-- 
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Thread Arcs styling options

2014-02-20 Thread Max Rydahl Andersen


The bundle requires the latest test release. Put the bundle in 
`~/Library/Application Support/MailMate/Bundles/`, select some 
messages, and then hit ⌃v to generate the donut visualization 
(opened in a browser).


I tried this but the page shows up blank in firefox and chrome.

Works in safari though.

Neat though ;)

/max



I'll be happy to help anyone with an interest in exploring the 
potential of visualizing email statistics.


(Minor warning: Working on this I noticed some bugs/inconsistencies 
with respect to how MailMate handles missing header values.)


--
Benny

[Visualizations.mmBundle.zip]

[Screen Shot 2014-02-18 at 11.00.41.png]
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate



/max
http://about.me/maxandersen
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Thread Arcs styling options

2014-02-06 Thread Rob McBroom

On 5 Feb 2014, at 15:16, Benny Kjær Nielsen wrote:

I’m just thinking out loud. I wouldn’t even be able to implement 
thread arcs in HTML myself. If anyone wants to play with this then I 
think I can create a bundle command which demonstrates how one can 
generate input similar to the above (or something simpler), generate 
some simple HTML, and finally, open the result in a browser.


Slightly off topic: The above is something I had not considered for 
thread arcs, but I often think it would be really cool if scripts were 
created which visualized various statistics about groups of messages 
using, e.g., gnuplot or maybe a graphing tool for HTML. For example, a 
graph showing the number of emails replied per day, or a pie chart of 
top-posters on the MailMate mailing list :-) I’ll assist anyone with 
an interest in such visualizations (or even just simple tables).


For both generating fancy custom thread-arcs and the off-topic stuff, I 
think [D3.js](http://d3js.org/) would do the trick. It can consume JSON 
and CSV. Check out some of the demos.


--
Rob McBroom
http://www.skurfer.com/
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Thread Arcs styling options

2014-02-05 Thread Benny Kjær Nielsen

On 5 Feb 2014, at 16:56, Eric A. Meyer wrote:

I was curious about the styling options available for Thread Arcs, as 
I’ve been thinking about ways to enhance the Arcs so they indicate 
things like which messages are flagged, unread, have attachments, 
etc., etc.  Is CSS applicable there?


No, it's not an HTML view. It's simple GUI class with its own drawing 
functions. There are some preference values for colors, the angle used 
when an arc leaves a dot, the radius of a dot (not sure that one works), 
and when MailMate should “flatten” lines (hard to explain), but 
there isn't anything adding more information to the thread arcs. A 
tooltip is created using a format string, but this is a bit hard to 
customize (requires a new layout).


But I wouldn't mind replacing this view with something displaying HTML. 
Ideally, MailMate would call an external script with the information 
needed for each message and then the script would generate the HTML to 
be displayed. Input could be something simple like this:


~~~
{
id = 1;
toolTip = "Foo, 2 hours ago";
},
{
id = 8;
refId = 1;
toolTip = "Bar, 1 hour ago";
},
{
id = 10;
refId = 8;
toolTip = "Foo, 26 minutes ago";
}
~~~

If it worked this way (or something similar) then it wouldn't be limited 
to thread arcs. Any kind of alternative view of messages would be 
allowed.


I'm just thinking out loud. I wouldn't even be able to implement thread 
arcs in HTML myself. If anyone wants to play with this then I think I 
can create a bundle command which demonstrates how one can generate 
input similar to the above (or something simpler), generate some simple 
HTML, and finally, open the result in a browser.


Slightly off topic: The above is something I had not considered for 
thread arcs, but I often think it would be really cool if scripts were 
created which visualized various statistics about groups of messages 
using, e.g., gnuplot or maybe a graphing tool for HTML. For example, a 
graph showing the number of emails replied per day, or a pie chart of 
top-posters on the MailMate mailing list :-) I'll assist anyone with an 
interest in such visualizations (or even just simple tables).


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] Thread Arcs styling options

2014-02-05 Thread Mike Brasch

On 5 Feb 2014, at 16:56, Eric A. Meyer wrote:

I was curious about the styling options available for Thread Arcs, as 
I’ve been thinking about ways to enhance the Arcs so they indicate 
things like which messages are flagged, unread, have attachments, 
etc., etc.  Is CSS applicable there?


+1


--
Gruß
Mike
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


[MlMt] Thread Arcs styling options

2014-02-05 Thread Eric A. Meyer
   I was curious about the styling options available for Thread Arcs, 
as I’ve been thinking about ways to enhance the Arcs so they indicate 
things like which messages are flagged, unread, have attachments, etc., 
etc.  Is CSS applicable there?


--
Eric A. Meyer - http://meyerweb.com/
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate