c123a035ce346927f42d3c2cc85542cb0a3c100e
- Expanded stats block from 4 to 6 stats (days, entries, countries, cities, distance, temp range) - Added date_end-aware days calculation (uses header.date_end when available) - Added cities dedup logic (seen_city_lower) matching Task 1 pattern - Added temperature range computation (temp_min / temp_max) - Added has_gpx boolean flag - Distance label is conditional: km cycled (GPX) vs km roamed (no GPX) - Stats note text is conditional to match distance mode - Cycling button added to filter bar (only rendered when has_gpx) - Cycling panel (7 stat blocks) added after stats block (hidden by default, toggled independently) - Replaced old haversine IIFE with unified haversineKm + parseGpxFiles + IIFE - GPX Mode A: fetches GPX files, sums trackpoint distances, populates cycling panel - GPX Mode B: haversine between entry GPS points (no GPX) - Updated .trip-stats-grid from repeat(4) to repeat(3) columns - Added .trip-cycling-block, .trip-cycling-header, .trip-cycling-icon, .trip-cycling-title, .trip-cycling-grid CSS Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WPJztrVGbwic2xTG7G9fjM
Description
No description provided
Languages
CSS
60%
Twig
18.7%
SCSS
17%
JavaScript
2.5%
PHP
1.8%