Skip to content

time tracking #18

@niblyx-malnus

Description

@niblyx-malnus

some pseudo-Hoon:

in /sur/goal/hoon

track=[active=? default=? =act-log]
:: auto -> was this directly initiated by the user or by 
::         an implicit change in bounds or preceding incomplete goals?
:: blocked -> are there preceding incomplete goals?
::
+$  moment  (unit @da)
+$  act-state
  [=time to=? auto=? blocked=? left-bound=moment ryte-bound=moment]
+$  act-log  (list act-state)

in /lib/gol-cli/inflater/hoon

^-  act-state
?:  &((incomplete id) (all-complete-left id) (is-in now.bowl [left-bound ryte-bound]))
  [now.bowl default & (all-complete-left id) left-bound ryte-bound]
[now.bowl | & (all-complete-left-id) left-bound ryte-bound]

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions