-
Notifications
You must be signed in to change notification settings - Fork 89
Replace infrastructure scanner error page with ErrorPage component #7338
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
Replace infrastructure scanner error page with ErrorPage component #7338
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
c6f0efc to
a4aeaad
Compare
970a2cb to
c2ddebd
Compare
Greptile OverviewGreptile Summary
Confidence Score: 3/5
Important Files Changed
|
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.
9 files reviewed, 1 comment
|
@greptile |
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.
4 files reviewed, 1 comment
Additional Comments (1)
|
|
@greptile |
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.
4 files reviewed, 1 comment
|
@greptile |
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.
9 files reviewed, 4 comments
Additional Comments (1)
This effect will run any time Avoid depending on an unstable |
speaker-ender
left a comment
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.
Approving because it seems to function as intended.
I do have a concern about some of the logic as noted in my comment.
2982870 to
b9f08d1
Compare
Ticket ENG-2533
Description Of Changes
Replace the Chakra-based
ScannerErrorcomponent with the shared Ant DesignErrorPagecomponent across all infrastructure scanner forms. Migrate layout from Chakra (Stack,Box,HStack,Text) to Ant (Flex,Typography) and update toast notifications fromuseChakraToasttouseMessage.Code Changes
fullScreenprop toErrorPageto support inline (non-full-screen) usageErrorPageerror prop to acceptParsedErrorin addition to RTK error types, with anisParsedErrortype guarddefaultMessagehandling so it takes priority overerror.messageforParsedErrorwhen explicitly providedScannerErrorwithErrorPageinAuthenticateAwsForm,AuthenticateOktaForm, andLoadDataFlowScannerAuthenticateAwsFormLoadDataFlowScannerfromuseChakraToasttouseMessageisRequiredto Okta form fields that were missing itconstants.tsxScannerError.tsxSteps to Confirm
Pre-Merge Checklist
CHANGELOG.mdupdated