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

feat(ui): Format offset lag with toLocaleString #1050

Conversation

timonback
Copy link
Contributor

When displaying the lag of a topic for a consumer group, the lag is formatted using toLocateString()
Especially when a high lag is present, it is easier to determine whether it is i.e. 10,000 or rather 1,000,000.

Documentation:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toLocaleString

Example:
image

Closes #911

@tchiotludo tchiotludo merged commit 9e5e775 into tchiotludo:dev Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Difficult to read large lag numbers
2 participants