Skip to content
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): InterventionModal Description component #15446

Merged
merged 11 commits into from
Jun 27, 2024

Conversation

sfoster1
Copy link
Member

@sfoster1 sfoster1 commented Jun 17, 2024

Implements the Description modal content component for ODD and Desktop.

Also updates InlineNotification to have corresponding desktop styles using the new StyledText, which means it doesn't have to be ODD only anymore so pop its stories over to App.

Note - can't be merged until #15373 is merged because it needs the StyledText fixes from there.

@sfoster1 sfoster1 requested a review from a team as a code owner June 17, 2024 21:18
@sfoster1 sfoster1 changed the title Exec 491 description component refactor(app): InterventionModal Description component Jun 17, 2024
Base automatically changed from exec-489-add-mixed-content to edge June 21, 2024 20:02
@sfoster1 sfoster1 force-pushed the EXEC-491-description-component branch from 0447dc6 to d92d5a7 Compare June 21, 2024 20:06
This is a component that will be used in error recovery.

Closes EXEC-491
It can be used on desktop too now, isn't that fancy

The br with display-none is a little gross, but it lets us keep the
horizontal style with text layout rules on ODD and have it on two lines
on desktop.
@sfoster1 sfoster1 force-pushed the EXEC-491-description-component branch from d92d5a7 to b449094 Compare June 21, 2024 20:12
)}
{onCloseClick && (
<Btn
data-testid="InlineNotification_close-button"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for what are we using this? just wondering why we have this arg

Copy link
Contributor

@TamarZanzouri TamarZanzouri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you for the in-person explanation

@sfoster1 sfoster1 merged commit d76782a into edge Jun 27, 2024
39 checks passed
@sfoster1 sfoster1 deleted the EXEC-491-description-component branch June 27, 2024 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants