Skip to content
This repository was archived by the owner on Jan 18, 2026. It is now read-only.

fix reset_zoom button#2926

Draft
hubuke wants to merge 2 commits into
m-labs:masterfrom
hubuke:reset-zoom-fix
Draft

fix reset_zoom button#2926
hubuke wants to merge 2 commits into
m-labs:masterfrom
hubuke:reset-zoom-fix

Conversation

@hubuke

@hubuke hubuke commented Dec 15, 2025

Copy link
Copy Markdown

Fix waveform end time and reset zoom behavior

Problem

The waveform end time was previously determined by the timestamp of the last STOPMESSAGE.
In the dashboard, a STOPMESSAGE is only sent when the user clicks Re-fetch Data, unless
core_analyzer is run after the experiment. This caused the waveform time range to include
idle time between the end of the experiment and when the data was fetched.

Solution

  • Use the timestamp of the last non-STOPMESSAGE as the waveform end time
  • Add 10% padding after the end time to visually indicate the endpoint

Result

  • Reset Zoom now correctly zooms to the full waveform range
  • Eliminates extra idle-time padding in the waveform view

Related terms

  • auto zoom
  • zoom all

This PR relate/depends on #2922

@hubuke

hubuke commented Dec 15, 2025

Copy link
Copy Markdown
Author

need to add support for uniform_interval

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant