Skip to content

fix(maps): Enable lite mode and fix recomposition for inline maps#3936

Merged
jamesarich merged 1 commit into
mainfrom
fix/inline-map
Dec 9, 2025
Merged

fix(maps): Enable lite mode and fix recomposition for inline maps#3936
jamesarich merged 1 commit into
mainfrom
fix/inline-map

Conversation

@jamesarich

Copy link
Copy Markdown
Collaborator

This commit addresses issues with the inline map component on the node detail screen.

  • Enabled Google Maps lite mode to improve performance and reduce resource consumption for the simple, non-interactive map view.
  • Wrapped the GoogleMap composable and its state in a key(node.num) block. This ensures that the map correctly recomposes and updates its camera position when the user navigates between different nodes, preventing a stale map from being displayed.

resolves #3916

This commit addresses issues with the inline map component on the node detail screen.

- Enabled Google Maps lite mode to improve performance and reduce resource consumption for the simple, non-interactive map view.
- Wrapped the `GoogleMap` composable and its state in a `key(node.num)` block. This ensures that the map correctly recomposes and updates its camera position when the user navigates between different nodes, preventing a stale map from being displayed.

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
@jamesarich jamesarich enabled auto-merge December 9, 2025 16:14
@github-actions github-actions Bot added the bugfix PR tag label Dec 9, 2025
@codecov

codecov Bot commented Dec 9, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.52%. Comparing base (db0ae13) to head (8a03e98).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #3936   +/-   ##
=====================================
  Coverage   0.52%   0.52%           
=====================================
  Files        394     394           
  Lines      23140   23140           
  Branches    2933    2933           
=====================================
  Hits         122     122           
  Misses     22997   22997           
  Partials      21      21           

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

@jamesarich jamesarich added this pull request to the merge queue Dec 9, 2025
Merged via the queue into main with commit 7bd0a1c Dec 9, 2025
8 checks passed
@jamesarich jamesarich deleted the fix/inline-map branch December 9, 2025 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix PR tag

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Node info map stays centered on previous node + wrong shortname label

1 participant