terriajs icon indicating copy to clipboard operation
terriajs copied to clipboard

Styling: "Extreme values detected" wording inverted

Open meh9 opened this issue 2 years ago • 2 comments

With the new styling we now have an Extreme values detected notification:

Screen Shot 2022-06-28 at 15 01 50

However, the wording may be inverted. E.g. when extreme values have been detected but are not shown we say Extreme values detected (click to hide) when we are in fact not showing them, and if you click it which makes them show we then say Extreme values hidden (click to show) when we are in fact actually showing them.

Here are screenshots from this URL: https://nationalmap.gov.au/#share=s-uqbZaDDQqf9hxf3gJa2lVOLqCe6

Screen Shot 2022-06-28 at 15 03 49 Screen Shot 2022-06-28 at 15 04 11

meh9 avatar Jun 28 '22 05:06 meh9

@meh9 if you want to get fancy you could merge the extreme toggle and legend. I assume there is some styling magic in the background selecting a contrasting colour to highlight extreme values that have been excluded? Red/green was a bad choice, but you get the idea.

https://user-images.githubusercontent.com/5292858/176117133-b6e324c5-bd59-41e5-8315-78e02bb56afc.mov

philipgrimmett avatar Jun 28 '22 07:06 philipgrimmett

ooo yeah i like that idea @philipgrimmett !

nf-s avatar Jul 14 '22 05:07 nf-s