-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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(ui): add exec check to avoid API calls #16168
fix(ui): add exec check to avoid API calls #16168
Conversation
6a613e0
to
1da3a42
Compare
1e3f194
to
f1b9c5f
Compare
958ef84
to
732db13
Compare
f5b4023
to
cb1c75a
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #16168 +/- ##
=======================================
Coverage 49.53% 49.53%
=======================================
Files 269 269
Lines 47321 47321
=======================================
Hits 23441 23441
Misses 21576 21576
Partials 2304 2304 ☔ View full report in Codecov by Sentry. |
@ishitasequeira Would it be possible for you to test my changes. There are two issues that this PR addresses.
|
Sure, I will test it out this week. |
@ashutosh16 can you include |
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.
Thanks @ashutosh16, I tested the change and the changes look good to me.
ui/src/app/applications/components/application-details/application-resource-list.tsx
Outdated
Show resolved
Hide resolved
ui/src/app/applications/components/resource-details/resource-details.tsx
Outdated
Show resolved
Hide resolved
ui/src/app/applications/components/application-details/application-resource-list.tsx
Show resolved
Hide resolved
ui/src/app/applications/components/application-details/application-resource-list.tsx
Outdated
Show resolved
Hide resolved
cb1c75a
to
33882e5
Compare
c843c7f
to
96ac0e2
Compare
@keithchong /@ishitasequeira Would you be able to merge the PR? |
Signed-off-by: ashutosh16 <[email protected]>
Signed-off-by: ashutosh16 <[email protected]>
Signed-off-by: ashutosh16 <[email protected]>
Signed-off-by: ashutosh16 <[email protected]>
Signed-off-by: ashutosh16 <[email protected]>
Signed-off-by: ashutosh16 <[email protected]>
96ac0e2
to
d253053
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.
Thanks @ashutosh16 for fixing the comments.
* bug: add parent ref node info on resource list Signed-off-by: ashutosh16 <[email protected]> * bug: add parent ref node info on resource list Signed-off-by: ashutosh16 <[email protected]> * bug: add parent ref node info on resource list Signed-off-by: ashutosh16 <[email protected]> * bug: add parent ref node info on resource list Signed-off-by: ashutosh16 <[email protected]> * bug: add parent ref node info on resource list Signed-off-by: ashutosh16 <[email protected]> * bug: add parent ref node info on resource list Signed-off-by: ashutosh16 <[email protected]> --------- Signed-off-by: ashutosh16 <[email protected]>
* bug: add parent ref node info on resource list Signed-off-by: ashutosh16 <[email protected]> * bug: add parent ref node info on resource list Signed-off-by: ashutosh16 <[email protected]> * bug: add parent ref node info on resource list Signed-off-by: ashutosh16 <[email protected]> * bug: add parent ref node info on resource list Signed-off-by: ashutosh16 <[email protected]> * bug: add parent ref node info on resource list Signed-off-by: ashutosh16 <[email protected]> * bug: add parent ref node info on resource list Signed-off-by: ashutosh16 <[email protected]> --------- Signed-off-by: ashutosh16 <[email protected]>
* bug: add parent ref node info on resource list Signed-off-by: ashutosh16 <[email protected]> * bug: add parent ref node info on resource list Signed-off-by: ashutosh16 <[email protected]> * bug: add parent ref node info on resource list Signed-off-by: ashutosh16 <[email protected]> * bug: add parent ref node info on resource list Signed-off-by: ashutosh16 <[email protected]> * bug: add parent ref node info on resource list Signed-off-by: ashutosh16 <[email protected]> * bug: add parent ref node info on resource list Signed-off-by: ashutosh16 <[email protected]> --------- Signed-off-by: ashutosh16 <[email protected]>
* bug: add parent ref node info on resource list Signed-off-by: ashutosh16 <[email protected]> * bug: add parent ref node info on resource list Signed-off-by: ashutosh16 <[email protected]> * bug: add parent ref node info on resource list Signed-off-by: ashutosh16 <[email protected]> * bug: add parent ref node info on resource list Signed-off-by: ashutosh16 <[email protected]> * bug: add parent ref node info on resource list Signed-off-by: ashutosh16 <[email protected]> * bug: add parent ref node info on resource list Signed-off-by: ashutosh16 <[email protected]> --------- Signed-off-by: ashutosh16 <[email protected]> Signed-off-by: Kevin Lyda <[email protected]>
* bug: add parent ref node info on resource list Signed-off-by: ashutosh16 <[email protected]> * bug: add parent ref node info on resource list Signed-off-by: ashutosh16 <[email protected]> * bug: add parent ref node info on resource list Signed-off-by: ashutosh16 <[email protected]> * bug: add parent ref node info on resource list Signed-off-by: ashutosh16 <[email protected]> * bug: add parent ref node info on resource list Signed-off-by: ashutosh16 <[email protected]> * bug: add parent ref node info on resource list Signed-off-by: ashutosh16 <[email protected]> --------- Signed-off-by: ashutosh16 <[email protected]>
fixes #16165
Along with this PR, fixing UI bug on the resource list when pod group is enabled and total pod count is grater than 15
UI displays Parent Node Ref details which shouldn't be displayed on this list view. Parent Ref details should only be displayed when the user clicks on the pod group on the tree view