-
Notifications
You must be signed in to change notification settings - Fork 237
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
Improve the design of the error screen #2183
Conversation
dc54d5f
to
b960a9b
Compare
84e740c
to
9239fea
Compare
lib/assets/sass/prototype.scss
Outdated
|
||
.govuk-prototype-kit-error-page-header { | ||
.govuk-header__container { | ||
border-color: #d4351c; |
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.
This is in govuk-frontend
as red
(https://github.com/alphagov/govuk-frontend/blob/839adc06ad36aeb1a982d8fd778b39c3c1ee2bae/packages/govuk-frontend/src/govuk/settings/_colours-palette.scss#L18) I think we should be using that if we can in this context.
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.
I'll have a look
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.
Now uses the govuk-colour("red") macro
found an unhandled error in a view: 'Error: Unable to call
results in a blank code block, and this for File:
|
need to do a couple of design/accessibility tweaks, coming soon... |
55ab915
to
7be392b
Compare
Will now report this error best it can |
7be392b
to
a2d7ea6
Compare
CHANGELOG.md
Outdated
@@ -6,6 +6,8 @@ | |||
|
|||
- [#2164: Get live reloading working with the error screen](https://github.com/alphagov/govuk-prototype-kit/pull/2164) | |||
|
|||
- [#2019: Improve the design of the error screen](https://github.com/alphagov/govuk-prototype-kit/pull/2019) |
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.
You've used the ticket number not the PR number. should be 2183
.
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.
I'll fix
I want to have a closer look at the regexes but other than that I'm happy with it. |
I did say I needed to make accessibility fixes to this. Will make them as a new PR |
@joelanman I'm assuming this shouldn't be released until they're done? |
See: Improve the design of errors