Repository navigation
Add a tooltip for unix times (ISO strings) - #10376
Merged
Merged
Conversation
Signed-off-by: Ondrej Kokes <[email protected]>
Contributor
Author
Member
|
It would be great to respect the "use local time" checkbox. |
Contributor
Author
|
I've added a bit of code to reflect that. Though not knowing much about React, I'm not sure I'm passing the boolean correctly - seems a bit out of place to put it in the QueryResult struct. Edit: the force push is there just to sign off the second commit, no changes to the original commit. |
Signed-off-by: Ondrej Kokes <[email protected]>
juliusv
reviewed
Mar 2, 2022
juliusv
left a comment
Member
There was a problem hiding this comment.
That's awesome, thanks! Just one small thing to fix.
Btw. this dumb display of <value> @<timestamp> for range vectors has never changed since the very earliest days of Prometheus. There's probably even still way better ways of displaying this, but on the other hand, it's not used that often :)
Signed-off-by: Ondrej Kokes <[email protected]>
Member
|
👍 Thanks :) |
juliusv
added a commit
that referenced
this pull request
Mar 9, 2022
Fixes issues introduced in #10376 Signed-off-by: Julius Volz <[email protected]>
juliusv
added a commit
that referenced
this pull request
Mar 9, 2022
* Fix DataTable tests and missing value key warning Fixes issues introduced in #10376 Signed-off-by: Julius Volz <[email protected]> * Fix more DataTable brokenness Signed-off-by: Julius Volz <[email protected]>
IzhakJakov
pushed a commit
to IzhakJakov/prometheus
that referenced
this pull request
Mar 23, 2022
* Add a tooltip for unix times (ISO strings) Signed-off-by: Ondrej Kokes <[email protected]> * Leverage useLocalTime to adjust ISO string tooltips Signed-off-by: Ondrej Kokes <[email protected]> * revert pre styling removal Signed-off-by: Ondrej Kokes <[email protected]>
IzhakJakov
pushed a commit
to IzhakJakov/prometheus
that referenced
this pull request
Mar 23, 2022
* Fix DataTable tests and missing value key warning Fixes issues introduced in prometheus#10376 Signed-off-by: Julius Volz <[email protected]> * Fix more DataTable brokenness Signed-off-by: Julius Volz <[email protected]>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
I find unix times in the UI quite hard to read, so I'm proposing adding a tooltip with an ISO string.
<br>, because I now have React Fragments instead of plain textNodes)cc @juliusv
Signed-off-by: Ondrej Kokes [email protected]