USACE / water-ui-old

Access to Water User Interface (UI)
0 stars 0 forks source link

Display WQ sample timeline in timeline section. #201

Open brian428 opened 3 years ago

brian428 commented 3 years ago

Output the WQ sample timeline in the location detail Timeline section, using our "subway" diagram. I believe this should only be shown for locations whose source is "WQ".

The data is an array of sample dates and sample counts for that date. Some locations only have a small number of dates, but some have hundreds or more. I think the display should probably look at how many dates there are. If less than, say, 25 or something, just output the sample dates. But if more than 25, the initial display should probably be a list of YEARS and the total samples in that year. If they click a year, update the timeline to only show the samples from that year, along with a "back to year timeline" link/button. This way we can lower the number of timeline items shown at once.