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

PanelEdit: Include description of what "auto" decimals does #53572

Open
joshhunt opened this issue Aug 11, 2022 · 1 comment
Open

PanelEdit: Include description of what "auto" decimals does #53572

joshhunt opened this issue Aug 11, 2022 · 1 comment
Labels
area/panel/edit area/units good first issue Good for newcomers help wanted prio/future Used by the dashboards squad to prioritise their backlog team/grafana-dashboards Dashboards squad type/ux

Comments

@joshhunt
Copy link
Contributor

What happened:

The behaviour of "auto" decimals for panel options can be a bit confusing as it will round the number based on some logic (which I don't totally understand??). We want to keep this as the default behaviour (as it produces better values for data we see most often in Grafana, like aggregates from Prometheus), but the field should have a description describing this behaviour briefly.

Separately, we should look to include an option or unit/value formatter to just include all decimals #49388

Made this dashboard as an example of auto decimal rounding https://play.grafana.org/d/5Lo_lHm4z/esc-3553-decimal-rounding?orgId=1

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • Grafana version:
  • Data source type & version:
  • OS Grafana is installed on:
  • User OS & Browser:
  • Grafana plugins:
  • Others:
@joshhunt
Copy link
Contributor Author

Panel edit options are called "field configs" in the code, and a description should go here https://github.com/grafana/grafana/blob/fa4abdcce16f5f56557c5369800594c2ec27eabf/public/app/core/components/OptionsUI/registry.tsx/#L279-L282

@ivanortegaalba ivanortegaalba removed their assignment Jan 18, 2023
@natellium natellium added the team/grafana-dashboards Dashboards squad label Jun 23, 2023
@natellium natellium added the prio/future Used by the dashboards squad to prioritise their backlog label Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/panel/edit area/units good first issue Good for newcomers help wanted prio/future Used by the dashboards squad to prioritise their backlog team/grafana-dashboards Dashboards squad type/ux
Projects
Status: 📝 Backlog
Development

Successfully merging a pull request may close this issue.

3 participants