diff options
Diffstat (limited to 'internal/handlers/atoms.go')
| -rw-r--r-- | internal/handlers/atoms.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/handlers/atoms.go b/internal/handlers/atoms.go index 16cd003..131a3d0 100644 --- a/internal/handlers/atoms.go +++ b/internal/handlers/atoms.go @@ -27,6 +27,11 @@ func BuildUnifiedAtomList(s *store.Store, claudomator api.ClaudomatorClient) ([] if err != nil { log.Printf("Warning: failed to fetch native tasks: %v", err) } + // This is the flat "what's open" list, so a recurring chore belongs in it + // once, not once per already-materialized future instance -- see + // CollapseRecurringSeries. The timeline and widget deliberately don't do + // this: there, each instance sits on its own day. + nativeTasks = models.CollapseRecurringSeries(nativeTasks) atoms := make([]models.Atom, 0, len(gTasks)+len(nativeTasks)) |
