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

Add color to prefix and postfix in singlestat panel #11143

Merged
merged 1 commit into from
Mar 13, 2018

Conversation

ApsOps
Copy link
Contributor

@ApsOps ApsOps commented Mar 7, 2018

Before After
before after

@CLAassistant
Copy link

CLAassistant commented Mar 7, 2018

CLA assistant check
All committers have signed the CLA.

@bergquist bergquist requested a review from Ijin08 March 12, 2018 09:16
@grafana grafana deleted a comment from codecov-io Mar 13, 2018
@bergquist bergquist merged commit 6df1325 into grafana:master Mar 13, 2018
@bergquist
Copy link
Contributor

Thank you for contributing to Grafana!

bergquist added a commit that referenced this pull request Mar 13, 2018
@ApsOps ApsOps deleted the colorize-singlestat-prefix-postfix branch March 13, 2018 13:24
@ApsOps
Copy link
Contributor Author

ApsOps commented May 9, 2018

@3IWOH There you go #11892

@torkelo
Copy link
Member

torkelo commented May 9, 2018

was there a strong reason to add this (feature request)? the prefix is usually added as a label / heading and was not designed to be given the value color. Now we might need 2 new options to support original behavior :)

@torkelo
Copy link
Member

torkelo commented May 9, 2018

I can buy that postfix gets the color as it is commonly used as unit, but not prefix. but then I guess it gets a bit random / inconsistent :)

@ApsOps
Copy link
Contributor Author

ApsOps commented May 9, 2018

@torkelo I've added another PR #11892. Please see if that would suit your use-case.

@3IWOH
Copy link

3IWOH commented May 9, 2018

Thanks for this @ApsOps! Here is an example of when we would not like to color the postfix:
image

@ying-jeanne ying-jeanne added the pr/external This PR is from external contributor label Apr 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/external This PR is from external contributor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants