-
Notifications
You must be signed in to change notification settings - Fork 266
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
Update design of error page for page / resource not found #2262
Conversation
69c56c8
to
da57a4e
Compare
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
Just one microscopic nit
Add a new component which can be used as an error page in case the user attempts to access a page / resource to which they do not have access or which does not exist. Use the robocat image instead of the Carbon error notification component, and provide links to commonly accessed pages as suggestions for next steps instead of leaving the user on an error page with no actions. Enable this new design for users attempting to access 'Import Resources' and 'Create' pages when the Dashboard is deployed in read-only mode, and as the fallback URL when an unknown path is found. This will be used more broadly in future with user permissions etc.
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: briangleeson The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Changes
Resolves #2244
Add a new component which can be used as an error page in case the user
attempts to access a page / resource to which they do not have access or
which does not exist.
Use the robocat image instead of the Carbon error notification component,
and provide links to commonly accessed pages as suggestions for next steps
instead of leaving the user on an error page with no actions.
Enable this new design for users attempting to access 'Import Resources'
and 'Create' pages when the Dashboard is deployed in read-only mode, and
as the fallback URL when an unknown path is found.
This will be used more broadly in future with user permissions etc.
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide
for more details.