-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Reporting] Fix TypeError with pending job info #43924
Conversation
Pinging @elastic/kibana-stack-services |
💚 Build Succeeded |
💚 Build Succeeded |
@@ -77,8 +73,21 @@ export class ReportInfoButton extends Component<Props, State> { | |||
|
|||
const jobType = info.jobtype || NA; | |||
|
|||
// TODO queue method (clicked UI, watcher, etc) |
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.
I removed this TODO because it's been talked about before, but never seemed essential
💚 Build Succeeded |
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.
Changes look good. Thanks for adding tests.
Only thing I noticed is that ReportInfoButton
component contains several strings that are not wrapped in i18n translations like "unknown", "n/a", "Width: ${width} x Height: ${height}", "Job Info", all JobInfoMap titles, and "Unable to fetch report info".
lgtm
code review
Good call @nreese! This has come up before in Reporting code: #42873 That issue has come up once in a Stack Services sync as something that could be tackled by a non-expert in Reporting code. Things move fast! |
* fix typeerror and typescript warnings * add test for report listing * get a relevant snapshot to test with * fix debug diff * remove unnecessary change
* fix typeerror and typescript warnings * add test for report listing * get a relevant snapshot to test with * fix debug diff * remove unnecessary change
Closes #42484 #42895