[WPT Dashboard] Change color scale of test results on directory pages |
|||
Issue descriptionVia bug 679560 Right now the algorithm is just a simple linear scale from white (0% subtests passing) to green (100% subtests passing). The algorithm in pseudo-code is: passing = (number of passing subtests for one test_file) total = (total number of subtests for one test_file) pass_rate = passing / total luminance = 100 - pass_rate * 35 In CSS: `background-color: hsl(129, 85%, {luminance}%);` foolip@ pointed out that we should make 0% passing, 99% passing, and 100% passing more visually distinct from each other. Here are the options discussed: Current options: - Red-yellow-green - 0% passing = red - 50% passing = yellow - 100% passing = green - Red-green - 0% passing = 100% red - 50% passing = 50% red - 99% passing = 0% red - 100% passing = green
,
Feb 6 2017
Note, most tests have less than 100 subtests, so it's usually not 99%. But I agree that "all passing" is should be clearly different than "all but one passing". Anyway, any way that you think looks good is good to me, I think. Another idea: Maybe it could be the same as it is now, but if it's 0% or 100%, then it gets an extra border or something?
,
Jun 1 2017
,
Jul 3 2017
,
Jul 3 2017
|
|||
►
Sign in to add a comment |
|||
Comment 1 by jeffcarp@chromium.org
, Feb 5 2017