-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
fix: Error Message is cut off in alerts & reports log page #19444
fix: Error Message is cut off in alerts & reports log page #19444
Conversation
Codecov Report
@@ Coverage Diff @@
## master #19444 +/- ##
==========================================
- Coverage 66.59% 66.59% -0.01%
==========================================
Files 1670 1670
Lines 63888 63890 +2
Branches 6510 6511 +1
==========================================
+ Hits 42544 42545 +1
- Misses 19655 19656 +1
Partials 1689 1689
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@@ -144,6 +145,15 @@ function ExecutionLog({ addDangerToast, isReportEnabled }: ExecutionLogProps) { | |||
{ | |||
accessor: 'error_message', | |||
Header: t('Error message'), | |||
Cell: ({ | |||
row: { |
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.
are you sure all rows are objects that have an original
nested object?
If not, this could fail, and maybe we need to use optional chaining instead
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.
Yes, @diegomedina248 , all rows have the nested object which contains original
.
We can confirm this from line# 133. (https://github.com/apache/superset/pull/19444/files#diff-b0502ccd40e521f12fa41224e8486ad60145cbccb955f2122c1a4da6f5904081R133)
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.
SUMMARY
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before:
AFTER:
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION