app/vmui: add back action for hits chart time range - #1594
Conversation
There was a problem hiding this comment.
All reported issues were addressed across 5 files
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
47a01ad to
aae1a5d
Compare
arturminchukov
left a comment
There was a problem hiding this comment.
Looks good! I just have one nit question. I see that we can go back to the previous state only once.
Clearer behavior for me would be to remember the time range every time I press Execute manually, as well as on every other step that changes the time range. In this case, we could go back several times. Maybe we could also add a Reset button that resets the time range to the original one.
Thanks! Just to clarify, pressing Execute itself does not change the time range. The time range can change in three ways:
The current behavior intentionally follows #1535: the Back button appears only after a chart interaction, stores a single previous time range, and disappears when the range is selected manually through the time picker. Supporting multi-step Back and Reset requires defining history behavior for all time-range changes, including |
Got it. As a user, I expected that after zooming in on the bar chart twice, I'd be able to get back to the original state. So it has confused me a little bit. |
|
aae1a5d to
14fa48f
Compare


Describe Your Changes
Add a Back action to the Hits chart, allowing users to return to the previously selected time range after interacting with the chart.
Related issue: #1535
Behavior
Demo
restore.previous.range.mov