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(client): correctly show loading state on a project's workflows tab #2493

Merged
merged 5 commits into from
Apr 26, 2023

Conversation

leafty
Copy link
Member

@leafty leafty commented Apr 25, 2023

Fixes #2492.

/deploy #persist #cypress

@leafty leafty marked this pull request as ready for review April 25, 2023 08:00
@leafty leafty requested a review from a team as a code owner April 25, 2023 08:00
@leafty leafty temporarily deployed to renku-ci-ui-2493 April 25, 2023 08:01 — with GitHub Actions Inactive
@RenkuBot
Copy link
Contributor

You can access the deployment of this PR at https://renku-ci-ui-2493.dev.renku.ch

@leafty leafty temporarily deployed to renku-ci-ui-2493 April 25, 2023 08:53 — with GitHub Actions Inactive
Copy link
Member

@lorenzo-cavazzi lorenzo-cavazzi left a comment

Choose a reason for hiding this comment

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

If you load the project page straight into the /workflows tab, you still briefly get the warning as in the following gif. I tried with this link:
https://renku-ci-ui-2493.dev.renku.ch/projects/lorenzo.cavazzi.tech/flights-tutorial-2022-04-19/workflows

Peek 2023-04-25 16-45

Suggestion: in the redux store, together with the migration.core.backendAvailable boolean, we store a fetched property initialized as null (Reference).
Perhaps checking if no !fetched might help? Not sure tho if that's the broken piece or something else needs to be checked.
image

@leafty leafty temporarily deployed to renku-ci-ui-2493 April 25, 2023 19:36 — with GitHub Actions Inactive
@leafty leafty temporarily deployed to renku-ci-ui-2493 April 26, 2023 05:24 — with GitHub Actions Inactive
@leafty leafty temporarily deployed to renku-ci-ui-2493 April 26, 2023 11:51 — with GitHub Actions Inactive
@leafty leafty temporarily deployed to renku-ci-ui-2493 April 26, 2023 13:11 — with GitHub Actions Inactive
@leafty leafty deployed to renku-ci-ui-2493 April 26, 2023 13:57 — with GitHub Actions Active
@leafty leafty merged commit 19286f2 into master Apr 26, 2023
@leafty leafty deleted the leafty/2492-fix-workflow-unsupported-message-flashing branch April 26, 2023 14:35
@RenkuBot
Copy link
Contributor

Tearing down the temporary RenkuLab deplyoment for this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression: non-supported message briefly flashes when loading a project's workflows tab
3 participants