-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[dashboard] fix onboarding modal show with workspaces exists #9665
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
Conversation
Thanks for raising the PR 🙏 |
@andreafalzetti Any idea what is |
I think it's the state for this search bar: The search bar it's only visible when you have workspaces |
432288b
to
b9e3e67
Compare
/werft run 👍 started the job as gitpod-build-hw-fix-dashboard-onboarding-bug.2 |
/werft run with-vm=true 👍 started the job as gitpod-build-hw-fix-dashboard-onboarding-bug.3 |
/werft run without-vm=true 👍 started the job as gitpod-build-hw-fix-dashboard-onboarding-bug.4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Tested, works as expected! 🚀
Taking a look! @mustard-mh @andreafalzetti Should I run this |
I think for testing it works either way. The reason I've used |
FYI. Access VM preview environment k3s:
Then, all steps (exec \ port-forward etc) like before |
/werft run 👍 started the job as gitpod-build-hw-fix-dashboard-onboarding-bug.5 |
/werft run 👍 started the job as gitpod-build-hw-fix-dashboard-onboarding-bug.6 |
/werft run with-vm=true 👍 started the job as gitpod-build-hw-fix-dashboard-onboarding-bug.7 |
@mustard-mh I'm unable to access the preview env for some reason 🤔 |
/werft run 👍 started the job as gitpod-build-hw-fix-dashboard-onboarding-bug.8 |
This PR has not committed for a long time, so platform team's job will delete this harvester(VM) preview environment
|
I'll rebase it to origin/main to keep it fresh |
b9e3e67
to
7453b0d
Compare
Werft job done 🎉 cc @laushinka |
Tested according to the steps. In step 5 I don't see a modal - is this the expectation? |
Step 5 -> The modal should appear again, once you've deleted all workspaces. The concept is, if you've started a workspace, the modal should not be visible. |
@andreafalzetti I don't have any workspaces anymore and I don't see the modal reappear. |
@andreafalzetti I could see the modal but is this intended or planned? From UX perspective:
Sorry for hijacking this code review! 😇 |
You have a The EDIT: I've updated the PR desc "how to test" to make it clear what the expectations are |
@gtsiolis that'a the behaviour that this PR implements. Please check again the how-to-test section, it should be clearer 🙏 |
Ah, so this PR catches the edge case where a new user opens a repository via a However, this will no longer be necessary once we merge #9663, correct? I could be missing something but wondering why we are not merging #9663 instead. Maybe #9663 is far from being merged or the check we're adding in this PR needs to be in there anyway? 🤷 |
Ah, I see. Would that defaultIde have to be removed from the DB for me to be able to test it again? 🙈 Update: I deleted my defaultIde from the DB, retook the steps and confirmed that I see the modal again. |
You have a good point @gtsiolis - For the long term, I cannot think of a current use-case where merging this - considering we'll soon merge #9663 - we add much value 🤔 In the shorter term, it could help prevent seeing the modal after you've already used a workspace once, which might have looked odd. @mustard-mh what's your view on this? Shall we continue with this PR or abandon it? |
Initially, this PR was created as a quick fix for this bug, as it was simple to modify and would be much sooner than the PR #9663 for review. In reality, both PRs have been in the review state for a long time. if #9663 can be merged first, we can close this one. Edge case (How to test section step 3) will cause this issue too, but it's really edge case, we can ignore it |
Description
Go with origin proposal, onboarding Modal in
/workspaces
page will only show with/workspaces
pageSee also #9624 (comment)
Related Issue(s)
Fixes #
How to test
/workspaces
verify that the IDE selection modal is visible, do not interact with it, just close the browser tab/#<repo_url>
/workspaces
verify that the modal does not show/workspaces
and verify that the modal is showing againRelease Notes
Documentation