ja-he / dayplan

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

refactor(tui): Implement Event-Editor via generic editor #54

Closed ja-he closed 4 months ago

ja-he commented 10 months ago

This seems much better to me (despite, for now, dropping the views package). There are multiple ways to decide on this sort of thing, and many ways to get lost in the abstract what-if-edgecase sauce, but I find that the editor should allow inspecting it sufficiently to build a UI from it, rather than giving the editor all the necessities to build its own UI. Especially if we ever support something other than TUI, I think it'll be much less weird this way, imagine having to implement for each UI paradigm in every control-logic component...