mito
mito copied to clipboard
Tell the user what action is about to be undone/redone.
Tell the user what action is about to be undone/redone. Maybe his could be in the tooltip or more explicit in the toolbar.
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...
Sure!
Implementation proposal:
- For Undo, use the
stepSummaryList
that we already have in the state to determine the previous step that will be undone - For Redo, include the
undone_step_list_store
in the AnalysisData. It seems best to just use the backend'sundone_step_list_store
instead of trying to recreate it on the frontend so we don't have to redo logic.