Open Bug 180194 Opened 22 years ago Updated 17 years ago

Need visual aide to differentiate between "+" and "-" flags

Categories

(Bugzilla :: Attachments & Requests, enhancement)

enhancement
Not set
normal

Tracking

()

People

(Reporter: caillon, Unassigned)

References

(Blocks 1 open bug)

Details

In a bug with many attachments, it is hard to quickly scan for attachments that
have "review+".  It looks so much alike to "review-".  Even in bugs with few
patches, it is difficult for some to differentiate the two.

Take for example bug 173094 which was just checked in with r=timeless.  However,
the patch has "timeless: review-"

I propose using color coding: something like red for "-" flags, green for "+"
flags, and possibly grey for "?" flags.
This works:

<select name="test" size="1" style="background-color: white" 
onchange="this.style.backgroundColor =
this.options[this.selectedIndex].style.backgroundColor">
<option value=" " style="background-color: white"> </option>
<option value="-" style="background-color: red">-</option>
<option value="+" style="background-color: green">+</option>
<option value="?" style="background-color: gray">?</option>
</select>

Except if something besides " " is already selected when it loads, it doesn't
propogate the background color...
OS: Linux → All
Hardware: PC → All
Also, this bit of javascript/css is only relevent to the edit attachment page. 
This coloration would have to be propigated to the show bug page, also.
In bug 178852, we mention that flags are difficult for accessibility, so marking
this one as a blocker of that bug.
Blocks: 178852
Severity: major → enhancement
QA Contact: mattyt-bugzilla → default-qa
Assignee: myk → attach-and-request
You need to log in before you can comment on or make changes to this bug.