-
Notifications
You must be signed in to change notification settings - Fork 2
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
SFR-2154: Implement general error page designs #523
SFR-2154: Implement general error page designs #523
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
src/__tests__/testUtils/render.tsx
Outdated
import { render, RenderOptions } from "@testing-library/react"; | ||
import { ReactElement } from "react"; | ||
import { FeatureFlagProvider } from "~/src/context/FeatureFlagContext"; | ||
import { FeedbackProvider } from "~/src/context/FeedbackContext"; | ||
|
||
const AllTheProviders = ({ children }) => { |
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.
Would Providers as a name work here?
400: { | ||
overline: "error 500", | ||
heading: "There was an unexpected error.", | ||
subText: "We couldn't process your request at this time. ", | ||
tryText: "Try refreshing the page or ", | ||
}, |
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.
Hmm 400 means that the request input was invalid. Should we reflect that accordingly in the text?
Overall, looks good! Just a few minor questions and comments. One thing that I have found helpful in the past when implementing the designs is to link to the Figma directly in the PR description. What is also good is to take screenshots of the different stages/pages. This is helpful for the reviewer to just help spot check between the designs and what is implemented. |
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.
Nice work!
Jira Ticket
Figma Designs
This PR does the following:
Testing requirements & instructions: