osmandapp / OsmAnd-iOS

OsmAnd for iOS
Other
271 stars 90 forks source link

Weather screen redesign, particles + animation #3779

Open vshcherb opened 2 weeks ago

vshcherb commented 2 weeks ago

Description

Redesign weather screen

Android task https://github.com/osmandapp/OsmAnd-Issues/issues/1899 Separate next task – Play button

ToDo, Figma

NavBar

Date switcher

Widget & Timeline

Widgets

Map Buttons

Menus

Contours Layers Data source

Contours

Layers menu

Data source

tigrim commented 1 week ago

Technical Plan:

  1. Adjust the slider step to 10 minutes, referencing the layoutSelectingTitle method.

  2. Configure the group of buttons weatherGroupBottonsView: Layers menu, Contours [OAHudButton]. Apply the layout position similar to the OAHudButton - cancel.

  3. For the section with widgets, maintain the UICollectionView and center-align it.

  4. Disable the display of weather widgets when the weather menu is shown on the screen.

  5. Synchronize settings keys with Android once their task is completed.

Andrewschenko commented 1 week ago

Weather forecast provider was thoroughly refactored. In order to enable animations, application should specify the needed time period when provider is being created and a time step. Provider will then try to load all necessary online resources for this particular period for each moment of time (between time steps specified). OsmAnd application for Android has this code implemented.