obsidian-calendar-plugin
obsidian-calendar-plugin copied to clipboard
"Words per dot" counting has unexpected behavior
Describe the bug
The "words per dot" feature is showing an unexpected number of dots, based on word count. I tested this with 'words per dot' set to 250: 0 words = 1 dot (unexpected) 1-249 words = 1 dot (unexpected) 250-499 words = 1 dot (expected) 500-749 words = 2 dots (expected)
Expected behavior
I would expect there to be zero dots until the 'words per dot' threshold is first reached.
Environment (please specify)
OS
MacOS Catalina
Obsidian Version (e.g. v0.10.6)
v0.11.1
I can confirm this behaviour! also, this note is counting as two dots in the clean obsidian vault (core plugins+ calendar plugin only active), according to word count there are only 37 words here
## Goals
%%Put here 3 most important tasks for today%%
-
-
-
## Scrum
## Bullet journal
%%Start from doing my morning pages%%
## Review
%%Put my evening review template here%%
## Day Planner
### Afternoon
- [ ] 19:00 Work on Plot
Obsidian v 0.11.5 Calendar 1.5.7
@dsteinbock technically this behavior was "by design" but I agree it's not a very good design and not intuitive at all. That first dot (for word counts < threshold) is there to signify that the file exists, even if it's not up to the wordsPerDot minimum threshold. Without any dots there, it makes days look there is no file created which I personally found confusing. Especially when trying to find older notes.
I plan on revisiting this behavior in the upcoming v2.0. The current plan is something like this:
- 0-249 words = 1 hollow dot
- 250-499 words = 1 solid dot
- 500-749 words = 2 solid dots
But I'm open to hearing other ideas if you have them!
@liamcain I narrowed my issue and posted as different issue https://github.com/liamcain/obsidian-calendar-plugin/issues/161
Ah, your design decision makes sense now!
I think 1 hollow dot is an excellent solution.
I only just noticed this behaviour, but I had interpreted the dots differently. I thought that each dot represented 'up to' the number of words set, so expected 0-249 to show 1 dot indicating the presence of a file which might have some text in. I expected that once I hit 250 words I'd see a second dot appear. The fact it didn't was what was confusing me.