Matt Good wrote:
...

Alternatively, the color interpolation could be replaced by a discrete
set of colors in CSS like we do for the priorites.

That would probably be better for the age color in the browser dir view, yes.
We could use the following css classes:
- week_old
- month_old
- year_old
- very_old ;)
and have a legend in the browser dir view, similar to the one we have in the changeset view for the file change and diff colors.

 This way we could
also use even/odd colorings so there's a little contrast between blocks
that fall into the same time range.

... but I don't think it would be appropriate for the blame itself.
There, a color scale is way better, I think. The even/odd coloring you mentioned wouldn't work I think, as otherwise you'd end up with different colors for the same revision, e.g.:

Assuming 149,150,151 are revisions close enough to get the same blue color:

Rev:
...
150 blue odd
151 blue even
149 blue odd
150 blue even
...

Besides, I plan to eventually add a "color scale index" showing a kind of bar chart, horizontal axis would be the revision numbers, vertical axis would be the number of lines belonging to the given rev. The color of each column would be the one corresponding to the rev. I even wonder if such a thing couldn't be done a posteriori in Javascript only, as the page already contains all the information needed for that.

-- Christian

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to