C2LC-118: Add a button to delete all steps and start fresh with an empty program

Metadata

Source
C2LC-118
Type
Sub-task
Priority
N/A
Status
Done
Resolution
N/A
Assignee
Simon Bates
Reporter
Created
2019-12-20T09:38:30.927-0500
Updated
2020-01-17T14:06:36.364-0500
Versions
N/A
Fixed Versions
  1. Coding Env 0.2
Component
N/A

Description

Comments

  • Daniel Cho commented 2020-01-08T12:39:24.789-0500

    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?

  • Simon Bates commented 2020-01-08T14:11:02.156-0500

    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.