-
Notifications
You must be signed in to change notification settings - Fork 64
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
TAI-3083 : Introduce styling for check-your-answers summary content #823
Conversation
… based upon GOV.UK design pattern.
@markhunter27 Why does this need to be added to Assets Frontend for it to be used in your service? We shouldn't be duplicating GOV.UK patterns in Assets frontend the aim is to remove as many things as possible from AF and only add things that are specific to HMRC. |
@gavinwye We could introduce the styling locally to our service (TAI in this case), but there seems to be a convention already that a number of GOV.UK patterns are present within Assets Frontend - for instance this PR #789 |
@markhunter27 Team 9 also need to use this pattern in our service. |
@markhunter27 Is that right approach? I'm aware of some improvements that could be made (esp. accessibility). This feels like a good opportunity to make them. |
@rpowis we could add the pattern in its current state so that teams can use it and stop duplicating code in their services. |
I'd definitely feel happier if we didn't use this pattern as it stands (and I know @philsherry has strong views on it). However I do think we need check your answers to be updated in AF as everyone is currently rolling their own. |
@philsherry created this one alphagov/govuk-prototype-kit#334. Maybe we go with that here instead? |
@rpowis Would you propose introducing within AF, or submitting to GOV elements for consideration? We'll need to raise a separate PR for Phils implementation, so given that we need to meet our current sprint commitment we're proposing to bundle the styling into our own service for now - while we reach agreement on which should be placed within AF. |
Definitely in AF where we can improve it for all HMRC services before proposing it as an improvement to the GOV.UK version.
If that's the case then we should get this version in now and then improve it. @adamliptrot-oc @philsherry @gavinwye If everyone's happy with that can you thumbs up this comment and I'll merge and release it. |
@markhunter27 Can you rebase master in the meantime please? |
I'm happy with that approach. However we are building a design system to bring consistency to all our services so whatever approach we arrive at, for an HMRC version of check your answers will need to work for all services on the platform. |
There is an issue in the design patterns backlog that this work can be done against hmrc/design-patterns#26 |
Introduction of new styling, derived from the GOV.UK design pattern here
Problem
A number of services have the same requirement when developing linear journeys, for an accessible and responsive confirmation page. Rather than define the relevant styling locally to services, we're adding to the assets-frontend library for consistent use across services.
Solution
The new sass partial we've introduced is taken directly from the GOV.UK service design manual example. No changes have been made.
Example Screenshot
The screenshot below is taken directly from the GOV.UK service design manual, and an illustration is now included in the generated component library.
