Add a button to delete all steps and start fresh with an empty program
Description
None
Activity
Show:
Simon Bates January 8, 2020 at 7:11 PM
Edited
My thinking is not. I think the 'delete all' is a button that is available when the editor is in the 'delete' editorAction SelectedAction mode. But it isn't a mode itself – its effect takes place when it is clicked: to open the confirmation dialog, and then to delete everything, or not, depending on which dialog button the user selected.
Daniel Cho January 8, 2020 at 5:39 PM
Edited
Do we want to include 'delete all' to new action type and handle it the same way as add or delete on toggleAction function in ProgramBlockEditor?
My thinking is not. I think the 'delete all' is a button that is available when the editor is in the 'delete' editorAction SelectedAction mode. But it isn't a mode itself – its effect takes place when it is clicked: to open the confirmation dialog, and then to delete everything, or not, depending on which dialog button the user selected.