Skip to content
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(OCPADVISOR-59): Fix not loading pages #528

Merged
merged 1 commit into from
Mar 9, 2023

Conversation

gkarat
Copy link
Collaborator

@gkarat gkarat commented Mar 8, 2023

Fixes https://issues.redhat.com/browse/OCPADVISOR-59.

This should fix the bug when the users navigated to the cluster or recommendation details page for the second and further times and couldn't see data loaded.

Screencast.from.03-08-2023.01.48.38.PM.webm

How to test

Navigate to recommendation/id or cluster/id pages. Go back to the recommendations/clusters list table via breadcrumbs. Go again to any of the details pages. The end page should load fine (whereas for example in production it does not currently).

This should fix the bug when the users navigated to the cluster or
recommendation details page for the second and further times and
couldn't see data loaded.
@gkarat gkarat added the bug Something isn't working label Mar 8, 2023
@gkarat gkarat requested a review from ikerreyes March 8, 2023 12:45
@gkarat gkarat requested a review from a team as a code owner March 8, 2023 12:45
@gkarat gkarat self-assigned this Mar 8, 2023
@codecov-commenter
Copy link

Codecov Report

Patch coverage: 100.00% and project coverage change: -3.04 ⚠️

Comparison is base (c57b8a1) 88.03% compared to head (f1c146d) 85.00%.

❗ Current head f1c146d differs from pull request most recent head 67582e7. Consider uploading reports for the commit 67582e7 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #528      +/-   ##
==========================================
- Coverage   88.03%   85.00%   -3.04%     
==========================================
  Files          25       25              
  Lines        1162     1160       -2     
  Branches      450      450              
==========================================
- Hits         1023      986      -37     
- Misses        139      174      +35     
Impacted Files Coverage Δ
...nts/AffectedClustersTable/AffectedClustersTable.js 95.68% <ø> (ø)
src/Components/Breadcrumbs/index.js 100.00% <ø> (ø)
.../Components/ClustersListTable/ClustersListTable.js 88.23% <ø> (ø)
src/Components/MessageState/EmptyStates.js 92.59% <ø> (ø)
src/Components/RecsListTable/RecsListTable.js 82.22% <ø> (ø)
src/Components/Cluster/Cluster.js 100.00% <100.00%> (ø)
src/Components/ClusterHeader/index.js 100.00% <100.00%> (ø)
src/Components/Recommendation/Recommendation.js 86.11% <100.00%> (-0.13%) ⬇️
src/Components/ClusterRules/ClusterRules.js 65.26% <0.00%> (-20.96%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@gkarat gkarat merged commit 970267c into RedHatInsights:master Mar 9, 2023
gkarat pushed a commit that referenced this pull request Mar 9, 2023
## [1.11.1](v1.11.0...v1.11.1) (2023-03-09)

### Bug Fixes

* **OCPADVISOR-59:** Fix not loading pages ([#528](#528)) ([970267c](970267c))
@gkarat
Copy link
Collaborator Author

gkarat commented Mar 9, 2023

🎉 This PR is included in version 1.11.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@gkarat gkarat added the released label Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants