flexmeasures icon indicating copy to clipboard operation
flexmeasures copied to clipboard

Step-by step replay

Open nhoening opened this issue 3 months ago • 4 comments

When we want to show a specific point in time, and carefully go through time, we'd want to not do this via Play/Pause, but with a simple "Next step" action.

This simply moves the (paused) replay one step forward. We already support hitting the "p" key for playing/pausing, so the logic should not be too hard.

To keep effort low (not adding more UX to this), let's simply add the "n" key here, which only moves one step.

Be sure to mention it in the Replay button's tooltip, where we mention the "p" and "s" (stop) actions.

nhoening avatar Oct 13 '25 11:10 nhoening

Although i haven't looked into the code deeply but this means that the button would move at a specific time interval when clicked

joshuaunity avatar Dec 18 '25 09:12 joshuaunity

move the (paused) replay one step forward.

One step == one data point. I also don't know that code very well

nhoening avatar Dec 18 '25 09:12 nhoening

One step == one data point. I also don't know that code very well

Ok, I'll get back after analyzing the code

joshuaunity avatar Dec 18 '25 09:12 joshuaunity

@joshuaunity did you see the loop responsible for the replay while refactoring base.html?

Flix6x avatar Dec 19 '25 21:12 Flix6x