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

feat(*) disable onboarding when no requirement fulfilled to display it #202

Merged
merged 2 commits into from
Aug 11, 2021

Conversation

tomaszwylezek
Copy link
Contributor

@tomaszwylezek tomaszwylezek commented Aug 10, 2021

Summary

We no longer want to display onboarding for users which already have fulfilled the condition to display onboarding popup.

So we are redirecting into onboarding view only if the user has default mesh and no dataplanes and did not seen already the onboarding view. In any other case we are no longer redirecting into onboarding and if user try to open that page it will be redirected into global overview.

Explanation of changes

As right now we have to wait in the router to make sure we can check condition if the page should be displayed or not (so we need to wait till all bootstrap action will be resolved, and globalLoading will change into false) it caused a flash of the blank screen after loading is finished (movie below). To avoid that I provided a delay on change on loading in App.vue to make sure that all calculations done in routing will be finished after that. It is something that will be changed in the future after we change the onboarding.

Without delay

Screen.Recording.2021-08-10.at.11.37.28.mov

With delay

Screen.Recording.2021-08-10.at.11.43.00.mov

Signed-off-by: Tomasz Wylężek tomwylezek@gmail.com

@tomaszwylezek tomaszwylezek requested a review from a team as a code owner August 10, 2021 09:35
Signed-off-by: Tomasz Wylężek <tomwylezek@gmail.com>
@tomaszwylezek tomaszwylezek force-pushed the feat/disable-onboarding branch from 9a7fbc2 to aa2debe Compare August 10, 2021 09:45
Copy link
Contributor

@pan-bubr pan-bubr left a comment

Choose a reason for hiding this comment

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

lgtm

Signed-off-by: Tomasz Wylężek <tomwylezek@gmail.com>
@tomaszwylezek tomaszwylezek merged commit 1b42672 into kumahq:master Aug 11, 2021
@tomaszwylezek tomaszwylezek deleted the feat/disable-onboarding branch August 11, 2021 12:57
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.

2 participants