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

Add a feature to clear session data #389

Open
vickytnz opened this issue Nov 8, 2024 · 3 comments
Open

Add a feature to clear session data #389

vickytnz opened this issue Nov 8, 2024 · 3 comments
Labels
JavaScript Pull requests that update Javascript code type: enhancement 💡 New feature or request

Comments

@vickytnz
Copy link
Contributor

vickytnz commented Nov 8, 2024

What is the issue?

There is no way in the prototype kit to clear data. This is possible in the GOV.UK prototype kit with pages designed to do it. https://prototype-kit.service.gov.uk/docs/pass-data

@frankieroberto
Copy link
Contributor

Agree this would be a good feature to add.

I added this to my prototype here: https://github.com/NHSDigital/record-a-vaccination-prototype/blob/main/app/routes/prototype-admin.js

@vickytnz
Copy link
Contributor Author

vickytnz commented Nov 8, 2024

@joelanman
Copy link

something I always want to add - a link to return to where you were in the prototype, after clearing data

@frankieroberto frankieroberto changed the title Can't clear data Add a feature to clear session data Nov 9, 2024
@vickytnz vickytnz added the JavaScript Pull requests that update Javascript code label Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JavaScript Pull requests that update Javascript code type: enhancement 💡 New feature or request
Development

No branches or pull requests

3 participants