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

The compatible info only show for installed app #131

Merged
merged 1 commit into from
Mar 1, 2023

Conversation

unkcpz
Copy link
Member

@unkcpz unkcpz commented Feb 8, 2023

Fixes #100

The compatible info will be shown during the installation, which is not the expected behavior. The compatible info is only shown for the app installed.

@danielhollas
Copy link
Contributor

@unkcpz could you please provide screenshots so we know what this PR is fixing. I am not that familiar with this functionality so screenshots always help a lot.

Otherwise this looks good to me.

@unkcpz
Copy link
Member Author

unkcpz commented Feb 9, 2023

This PR should go after aiidalab/aiidalab#349, but I just find there is an unexpected behavior of my implementation. I'll summarize both with screenshots. I make it a draft at the moment.

@unkcpz unkcpz marked this pull request as draft February 9, 2023 09:33
@unkcpz
Copy link
Member Author

unkcpz commented Feb 9, 2023

Peek 2023-02-09 11-08

Even after the fix of aiidalab/aiidalab#349, from the screenshot you can see during the installation the yellow warning box showing "Reason for incompatibility" will bleak, which should not the case. It is caused from the box is pop out without checking the app is installed.

@unkcpz unkcpz marked this pull request as ready for review February 9, 2023 10:12
Copy link
Contributor

@danielhollas danielhollas left a comment

Choose a reason for hiding this comment

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

Thanks for additional details @unkcpz!

This change looks good to me. I think it is hard to test in isolation, so I would propose to merge this one first, to make it easier to test the other PRs.

These PRs for aiidalab and aiidalab-home are imho quite important so would be good to always get review by both me and @yakutovicha

@yakutovicha yakutovicha marked this pull request as draft February 10, 2023 12:45
@yakutovicha
Copy link
Member

I just made the PR blocked till we decide whether to go with the sandbox approach or not.

@unkcpz unkcpz self-assigned this Feb 28, 2023
@unkcpz
Copy link
Member Author

unkcpz commented Mar 1, 2023

After aiidalab/aiidalab#357 change, we are ready with this PR.

@unkcpz unkcpz marked this pull request as ready for review March 1, 2023 14:26
@unkcpz unkcpz removed the blocked label Mar 1, 2023
@unkcpz unkcpz requested a review from danielhollas March 1, 2023 14:26
@unkcpz
Copy link
Member Author

unkcpz commented Mar 1, 2023

Sorry, this PR is not needed I think it is all fixed by aiidalab/aiidalab#357. I'll give it a test.

@unkcpz
Copy link
Member Author

unkcpz commented Mar 1, 2023

Just did the check, this PR is still needed. The changes applied will show the compatibility_info only for the installed app.

@danielhollas can you give this a second look? I think you don't need to test, I test it and I am confident with the issue I show inhttps://github.com//pull/131#issuecomment-1423938062 is gone.

Copy link
Contributor

@danielhollas danielhollas left a comment

Choose a reason for hiding this comment

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

LGTM 🚀 Thanks @unkcpz, good to have this sorted out. Please, after you merge this, merge main branch into #130

@unkcpz unkcpz merged commit 51d8135 into main Mar 1, 2023
@unkcpz unkcpz deleted the fix/100/flag-for-real-installed branch March 1, 2023 16:48
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.

The app store displays confusing incompatibility warning during app installation
3 participants