Branch: refs/heads/2.0.0
Home:
https://github.com/tribe29/checkmk
Commit: 2573390883ed528ba841b2583581521974436999
https://github.com/tribe29/checkmk/commit/2573390883ed528ba841b258358152197…
Author: Óscar Nájera <oscar.najera(a)tribe29.com>
Date: 2021-02-22 (Mon, 22 Feb 2021)
Changed paths:
M cmk/gui/plugins/dashboard/single_metric.py
M web/htdocs/js/modules/figures/cmk_figures.js
M web/htdocs/js/modules/figures/cmk_gauge.js
M web/htdocs/js/modules/figures/cmk_timeseries.js
M web/htdocs/themes/facelift/scss/_dashboard.scss
Log Message:
-----------
Single metric dashlet display options
User is able to select for Value, Fill and border 3 options. Theme default,
service status, metric status. That leads to 27 options, not all of them
useful. Yet now the renderer is capable of dealing with that customization.
Changes:
- On single_metric.py: Valuespec, and plot definitions that deliver css_classes
- Dashboard css: New proposal on composition CSS instead of
hierarchical. Aim is to avoid figuring out where in the DOM an element
is, classes have few styles and are to be composed. It should be TAG
independent in the future. For the moment constrained on SVG TAG.
- cmk_figures.js: metric levels is css only, and utility functions use the
new styles. Now styling can be complete controlled on CSS and themes can
be toggled at ease.
- cmk_timeseries.js & cmk_gauge.js: adapt to new display option(config & css)
Change-Id: I5524173005d3e3ce691935a93119dfb538eea45d
(cherry picked from commit 62f1fa731275666b3ca01310bfc7774f89f30d08)