grunt-phantomas
grunt-phantomas copied to clipboard
Add enhance visual styles of failed assertions
During discussion of #86 we mentioned a toggle for the visual style of failed assertions. The idea is that it might be useful to have a very stark contrast on failed tests, but also be too vivid if someone is closely reading stats.
I thought of a couple possibilities:
- A toggle button to turn off "bright mode"
- Experiment with color palettes that are more complementary. So the colors have lots of contrast but aren't as harsh. (maybe a washed out orange to compliment the current pallette?)
- A way to differentiate between a test that is currently failing versus a test that has failures in its history. "Important now" vs "things to look out for"
What about using red
for important now and yellow
for things to look out for ?
Hmm... I'm updating the current output to gh-pages right now. Would be nice if you could give feedback about visualisation ( and colors ) and let's discuss afterwards.
But to be honest, I don't want to have too much colors in there. Like the style pretty much as it is... :blush: Red was already tough for me...
But let's discuss. :)
I'm happy to get this up and running in a branch. I was already starting to work on one :grin: I agree that putting too many colors will make it unreadable. But I'm confident we can find a way to show some of these options without cluttering the interface too bad.