davidkopp / flying-dutchman

2 stars 0 forks source link

Create undo-redo scheme [step 7] #21

Closed davidkopp closed 2 years ago

davidkopp commented 2 years ago

Depends on #20

Lars:

Try to code this first set of functions into the undo-redo scheme given in the CalcMvcUNDO snippet

  • "Add item → Remove item → Add item" becomes the three functions needed for execute-unexecute-reexecute
  • Test that the functions work properly on the DB you have defined
    • Use the inspection mode of the browser, to load and execute the functions as commands.
    • Make sure the undo-redo mechanism is working as it should.