Adjust the number of days shown
eb2ai opened this issue · comments
It would be nice to adjust the number of days displayed. This would be nice to show a full month or more.
I would suggest making it an option in the codeblock so it's easy to changed depending on where it's being used.
{
"path": "Habits/",
"days": "31"
}
@eb2ai @xelaras right now the width of the page, at least in the default theme, doesn't allow more than 21 habits to be displayed. If the number goes up what would you expect to happen:
- horizontal scroll
- overflow: the box widens to the right and breaks out of the page width
Screen.Recording.2024-01-04.at.09.51.53.mov
I prefer scroll, but if you tell me you'd like for it to overflow I could add a setting to allow that too.
I actually prefer the overflow version: it makes it possible to have the complete view of the entire month at a glance, and to count the number of times the habit was performed in the month.
(By the way, it would also be great to have the count directly after the name of the habit, in parentheses).