Add user research contact preference#1892
Conversation
|
e5cfc92 to
8d3bbab
Compare
83ce173 to
4ce5de7
Compare
3cbecc2 to
25e7979
Compare
4471f0e to
0543f17
Compare
5ae990f to
144e63a
Compare
|
Made one small content suggestion. Otherwise, all the content looks good. |
91e5e2b to
f984889
Compare
9c11cf0 to
6c8b364
Compare
850346c to
1d15d09
Compare
|
This looks good to me, I can't add a review because I opened the PR. |
DavidBiddle
left a comment
There was a problem hiding this comment.
Code looks good and works for me in review 🎉
Add a new report which lists all users who have agreed to be contacted about user research. The list is ordered by date of sign up.
Add a new page and input object for user research contact preference.
Redirect any user who does not have contact_for_research set to the page to set it.
…search contact preference This commit adds the updated content for the contact for research page, as well as addidng tests for the contact for research controller It also adds a feature test to test the functionality of add a user research contact preference
… all users to "to_be_asked" - Adds a db migration and updated schema/seeds to default all users to "to_be_asked" - Adds timestamp to record what time the user opted into user research - sorts the users in the report that have consented by time of opting in to make it easier to keep track of users - updates the tests to reflect the new changes
1d15d09 to
6be8a49
Compare
|
|
🎉 A review copy of this PR has been deployed! You can reach it at: https://pr-1892.admin.review.forms.service.gov.uk/ It may take 5 minutes or so for the application to be fully deployed and working. If it still isn't ready For the sign in details and more information, see the review apps wiki page. |



Ask new users for consent to be contacted about user research
Trello cards:
https://trello.com/c/8R5O8PTf/162-add-sign-up-screen-to-collect-user-research-interest
https://trello.com/c/ZBHqh34G/161-add-report-for-users-who-have-agreed-to-be-contacted-for-user-research
https://trello.com/c/6Vsps6ev/2380-design-and-build-the-new-opt-in-to-be-invited-to-take-part-in-ur-page-for-the-govuk-forms-signup-journey
This work was done during firebreak to add a report for users who have agreed to be contacted and a new form at the end of the signup journey which asks them.
Further work needed:
update content for consent (it's still being worked on) (done)add tests for the new controller and a feature test (done)think about deployment - we don't want to ask all users for their consent, only new ones(we've decided to ask all users for consent, not just new users)See this ticket for the final parts of implementation.
Things to consider when reviewing