-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
ui: Link from statement diagnostics to details page #46923
ui: Link from statement diagnostics to details page #46923
Conversation
|
We have Statements diagnostics history page with list of all requested diagnostics. Before, statement fingerprint were represented as a simple text and now it is a links to statement details page. One notion, that it is possible to have diagnostics for statements which is already cleared. In this case statement is displayed as a text instead of link. Release note (admin ui change): Add links to statement details from Statement Diagnostics history page. Release justification: bug fixes and low-risk updates to new functionality
Before, statements column on Statements diagnostics history page displayed full statement and didn't have tooltips. With current changes, statements column behave almost the same way as on Statements page: - statement is shortened - tooltip is added with full statement - in case shortened statement is the same as full statement - then don't display tooltip at all. Release note (admin ui change): Add tooltips with full length statements on Statement diagnostics history page. Release justification: bug fixes and low-risk updates to new functionality
edbf98b
to
6e210c3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status:
complete! 0 of 0 LGTMs obtained (waiting on @koorosh and @nathanstilwell)
pkg/ui/src/views/reports/containers/statementDiagnosticsHistory/index.tsx, line 79 at r1 (raw file):
return ( <Link to={ `/statement/${implicitTxn}/${encodeURIComponent(query)}` }
Given the fact that this will be used outside of this repo, can we extract the creation of this link?
I would consider this as a separate more global task, probably in scope of routes and the way we provide/consume configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Appreciate the comment! We can address later.
Reviewable status:
complete! 1 of 0 LGTMs obtained (waiting on @koorosh and @nathanstilwell)
bors r+ |
Build succeeded |
Resolves: #46559
We have Statements diagnostics history page with list
of all requested diagnostics.
Before, statement fingerprint were represented as a
simple text and now it is a links to statement details
page.
One notion, that it is possible to have diagnostics for
statements which is already cleared. In this case
statement is displayed as a text instead of link.
Release note (admin ui change): Add links to statement
details from Statement Diagnostics history page.
Release justification: bug fixes and low-risk updates to new functionality