ja-he / dayplan

A utility to plan and track your time.
MIT License
5 stars 1 forks source link

Rethink event grouping and iteration #29

Open ja-he opened 2 years ago

ja-he commented 2 years ago

day.Events is simply a []*Event right now, ordered by start time. That has very clear limitations and demands considering complex edge cases for overlapping and overhanging and contained events when implementing e.g. events pushing each other on move operations.

For starters, iteration sorted by end time is likely needed, but also perhaps grouping events.