I've updated the confluence mods for the weather underground beta plugin. Available for both confluence and confluence vertical
here. This includes support for the three day weekend as well as the new map.
Two things with the maps.
1- If you change the zoom setting on the map, you are going to get this odd transition where you have some images that are at one zoom level and some at others. If possible it would be nice for the addon to delete all cached images if I change the zoom setting.
2- There is no way to tell what time the loop covers. With the paid map loop it had embedded time/date codes. I'm wondering if the addon could provide a pair of info labels that give the date/time of the first and last image so that at least a skinner could display that information.
And one thing with the weekend forecast. Weekend.1 is no longer always the first day of the weekend, and Weekend.2 is no longer always the second day of the weekend. Let me see if I can explain. Assuming "weekend" is defined as Saturday and Sunday, the three day weekend is Friday, Saturday, Sunday.
If you look at the data on Monday, Tuesday, Wednesday, Thursday, or Friday:
Weekend.1 is this Friday
Weekend.2 is this Saturday
Weekend.3 is this Sunday
On Saturday:
Weekend.1 is this Saturday
Weekend.2 is this Sunday
Weekend.3 is
next Friday
On Sunday:
Weekend.1 is this Sunday
Weekend.2 is
next Friday
Weekend.3 is
next Saturday
My feeling is that without any changes, a user is likely to get confused when they see a weekend forecast that goes Saturday, Sunday, Friday. So for my mods I set it up so that on Monday - Friday you get the three day weekend forecast. Saturday you get just Saturday and Sunday. Sunday you get just Sunday. If you have your weekend set to one of the other options other than Saturday/Sunday in the advanced settings, this should still work.
To achieve this I used the following visibility logic:
Slot 1
Always Visible
Slot 2
<visible>![StringCompare(Window.Property(Weekend.2.LongDay),$LOCALIZE[13]) | StringCompare(Window.Property(Weekend.2.LongDay),$LOCALIZE[14]) | StringCompare(Window.Property(Weekend.2.LongDay),$LOCALIZE[15])]</visible>
Slot 3
<visible>![StringCompare(Window.Property(Weekend.3.LongDay),$LOCALIZE[13]) | StringCompare(Window.Property(Weekend.3.LongDay),$LOCALIZE[14]) | StringCompare(Window.Property(Weekend.3.LongDay),$LOCALIZE[15]) | StringCompare(Window.Property(Weekend.2.LongDay),$LOCALIZE[13]) | StringCompare(Window.Property(Weekend.2.LongDay),$LOCALIZE[14]) | StringCompare(Window.Property(Weekend.2.LongDay),$LOCALIZE[15])]</visible>
Skinners will need to pay attention to this (unless things change before this goes into production). I gotta be honest and say I don't like the fact that Weekend.1 is not always the first day of the weekend. I think it would be easier for skinners if Weekend.1 was always the first day of the three day weekend. If we're in the middle of the weekend, Weekend.1 would ideally either be empty or the addon would cache the forecast so that we still have access to display the data from the past. Ditto for Weekend.2 if we're at the end of the weekend.