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

Delete form data from session store on completion of onboarding #287

Closed
damianmoore opened this issue Jun 18, 2021 · 2 comments
Closed

Delete form data from session store on completion of onboarding #287

damianmoore opened this issue Jun 18, 2021 · 2 comments
Assignees
Milestone

Comments

@damianmoore
Copy link
Collaborator

damianmoore commented Jun 18, 2021

Form data is stored in the session so that the user can go backwards and forwards in the onboarding flow without having to re-enter their data. This data continues to live in the browser which can confuse things when a users has cleared their database and are trying to start a fresh installation. Also, it contains things like username and password.

@GyanP
Copy link
Collaborator

GyanP commented Jun 25, 2021

Basically, we are using little-state-machine to keep each onboarding form data. So that if user partially completed onboarding steps and left. Then whenever user wants to complete his signup(onboarding) process he could start form feeling from where he previously left. Basically little-state-machine stores the data in session storage. And I have tried many different ways to reset the state machine by using action but I was getting issues to do it. So In last I have clear the session storage when user done last step of onboarding.

I have pushed it's changes on branch 287-delete-from-data

@damianmoore
Copy link
Collaborator Author

Thanks @GyanP. This is now merged into master as of e75242c.

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

No branches or pull requests

2 participants