alphagov / govuk-design-system-backlog

GOV.UK Design System Community Backlog
31 stars 2 forks source link

Help us make GOV.UK better #167

Open mikeash82 opened 5 years ago

mikeash82 commented 5 years ago

What

This pattern will be added to services' exit surveys so that they can recruit users for future user research sessions.

Anything else

@rosiewoodhead commented on 25 May 2017 What the panel is A way that users can sign up and be asked questions and will then be added to a secure database as a that HMRC can contact them for future research. GDS have put the banners onto GOV.UK pages as part of the trial period. They have made it so that one in five unique users see the banner. I would like to add the banners to exit pages on some services, as not to interrupt the user journey.

@rosiewoodhead commented on 25 May 2017 image Example of the banner

philsherry commented on 1 Nov 2017

The implementation of this could've been handled a lot better. I wasn't in the office when it happened, but it seemed to go along these lines – do correct me if I'm wrong.

Someone knocked up the initial banner in a prototype, using a whole bunch of inline styles and things you wouldn't want to be doing in a service. Then people were told to add it into their services. This resulted in several teams building their own implementation of it. One team managed to raise a PR for it to go into Assets Frontend, but that version didn't have a link to close the banner and set a cookie. By this stage, we have several versions floating around, all setting different cookies. Then someone decided the cookies should all be the same, so all those different versions had to be amended. I was out of the office all day yesterday, so I'm not sure if things have progressed from there.

In future, might I suggest the front-end community are involved, the work is done once, pushed to Assets Frontend, and then any amends are further PRs to the one version that lives in Assets Frontend.

patrick-sansom-HMRC commented 4 years ago

The code for this is available here: https://github.com/hmrc/govuk-template/blob/master/resources/templates/mustache/production/govuk-template.mustache.html#L261-L288 Not sure if it's been reviewed for accessibility.