UI: Fix missing locale strings for Status widget#8792
UI: Fix missing locale strings for Status widget#8792DaanHoogland merged 1 commit intoapache:4.18from
Conversation
|
@vishesh92 a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
|
UI build: ✔️ |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 4.18 #8792 +/- ##
============================================
- Coverage 13.16% 13.16% -0.01%
+ Complexity 9205 9203 -2
============================================
Files 2724 2724
Lines 258149 258149
Branches 40235 40235
============================================
- Hits 33987 33982 -5
- Misses 219856 219862 +6
+ Partials 4306 4305 -1 ☔ View full report in Codecov by Sentry. |
| if (!(state && this.displayText)) { | ||
| return '' | ||
| } |
There was a problem hiding this comment.
Trying to retain the same behavior of widget. Suggested implementation will make the conditions in L182 a little complicated and hard to understand.
5eb05b4 to
f922091
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 4.18 #8792 +/- ##
============================================
- Coverage 13.16% 13.16% -0.01%
Complexity 9203 9203
============================================
Files 2724 2724
Lines 258130 258149 +19
Branches 40232 40235 +3
============================================
- Hits 33989 33982 -7
- Misses 219833 219862 +29
+ Partials 4308 4305 -3 ☔ View full report in Codecov by Sentry. |
|
@DaanHoogland a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
|
UI build: ✔️ |
|
tested in qa |
* 4.18: protect against null-path (apache#8915) UI: Fix missing locale strings for Status widget (apache#8792) Add a shutdownhook to remove jobs owned by the process (apache#8896)
* 4.19: protect against null-path (apache#8915) UI: Fix missing locale strings for Status widget (apache#8792) Add a shutdownhook to remove jobs owned by the process (apache#8896)
Description
This PR fixes #8783. Status widget changes the tooltip message based on the url. To fix this, before returning the tooltip message, we check if there is no string available in locale and set the message to state.
Types of changes
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?