Skip to content

Conversation

@samcm
Copy link
Member

@samcm samcm commented Nov 15, 2025

Summary

Fixes an issue where active node datapoints on the live slot view map were not disappearing when the slot ended. The map now properly clears accumulated points when transitioning between slots.

Changes

  • Added explicit clearing logic in Map2D component to detect when points array becomes empty
  • Clears accumulated points when slot ends to ensure clean visualization for next slot
  • Updated early exit and update conditions to handle the clearing state

Testing

  • Lint and build passed
  • Verified on live slot view page that datapoints disappear as expected when slot ends

When a slot transitions to the next one, the points array becomes empty but the
accumulated points were not cleared from the map visualization. This caused active
node datapoints to persist visually even after the slot had ended.

Added explicit clearing logic that detects when the points array is empty and
clears the accumulated points to ensure the map is clean for the next slot.
@samcm samcm requested a review from Savid as a code owner November 15, 2025 13:32
@samcm samcm merged commit 9cb9c1a into release/frontend Nov 15, 2025
3 checks passed
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.

3 participants