-
Notifications
You must be signed in to change notification settings - Fork 5
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
Map 178 uof new header and footer #646
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
assets/sass/application.sass
assets/sass/components/_footer.scss
assets/sass/components/_header-bar.scss
New line linting, once resolved LGTM
1. reverted css relating to contenr width because the Use of force reports' page needs a greater width to accommodate 4 tabs and a link. Have made the new headers the same width. 2. reverted crossOriginEmbedderPolicy to false as otherwise the date widget will not work. 3. Defined the digitalPrisonServiceUrldp var in nunjucks setup so that it could be accessed by the fallback header
@@ -91,7 +91,7 @@ export default function createApp(services: Services): Express { | |||
|
|||
app.use( | |||
helmet({ | |||
crossOriginEmbedderPolicy: true, | |||
crossOriginEmbedderPolicy: false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needed for date-picker widget in new report page and Completed reports page
@@ -39,6 +39,7 @@ export default function configureNunjucks(app: Express.Application): nunjucks.En | |||
njkEnv.addGlobal('authUrl', config.apis.oauth2.url) | |||
njkEnv.addGlobal('apiClientId', config.apis.oauth2.apiClientId) | |||
njkEnv.addGlobal('featureFlagOutageBannerEnabled', config.featureFlagOutageBannerEnabled) | |||
njkEnv.addGlobal('digitalPrisonServiceUrl', config.apis.digitalPrisonServiceUrl) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needed by fallback header
@@ -1,5 +1,12 @@ | |||
@import "palette" | |||
|
|||
div.govuk-width-container |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needs wider container width in Use of force incidents page
used 1170px instead of 1150px previously used so it's same as new header width
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The changes follow the guidance here
The blue feedback block (which leads to Survey Monkey) above footer removed as new footer has a feedback link also going to Survey monkey
The /get-help page removed as the new footer has a phone number for application support
Useful info in these projects that have also implemented the new header/footer:
CVL
DPS