webxdc / timetracking-webxdc

WIP xdc app for time tracking
GNU General Public License v3.0
5 stars 0 forks source link

gtimelog mode (set label when stoping a task) #9

Open Simon-Laux opened 1 year ago

Simon-Laux commented 1 year ago

Some people prefer to set the label of what they did after the fact. so we could add an alternative track page that facilitates this. You start your next entry, then the latest labels have a stop button and there is an additional special butt or label called "Break", those break entries are not counted to total times, in gtimelog you mark breaks by ** here you would add an extra button for this, maybe also support the ** syntax at the start of a label for convince.

I already added the TaskEntry.is_break for this purpose, task entries that have this set to true should not be counted. The end entry function also supports it already endEntry(id: string, end = Date.now(), auto = false, is_break = false), though end entry probably also needs a way to replace the label or we edit it immediately after or we add a new status update action type for this mode?

Simon-Laux commented 7 months ago

maybe ask on first open how you want to use it (mention that you can change it later):