I got multiple requests from this - allow you to have various tasks and switch between them. Currently, the app supported JSON import and export, and this is quite cumbersome.
Solution
Allow having multiple tasks. Control this via the app menu. I used this opportunity to clean some of the Redux modules.
I replaced "undoable" with the "tasks" module. They contain a key-value map of tasks, undo stack, and which it the active stack. Similar "undoable" actions are forwarded to the "task" module. Because everything is hidden in selectors, this change didn't require much rework in the main components.
Risks
I hope the converter between old and new task formats work
Originally I supported each task having each own undo stack, I decided this was too complicated, and now I have only the current task undo stack
Motivation
I got multiple requests from this - allow you to have various tasks and switch between them. Currently, the app supported JSON import and export, and this is quite cumbersome.
Solution
Allow having multiple tasks. Control this via the app menu. I used this opportunity to clean some of the Redux modules.
I replaced "undoable" with the "tasks" module. They contain a key-value map of tasks, undo stack, and which it the active stack. Similar "undoable" actions are forwarded to the "task" module. Because everything is hidden in selectors, this change didn't require much rework in the main components.
Risks
Screenshots