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

Implement delegates onboarding - Closes #1960 #2045

Merged
merged 20 commits into from
May 23, 2019

Conversation

massao
Copy link
Contributor

@massao massao commented May 20, 2019

What issue have I solved?

#1960

How have I implemented/fixed it?

Created onboarding component, that renders the slides based on the props, and has the navigation with animations on it, also receive the final callBack and the onClose from props.
Updated votingV2 so it renders the Onboarding if the user hadn't closed it before.

How has this been tested?

Go to /delegatesV2 and the onboarding should show up.

Review checklist

@massao massao self-assigned this May 20, 2019
@massao massao requested a review from osvaldovega May 22, 2019 16:43
@massao massao requested a review from slaweet May 23, 2019 08:39
Copy link
Contributor

@slaweet slaweet left a comment

Choose a reason for hiding this comment

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

Just one detail below. Everything else looks great 👍

handleCloseOnboarding() {
localStorage.setItem('closedVotingOnboarding', true);
this.setState({ showVotingOnboarding: false });
}
Copy link
Contributor

Choose a reason for hiding this comment

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

handleCloseOnboarding and state.showOnboarding should IMO be inside the generic <Onboarding /> component. You just need to pass key='showVotingOnboarding' to use as the localStorage key.

@massao massao requested a review from slaweet May 23, 2019 14:30
Copy link
Contributor

@slaweet slaweet left a comment

Choose a reason for hiding this comment

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

Perfect. 💯

@massao massao merged commit f2f4f57 into development May 23, 2019
@massao massao deleted the 1960-implement-delegates-onboarding-module branch May 23, 2019 15:05
@reyraa reyraa added this to Pull Requests in Version 1.18.0 via automation May 27, 2019
@reyraa reyraa moved this from Pull Requests to Merged Pull Requests in Version 1.18.0 May 27, 2019
@reyraa reyraa added the ready label Jun 14, 2019
@reyraa reyraa added this to the Sprint 1 milestone Jun 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Version 1.18.0
  
Merged Pull Requests
Development

Successfully merging this pull request may close these issues.

None yet

3 participants