Skip to content

fix(live-map): use the shipped map-marker.png as the driver/vehicle fallback icon - #371

Merged
roncodes merged 1 commit into
release/v0.6.72from
fix/google-live-map-marker-fallback
Oct 7, 2026
Merged

roncodes merged 1 commit into
release/v0.6.72from
fix/google-live-map-marker-fallback

Conversation

@roncodes

@roncodes roncodes commented Oct 7, 2026

Copy link
Copy Markdown
Member

Problem

addon/components/map/google-live-map.js falls back to /engines-dist/images/driver-marker.png (drivers) and /engines-dist/images/vehicle-marker.png (vehicles) when a record has no avatar. Neither file exists in assets/images/ or in the published fleetbase/fleetbase-console:v0.7.68 image, so these markers render broken on the Google live map.

Fix

Point both fallbacks at the existing /engines-dist/images/map-marker.png. The leaflet live-fleet widget (addon/components/widget/live-fleet.hbs) already uses this file.

Both URLs stay full literal strings, so broccoli-asset-rev rewrites them to the fingerprinted file names in production builds. It never rewrites interpolated paths (see #370).

Testing

No local build or test run. CI verifies the change.

…d vehicles

The Google live map fell back to /engines-dist/images/driver-marker.png and
vehicle-marker.png, neither of which exists in assets/images, so a driver or
vehicle without an avatar rendered a broken marker. Point both at the existing
map-marker.png, as the leaflet live-fleet widget already does. The URLs stay
literal strings so broccoli-asset-rev can fingerprint them in production.
@codecov

codecov Bot commented Oct 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (9ba5d0d) to head (65a429b).
⚠️ Report is 11 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##                main      #371   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity     12379     12379           
===========================================
  Files            600       600           
  Lines          46496     46496           
===========================================
  Hits           46496     46496           
Flag Coverage Δ
backend 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@roncodes
roncodes changed the base branch from main to release/v0.6.72 October 7, 2026 06:08
@roncodes
roncodes merged commit 4996548 into release/v0.6.72 Oct 7, 2026
11 checks passed
@roncodes
roncodes deleted the fix/google-live-map-marker-fallback branch October 7, 2026 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant