Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust the number of days shown #3

Closed
eb2ai opened this issue Dec 21, 2023 · 3 comments
Closed

Adjust the number of days shown #3

eb2ai opened this issue Dec 21, 2023 · 3 comments
Labels
feature request New feature or request

Comments

@eb2ai
Copy link

eb2ai commented Dec 21, 2023

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"
}
@zincplusplus zincplusplus added the feature request New feature or request label Dec 28, 2023
@zincplusplus
Copy link
Owner

@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.

@xelaras
Copy link

xelaras commented Jan 4, 2024

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).

@zincplusplus
Copy link
Owner

I've heard you, so now with version 1.2.0 you can show as many dates as you want, and if there's not enough space the dates will overflow to the right. Please test it out and if you find anything funny let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants