mito icon indicating copy to clipboard operation
mito copied to clipboard

Tell the user what action is about to be undone/redone.

Open aarondr77 opened this issue 2 years ago • 3 comments

Tell the user what action is about to be undone/redone. Maybe his could be in the tooltip or more explicit in the toolbar.

aarondr77 avatar Apr 08 '22 18:04 aarondr77

Can we break these out into two different issues? Also, adding waiting on mockups/specs for both of them - I think these require some thought...

naterush avatar Apr 08 '22 20:04 naterush

Sure!

aarondr77 avatar Apr 09 '22 02:04 aarondr77

Implementation proposal:

  1. For Undo, use the stepSummaryList that we already have in the state to determine the previous step that will be undone
  2. For Redo, include the undone_step_list_store in the AnalysisData. It seems best to just use the backend's undone_step_list_store instead of trying to recreate it on the frontend so we don't have to redo logic.

aarondr77 avatar Apr 09 '22 02:04 aarondr77