asascience / ott-coops

Project Tracking for OTT Co-Ops
1 stars 0 forks source link

Think About How to use Less Real Estate with the Obs Drawer #379

Closed jamesdoyle21 closed 2 years ago

jamesdoyle21 commented 2 years ago

We have been getting quite a bit of feedback recently suggesting we try not to cover as much of the map as we do now. For the observation drawer, there are a few things we can do to reduce the height. The main focus is maximizing the height of the plot inside the obs drawer. Some ways to do this:

This should allow the drawer to be noticeably shorter.

image

nguyandy commented 2 years ago

I don't think we need to move the validate button, once the whitespace is removed, it fits in that corner nicely.

Still some tinkering to be done, but here's a quick first pass. This is just shrinking down the padding/margin for the charts, allowing us to reduce the height of the obs drawer by 65px.

https://user-images.githubusercontent.com/43226410/155439488-f40567c6-0098-4957-b67c-5065c4088697.mov

Even though the drawer is smaller, the plot is still the same size. We can shrink it down even further once we move the station names.

Definitely a lot of potential to use up less real estate.

mpiannucci commented 2 years ago

Nice! Yeah that looks like a good start

jamesdoyle21 commented 2 years ago

That looks good Andy, already a good amount of space saved. We will probably want to think about this for all other drawers too

mpiannucci commented 2 years ago

One comment from Kelly was about redundancy with the timestamps but in some cases they are not uniform so how do we handle?

Screen Shot 2022-02-24 at 1 40 11 PM

mpiannucci commented 2 years ago

For the observation drawer title, Keep the name in it, remove the @ symbol, Surround the Lat lng with parentheses and make it lighter grey color to be less distracting

mpiannucci commented 2 years ago

When there is no data, simply just disbale the row and put "No Data" in the results

mpiannucci commented 2 years ago

Show chart title only in exports https://www.highcharts.com/forum/viewtopic.php?t=42972#p151429

mpiannucci commented 2 years ago

Validate and Add to Virtual Stations buttons should move to right side of the header bar

mpiannucci commented 2 years ago

Dont show layers that are not available at a given location in the observation drawer param list. IE clickoing outside of models BBOX

nguyandy commented 2 years ago

Should we also deal with ordering the parameters? Display ones with data at the top, move the 'No data' to the bottom?

mpiannucci commented 2 years ago

Should we also deal with ordering the parameters? Display ones with data at the top, move the 'No data' to the bottom?

My thought is yes, but there is something to be said for maintaining consistent order as well