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

Task/returning user able to toggle on off food parcels #4

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

danwilliams
Copy link
Contributor

Note: This should be merged AFTER #3

Summary of changes

It is now possible to toggle on/off food parcels.

Testing instructions

Run the following commands:

docker pull amazon/dynamodb-local
docker run -d -p 8000:8000 amazon/dynamodb-local

Then fire up the app as usual, log in using an NHS account, and fill out the presented form. After hitting 'Submit' on the check your answers page the record will be pushed to the database and you will be routed back to the index page.

If you then log in again with the same account, rather than being shown the form, you will be redirected to a 'show saved answers page', which displays the summary list.

Next to the "Help with food delivery required" icon there is a 'change' link. Clicking that link, changing the supplied answer, clicking 'submit and next' then on the show saved answers page clicking 'save changes' will persist any changes made to the backend. You can verify they have been persisted by logging out and logging in again.

@danwilliams danwilliams requested a review from darrenhutton June 30, 2020 14:25
@danwilliams danwilliams self-assigned this Jun 30, 2020
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.

1 participant