Open
Conversation
Make the map accessible to other controllers by storing it on the DOM element and dispatching a custom event after initialization. This is needed so the timelapse controller can add animated markers to the existing ride map. Closes #794 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Implement a new Stimulus controller that animates rider positions on the ride map using GPS timelapse data from the existing backend API: - Load track list and per-track timelapse data with progress indicator - Animate circleMarkers via requestAnimationFrame with linear interpolation - Binary search for efficient position lookup in timestamp arrays - Play/Pause/Stop/Step Forward/Step Backward controls - Speed slider (1-20x) and time position slider (0-100%) - Live clock and elapsed time display - Clean marker removal on disconnect Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace static IDs with Stimulus data attributes on the existing timelapse card: data-controller, data-timelapse-target on all UI elements, data-action on buttons, and convert text inputs to native range sliders with form-range styling. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ride_map_controllervia DOM property and custom event so other controllers can access ittimelapse_controller.jsStimulus controller that animates rider positions on the ride map using existing backend timelapse APIFixes #794
Test plan
🤖 Generated with Claude Code