You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Thank you for working on this! It is a fun addition that adds some personality to our dashboards :)
Having played with it, here are a few considerations:
Big +1 to reduce general padding as you noted in Slack
Add icon size option
When the Icon background is None, then I would expect no padding around the icon (see below)
I think we can drop the Shadow option; the tinted Color setting seems sufficient
The list of icons is good; any reason to not allow all EUI icons? (I'm guessing there is a performance loading consideration that I am not aware of :) )
When Icon alignment is left or right, we may want to require background color; otherwise the icon floats in a poorly aligned position (see below)
(future; general metric feedback) Consider adding a setting for vertical margin between the title, value, icon
Screenshots for items above
Removing padding when no Icon background color
Require background color when icon position is set to left or right
Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.
Hey @ryankeairns thank you so much for your feedback and help.
It will probably not be released because datavis team is working on changing the metric visualization completely. I spent some time on Thursday playing with integrating their solution with an icon decoration, but didn't get very far as the code is in an early state.
Hopefully we can reuse some elements of this code though when we use the new metric. :)
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #129229