issues
search
fmidev
/
weather-app
FMI's official weather application for mobile devices
7
stars
2
forks
source link
Small warnings -widget (ios)
#698
Open
AnttiRumpunen
opened
1 day ago
AnttiRumpunen
commented
1 day ago
UI design
Check Figma for UI designs.
Data
reads warnings from
https://weather-app-warnings-backend-prod.out.ocp.fmi.fi/v1/warnings?latlon=XX,YY&country=fi&who=mobileweather-widget-ios
refresh warnings data every 5 minutes
read and update crisis banner data same way as in forecast widget
Definitions and explanations
show location name
show warnings for the current day
if there is only one warning, show it's type and validity time as described in Figma
if there is more warnings than one for the current day show total number of warnings
if more than one, show max three warnings
show worst warning for the day, order defined in Figma (warning level first, then warnings type)
if no warnings, show "no warnings" -text
if crisis banner data is available show it in the bottom section (replaces warnings total count or single warning type + validity)
UI design
Data
Definitions and explanations