dawarich/app/views
Claude f1474d105b
Add interactive timeline slider with graph visualization to map
This commit implements a comprehensive timeline feature for the map interface,
allowing users to visualize and navigate through location history interactively.

**New Features:**
- Interactive timeline slider at the bottom of the map
- Real-time graph visualization showing:
  - Speed over time (km/h)
  - Battery level (%)
  - Elevation/altitude (meters)
- Play/pause animation controls for automatic timeline progression
- Smooth synchronization between timeline and map layers
- Graph type selector to switch between different metrics

**Technical Implementation:**
- New Stimulus controller (maps--timeline) for timeline UI and interactions
- Canvas-based graph rendering for performance
- Event-driven architecture for map-timeline communication
- Real-time filtering of points and routes based on timeline position
- Integration with existing MapLibre GL layers

**User Benefits:**
- Clear visualization of movement progression over time
- Easy identification of journey start, end, and direction
- Ability to "replay" trips with animation
- Additional context through speed, battery, and elevation data
- Toggleable visibility to preserve screen space when not needed

**Files Added:**
- app/javascript/controllers/maps/timeline_controller.js
- app/views/map/maplibre/_timeline.html.erb

**Files Modified:**
- app/javascript/controllers/maps/maplibre_controller.js
- app/javascript/controllers/maps/maplibre/map_data_manager.js
- app/views/map/maplibre/index.html.erb
2025-12-23 20:23:07 +00:00
..
active_storage/blobs Add Trix editor to trips 2024-11-28 12:00:54 +01:00
application Add staging environment configuration 2025-09-26 19:48:52 +02:00
devise 0.36.0 (#1952) 2025-11-24 19:45:09 +01:00
exports Fix confirmation dialogs to show only once. 2025-10-21 20:01:13 +02:00
families Fix missing confirmation dialogs and methods on family invitation actions 2025-11-07 12:19:05 +01:00
family/invitations Fix remembering family members layer state and refreshing locations 2025-10-21 19:54:25 +02:00
family_mailer Fix some minor stuff 2025-10-11 14:17:48 +02:00
home Fetch countries for a trip via geocoding service 2025-05-13 19:43:02 +02:00
imports 0.36.0 (#1952) 2025-11-24 19:45:09 +01:00
layouts Updte map view 2025-10-30 19:16:38 +01:00
map Add interactive timeline slider with graph visualization to map 2025-12-23 20:23:07 +00:00
notifications Fix confirmation dialogs to show only once. 2025-10-21 20:01:13 +02:00
places Fix confirmation dialogs to show only once. 2025-10-21 20:01:13 +02:00
points Fix confirmation dialogs to show only once. 2025-10-21 20:01:13 +02:00
settings 0.36.2 (#2007) 2025-12-06 20:54:49 +01:00
shared 0.36.3 (#2013) 2025-12-14 12:05:59 +01:00
stats 0.36.3 (#2013) 2025-12-14 12:05:59 +01:00
tags 0.36.0 (#1952) 2025-11-24 19:45:09 +01:00
trips 0.36.3 (#2013) 2025-12-14 12:05:59 +01:00
users_mailer Add missing email templates for post-trial reminders 2025-09-13 15:37:09 +02:00
visits Fix visits overlapping issue 2025-05-17 20:10:03 +02:00