ministryofjustice / moj-design-system

One place for MOJ service teams to find styles, components and patterns for UK Ministry of Justice services.
https://design-patterns.service.justice.gov.uk/
MIT License
11 stars 3 forks source link

Some newer components aren't showing on the heroku app #60

Open johnnolan opened 3 years ago

johnnolan commented 3 years ago

Prerequisites

Description

See here for example: https://moj-design-system.herokuapp.com/components/ticket-panel also missing is the Cookie Banner and probably others.

Requires looking at missing components and adding the relevant documentation for each in https://github.com/ministryofjustice/moj-design-system/tree/main/app/views/components

Steps to Reproduce

  1. Go to https://moj-design-system.herokuapp.com/components
  2. Look at side navigation
  3. Some components are not showing and 404 on direct links from Readmes

Expected behaviour: All available components to show

Actual behaviour: No visibility of newer components

Reproduces how often: 100%

Versions

You can get this information from the CHANGELOG. Also, please include details of the browser and OS version you're running.

Additional Information

Also relates to #43

johnnolan commented 3 years ago

Identified by @rwk-moj

gregtyler commented 3 years ago

This isn't a Heroku issue, it's just that no-one's written any documentation for them yet.

I don't think there's much point acknowledging the cookie banner component, since the GOV.UK one supersedes it.

Also worth noting that I'm currently experimenting with moving all the documentation into a static-site generator in the moj-frontend repository, so we can keep the docs and the code in one place. Hopefully that'll make it easier to write documentation as we go.

johnnolan commented 3 years ago

Updated the description to better describe the issue being missing docs rather than it being an implied Heroku issue

gregtyler commented 3 years ago

When this component is written up, it should include some guidance noting that if you have the same button present on multiple panels (e.g. "View" or "Edit") then you should use .govuk-visually-hidden to differentiate them for a screen reader