Open frankieroberto opened 2 weeks ago
Interested in this, have chatted with nhs.uk about this, since most of the templates are for the website. One of their designers is working on their own set of more up-to-date templates.
I feel that the templates in the prototype kit should be very generic, and the specific page templates for the nhs.uk website should be a separate package, maintained by nhs.uk teams, that can be added as an extension (but not sure how this works technically).
Same could be said for the NHS App.
I'm also interested in this (from an NHS App perspective). At the moment we have an NHS App prototype, cloned from the prototype kit, with added NHS App components, pages etc. The NHS App has 10 teams, 3 of those teams are currently prototype in code by creating a branch off (or cloning) the NHS App prototype.
This all becomes a bit messy when trying to update, align things. Ideally I'd like to find a better way for NHS App teams to use the prototype kit with the NHS App stuff, as our ambition is to have all 10 NHS App teams prototyping in code.
My current thinking is to add NHS App page templates to the NHS App frontend, so people can plug in (NPM install) all the NHS App stuff into their prototype. So in essence, a designer working on the NHS App would just clone the latest NHS prototype kit version and add the extra NHS App bits. Thus no need for one specific NHS App prototype, making everything a little easier to use and maintain.
It looks like HMRC use this approach with their templates.
@davidhunter08 good plan! We haven't yet entirely figured out the best way to handle regular templates within the kit, but definitely worth feeding the NHS app templates in as part of that - same with the app frontend.
Unlike the govuk prototype kit, the NHS one doesn’t (yet) have quite the same support for 'plugins', but I’m sure we can figure something out.
Thanks @frankieroberto, sounds good. I'm more than happy to be part of any future discussions.
Agree with all of the above - and the extra thing is that I think templates are an excellent fit for the design system (maybe this is a tangent but I'm confused that the actual NHS frontend has example components https://nhsuk.github.io/nhsuk-frontend/pages/examples.html, for GOV.UK their frontend is just about installation https://frontend.design-system.service.gov.uk/ and examples are in the the design system?)
My suggestion is:
Currently the templates are shipped with the prototype kit but are also on the documentation website.
We should consider where the best place to put them is, and how best to describe how to use them.