Exec Dashboards: UI polish for sparklines
Overview
Sparklines were added to the analytics Exec Dashboard in #382063 (closed), but there's some UI improvements that require making updates to GlSparklineChart.
GitLab UI
-
Add a new prop that enables chart smoothing (GitLab UI MR) -
Add a way to modify tooltip content to match the desired UX, or hide tooltips altogether (TBD) -
Hide the dot at the end of the sparkline, when GlSparklineChart.showLastYValue === false
-
Sparkline cap should be round by default
GitLab
-
Implement sparkline smoothing -
Implement GlSparklineChart.gradient
(MR) -
Fix height of rows to avoid resizing when the sparkline loads -
Add a loading spinner while sparkline data loads -
Only use the default cursor while hovering (disable the pointer cursor)
Edited by Alex Pennells