-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref(dashboards): Use
BigNumberWidgetVisualization
in Dashboards (#7…
…9246) This is Step 1 of using `BigNumberWidget` inside Dashboards. This change uses the _innards_ of `BigNumberWidget` as the innards of `WidgetCardChart`. `BigNumberWidgetVisualization` is the "innards", that component renders the actual text, the thresholds, etc. Dropping it straight into the place it was extracted from. A few notes: - in `BigNumberWidget`, the thresholds indicator is next to the value, not next the heading. In this PR, I make that change in Dashboards, too - in `BigNumberWidget` "expanding" numbers isn't supported, but isn't needed because all numbers _always_ show the expanded value on hover. In this new version, modal, regular, and mobile numbers all show up the same. Let me know if this causes a problem! - I added a bit more error checking in a few places, and some small layout improvements
- Loading branch information
Showing
6 changed files
with
63 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters