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 404 page when wrong filtered catalog is being used in execution results page #1414

Merged
merged 2 commits into from
May 16, 2023

Conversation

EMaksy
Copy link
Member

@EMaksy EMaksy commented May 15, 2023

Description

This pull request addresses a bug that occurs when navigating to the checks catalog view and selecting a provider filter (e.g., "gcp," "kvm," or "aws") different from the previously executed provider. Proceeding to the cluster details view and clicking the "Show Results" button, a 404 error page is encountered.

The underlying issue is a slow loading of the catalog, which triggers the error. To resolve this behavior, the pull request introduces several changes. Firstly, a loading state is implemented to improve data handling and ensure proper catalog loading. Additionally, the loading transition is enhanced by incorporating the LoadingBox component, resulting in a smoother user experience.

Before Fix

Bug.webm

After Fix

bugFix.webm

@EMaksy EMaksy force-pushed the fix_grouped_ckeck_results_view branch 3 times, most recently from 9075970 to 5c91169 Compare May 15, 2023 15:19
@EMaksy EMaksy changed the title Add WIP for fix Fix 404 page when wrong filtered catalog is being used in execution results page May 15, 2023
@EMaksy EMaksy added bug Something isn't working enhancement New feature or request javascript Pull requests that update Javascript code labels May 16, 2023
@EMaksy EMaksy self-assigned this May 16, 2023
@EMaksy EMaksy force-pushed the fix_grouped_ckeck_results_view branch from 5c91169 to 4304ee7 Compare May 16, 2023 10:11
@EMaksy EMaksy force-pushed the fix_grouped_ckeck_results_view branch 2 times, most recently from f0c5e28 to 2e43e0d Compare May 16, 2023 11:54
Copy link
Contributor

@dottorblaster dottorblaster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a tiny change then we can merge

assets/js/components/ExecutionResults/ExecutionResults.jsx Outdated Show resolved Hide resolved
@EMaksy EMaksy force-pushed the fix_grouped_ckeck_results_view branch from 1261bb6 to 016ebd0 Compare May 16, 2023 13:19
@EMaksy EMaksy marked this pull request as ready for review May 16, 2023 13:19
Copy link
Contributor

@dottorblaster dottorblaster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@nelsonkopliku nelsonkopliku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@EMaksy EMaksy merged commit dff15cd into main May 16, 2023
@EMaksy EMaksy deleted the fix_grouped_ckeck_results_view branch May 16, 2023 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request javascript Pull requests that update Javascript code
Development

Successfully merging this pull request may close these issues.

3 participants