Frontend - ministryofjustice/prison-visits-2 GitHub Wiki

Below are notes about any frontend related items

Javascript dependencies

  • Chosen, a Select Box Enhancer. This is used for the prison switcher to be able to search and select multiple prisons easily
  • TableSorter is used to sort table data
  • Lodash
  • Respond
  • Raven/Sentry
  • MOJ - This was the old MOJ JS standard file used to add modules to your app

Styling

There are many styles that deviate from the GOVUK pattern library, mainly due to this being a staff app. BEM methodology has been used where appropriate.