Ellpeck / ObsidianSimpleTimeTracker

Multi-purpose time trackers for your notes!
MIT License
132 stars 19 forks source link

Add a dropdown arrow to hide nested segments #23

Open mateuszbugaj opened 1 year ago

mateuszbugaj commented 1 year ago

The timer component gets long quickly when working with nested segments. We can add a dropdown arrow similar to the one used by Obsidian for bullet point lists to hide or show sub-segments.

Here's a demo of how that might look like. Demo

I would also like to hide an entire list of segments to make notes less cluttered, but I think that might be a separate issue since there needs to be a change in the overall layout of the component. What do you think?

YomuKaigen commented 8 months ago

I often only desire to see the total duration, the ability to hide/collapse segments would help me keep my different trackers on the same page with predictable sizes. Ideally, with the option to keep things collapsed when a new segment is added.