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 bad navigation between /clusters and /recommendations pages #529

Merged
merged 1 commit into from
Mar 9, 2023

Conversation

gkarat
Copy link
Collaborator

@gkarat gkarat commented Mar 9, 2023

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

This is a temporary workaround to fix the navigation between /recommendations and /clusters via navigation menu. If users navigate between two pages by clicking on the nav menu, both pages will be continuously in the loading state and the tables will only render skeletons.

This has something to do with bad reducers resolution/data access. The API requests are fulfilled (in the network tab), however, not propagated to the appropriate reducers. Force re-render seems to be fixing this temporarily.

How to test

(see the video for steps)

Screencast.from.03-09-2023.10.56.44.AM.webm

@gkarat gkarat requested a review from a team as a code owner March 9, 2023 09:53
Fixes https://issues.redhat.com/browse/OCPADVISOR-59.

This is a temporary workaround to fix the navigation between
/recommendations and /clusters via navigation menu.
@gkarat gkarat force-pushed the ocpadvisor-59-fix-loading-bug branch from e7ffddb to de7f5e6 Compare March 9, 2023 09:53
@gkarat gkarat self-assigned this Mar 9, 2023
@gkarat gkarat added the bug Something isn't working label Mar 9, 2023
@gkarat gkarat merged commit 2235b49 into RedHatInsights:master Mar 9, 2023
gkarat added a commit that referenced this pull request Mar 9, 2023
Fixes https://issues.redhat.com/browse/OCPADVISOR-59.

This is a temporary workaround to fix the navigation between
/recommendations and /clusters via navigation menu.
gkarat added a commit that referenced this pull request Mar 9, 2023
Fixes https://issues.redhat.com/browse/OCPADVISOR-59.

This is a temporary workaround to fix the navigation between
/recommendations and /clusters via navigation menu.
gkarat pushed a commit that referenced this pull request Mar 9, 2023
## [1.11.2](v1.11.1...v1.11.2) (2023-03-09)

### Bug Fixes

* **OCPADVISOR-59:** Fix not loading pages (part 2) ([#529](#529)) ([6b18f07](6b18f07))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant