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 app fetch error #5072

Merged
merged 5 commits into from
Jul 26, 2022
Merged

Conversation

antgamdia
Copy link
Contributor

Description of the change

This PR hides the LoadingWrapper when it has finished the fetching and there is an error (it was leading to a bug reported at #4960). Besides, I've updated the test suite to set the state types so that we can get earlier feedback at build (aka transpile) time.

Benefits

No more endless spinner when loading an installed package that doesn't exist. Instead, an error message will be thrown, and the user will be able to go to the apps view.

Possible drawbacks

N/A

Applicable issues

Additional information

fetch

Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
@netlify
Copy link

netlify bot commented Jul 13, 2022

Deploy Preview for kubeapps-dev canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit 45e4b8f
🔍 Latest deploy log https://app.netlify.com/sites/kubeapps-dev/deploys/62cecd1009ae600009eac89e

Copy link
Collaborator

@castelblanque castelblanque left a comment

Choose a reason for hiding this comment

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

Great, thanks!

@antgamdia antgamdia merged commit a4efbb4 into vmware-tanzu:main Jul 26, 2022
@antgamdia antgamdia deleted the 4960-fixAppFetchError branch July 26, 2022 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Changing Context in AppView leads to unlimited retries
3 participants