RStankov / FocusedTask

MacOS menu bar todo app built with Electron, React and Redux. It goals is to help you do deep work.
MIT License
138 stars 22 forks source link

Multiple tasks #6

Closed RStankov closed 4 years ago

RStankov commented 4 years ago

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

Screenshot 2020-07-26 at 16 12 37