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 status code text to webui bar chart tooltip #2639

Merged
merged 1 commit into from
Jan 25, 2018

Conversation

wader
Copy link
Contributor

@wader wader commented Jan 2, 2018

What does this PR do?

So you don't have to lookup status code numbers

Motivation

I keept googling them

More

  • Added/updated tests

Not sure how to add test for this?

Additional Notes

@wader
Copy link
Contributor Author

wader commented Jan 2, 2018

This changes the tooltip design a bit, now it's just "200 OK" before it was "[color] 200 [count]" with more padding

@ldez
Copy link
Contributor

ldez commented Jan 24, 2018

@wader I think you can use https://www.npmjs.com/package/http-status-codes to simplify the code.

@wader
Copy link
Contributor Author

wader commented Jan 24, 2018

@ldez Ok, have switched to using http-status-codes now

Copy link
Contributor

@ldez ldez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wader
Copy link
Contributor Author

wader commented Jan 25, 2018

Let me know if there is something else to fix

Copy link
Member

@mmatur mmatur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@juliens juliens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

So you don't have to lookup status code numbers
@traefiker traefiker merged commit fa1f4f7 into traefik:master Jan 25, 2018
@wader wader deleted the webui-status-code-text branch January 25, 2018 16:13
@ldez ldez added the kind/enhancement a new or improved feature. label Mar 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants