Closed cgalvarino closed 10 years ago
So this bad boy is coming your way. Since we are tweaking this UI to work for most any WMS (well, not most any), the timestamp we request and the timestamp we see may be worlds apart. Here is one such example.
I'm going to think about this some more, but I believe I am leaning toward asking for you to create a second line w/i each map-view TOC row that would show the timestamp and this alert. I think we should follow the nice time range you put together on the catalog side and apply it here. It might need to be more condensed (and have room for the alert), but the idea is there.
Do you want me to come up w/ a mockup or do you want to run w/ it @bnfish ?
@kknee You think we're on the right track? I think we're doing the best we can out of a relatively yucky situation (picky WMS TIME restrictions and the non-continuous nature of satellite passes).
@brandonmayer @brianmckenna This doesn't apply to your stuff because I don't know what timestamp I'm looking at. I only know what I have requested. I know it for the GLOS example above because I have to run a getcaps in order to reach this point. And the getcaps reports all available times.
What we have done for ECOP is to have them add a timestamp into the PNG header for me to use. I'm not sure if you want to deal w/ that. An alternative is for me to run a dummy GFI when you add a layer. I'm not sure if I want to deal w/ that! Or you could enumerate all the times in the catalog JSON you give to me, but then we're almost reproducing the entire getcaps!
@brandonmayer @brianmckenna I suppose what I could do is flag the layer somehow if you request a time that it outside of the temporal bounds you give me in the JSON. That would happen if you were attempting to look at water elevations from Rita and Ike on the same map. Much to my dismay, sciwms lets bogus requests like that thru (requesting an Ike time from Rita data gives me an image), so maybe this flag-it approach is good enough.
@bnfish TOTALLY in love w/ what you did.
How about this to keep me happy in alert-land? Could you provide a red clock icon? And when I need to show an alert, I'll switch the clock icon to red if you could provide a mouseover or click callout that I could populate w/ the '3 days old' thing.
OMG Becky you are da man!
I know I mentioned a specific placeholder for a timestamp. But ignore that request for now. Please just make sure that if I append it to an already long title, things won't look awful.