Show in-progress trip on the map with a live car marker#223
Merged
Conversation
Replace the checkered-flag end marker with the CarDiagram car silhouette, rotated to heading and tracking live position, whenever the selected trip is still being driven. The car silhouette paths are now shared between CarDiagram.vue and the map marker via one module so they can't drift apart. The sidebar also flags the in-progress trip with a pulsing dot and an "in progress" badge. Also seeds the demo dataset with an active trip so the feature is visible out of the box in demo mode.
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
currentJourneyDistance > 0for the vehicle's last trip), the checkered-flag end marker is replaced with the CarDiagram car silhouette, rotated to the live heading and tracking the live position as new telemetry arrives.frontend/src/assets/carSilhouette.ts) so CarDiagram and the map marker render the exact same asset instead of duplicating the path data.DemoTelemetryRepository) with an active trip and a matching "driving now" live status, so the feature is visible out of the box in demo mode.Test plan
dotnet test— 268 backend tests passpnpm test:unit— 144 frontend tests passvue-tsc --noEmit— no type errors🤖 Generated with Claude Code