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

Life metric events this month graph is broken for empty metrics #7192

Open
3 tasks done
TipzRickyCheung opened this issue Mar 13, 2024 · 2 comments
Open
3 tasks done
Labels

Comments

@TipzRickyCheung
Copy link

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • 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

  1. Create a new life metric.
  2. After creation, click on the small buttons showing "0" in life metric created.
  3. The broken graph is shown.

image

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

@djaiss
Copy link
Member

djaiss commented Mar 18, 2024

Which browser do you use for this? I can't reproduce this issue on Firefox and Chrome.

@TipzRickyCheung
Copy link
Author

Which browser do you use for this? I can't reproduce this issue on Firefox and Chrome.

Microsoft Edge on Linux.

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

No branches or pull requests

2 participants