ivan-lednev / obsidian-day-planner

An Obsidian plugin for day planning with a clean UI and a simple task format
MIT License
2.11k stars 497 forks source link

Changing the event from a task to a bullet point if it has subtasks moves the time to that subtask. #485

Open SmileyTheSmile opened 4 months ago

SmileyTheSmile commented 4 months ago

Describe the bug Tasks can be turned into bullet points with this plugin, which is a pretty neat feature, but it only works properly if the event is just an empty bullet point without any subtasks or whatever. If I turn the task into an event, the little tag in the timeline, that shows its time, moves to the next best thing, which is the subtask. If I turn that into a bullet point, it does the same with its subtask. I suppose it makes sense, but since the plugin already supports bullet lists as valid events, why not apply those time tags to them to in a hierachichal order?

Expected behavior The time of the event stays on the topmost member of the task hierarchy, no matter what type of event it is.

Screenshots изображение

изображение

изображение

claremacrae commented 3 months ago

I suppose it makes sense, but since the plugin already supports bullet lists as valid events, why not apply those time tags to them to in a hierachichal order?

What does 'in a hierachichal order' mean? I reckon it would help developers on this plugin if you could show what you want the behaviour to be, and what the logic was for that?