monica
monica copied to clipboard
Life metric events this month graph is broken for empty metrics
⚠️ This issue respects the following points: ⚠️
- [X] This is a bug, not a question or a configuration/webserver/proxy issue.
- [X] This issue is not already reported on Github (I've searched it).
- [X] I agree to follow Monica's Code of Conduct.
Bug description
When a life metric is freshly created and has never been "+1"'d, the graph shown after toggling goes off the screen.
Steps to reproduce
- Create a new life metric.
- After creation, click on the small buttons showing "0" in life metric created.
- The broken graph is shown.
Expected behavior
Either all the bars are the same height and not overscanned like this, or not show the bar.
Environment
Your own self-hosted instance (v5 a.k.a chandler version or main branch)
Version of Monica
763957f
Installation method
Manual installation with Archive
Web server
Nginx
Database engine version
SQlite
Additional info
No response
Which browser do you use for this? I can't reproduce this issue on Firefox and Chrome.
Which browser do you use for this? I can't reproduce this issue on Firefox and Chrome.
Microsoft Edge on Linux.