dwp / design-system

One place for service teams to find and share the styles, components and patterns for designing DWP services.
MIT License
15 stars 3 forks source link

Spike: understand how we better re-use content #595

Closed htmlandbacon closed 4 months ago

htmlandbacon commented 6 months ago

What

Using our draft content model we should explore how we would apply his in a section of our design system content.

Why

We need to understand what we can do to day to enable this ways of working.

Done when

We should explore what additional content/structure/functions need to be put in place.

Proof of concept examples should be picked around pages, composition in pages.

Proof of concept examples

Outcomes

We have a better understanding of what else we need to do to enable this.

Related stories

links

htmlandbacon commented 4 months ago

Work done to understand this, have flagged to @martinwake what has been done, before we review it wider as a team.

As a basic overview:

Current script is to glob all components to gray-matter, generate a combined json of components to be re-used with:

  1. Home page boxes
  2. Component table
  3. Component page (i.e github page i.e)
  4. Navigation

This has also allowed us to build a global template for components.

next steps to follow.

htmlandbacon commented 4 months ago

Closing this for https://github.com/dwp/design-system/issues/607