-
Notifications
You must be signed in to change notification settings - Fork 178
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
refactor(app): add InterventionModal to Error Recovery #15277
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.
LGTM, nice!
import { getIsOnDevice } from '../../redux/config' | ||
|
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.
can you move this import before import type?
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.
Oh woops, I'll refactor this in my next PR 👍
{...HEADER_STYLE} | ||
backgroundColor={headerColor} | ||
justifyContent={headerJustifyContent} | ||
onClick={props.iconHeadingOnClick} |
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.
Can we destruct props
instead of using props.
?
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.
Sure, can add in my next PR. Sorry I didn't see these in time 👍
Closes EXEC-464
Overview
This PR adds the
InterventionModal
molecule to recovery flows.The
InterventionModal
molecule required light refactoring to meet new designs and to have proper height/width on the ODD. There will be a pop-up modal-within-modal that the ER Intervention modal will need to support, but that is a separate ticket. Only theonClick
functionality is added here.Screen.Recording.2024-05-29.at.9.21.38.AM.mov
Test Plan
Risk assessment
low