Files
archived-matedroid/app/src/main/java/com/matedroid/data/api
Davide Ferrari 83ab18ea3f feat(drives): add Weather Along the Way to drive details (#57)
* feat(drives): add Weather Along the Way to drive details

Shows historical weather conditions along the drive route using the
Open-Meteo API. Weather point frequency adapts to drive length:
- Under 10 km: destination only
- Under 30 km: start and end
- Under 150 km: every 25 km
- Over 150 km: every 35 km

Displays time, distance, weather icon, and temperature in a table.
Weather conditions: Clear, Partly Cloudy, Fog, Drizzle, Rain, Snow,
Thunderstorm.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix(weather): show "End" label for last weather point

- Last weather point now displays "End" instead of distance
- Intermediate points show distance in km or miles based on user setting
- First point shows "Start" as before

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix(weather): move icon to right-most position in weather column

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 09:32:18 +01:00
..