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

[User Story] upload page cookies to keep track when user leaves without submitting #8

Open
mattieFM opened this issue May 27, 2024 · 0 comments

Comments

@mattieFM
Copy link
Collaborator

Overview: If a user leaves the upload page or accidently reloads or loses connection they should not have to reenter all their info

Story:
As a user, when uploading my data to the upload page, when I have to reload the page or get disconnected for any reason then when I come back to the page my data should still be there

Good path:
Given: the user has filled out some of the upload form
When:
1: the user reloads the page
2: the data should still be there

Dev Notes (Mattie):
I implmented about half of this solution inside of the oneStepUploadPage:

// //these are all wrapped with try catches since we are just checking if the data

most of the cookie side of things is done, but the components themselves seem to not read inital state from the props pased, it looks like they only pass their values back up to the prop callbacks rather than 2 way.

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

No branches or pull requests

1 participant