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
chore(BackgroundImage/AboutModal): updated usage of bg image #8931
Conversation
Preview: https://patternfly-react-pr-8931.surge.sh A11y report: https://patternfly-react-pr-8931-a11y.surge.sh |
@@ -59,7 +61,10 @@ export const AboutModal: React.FunctionComponent<AboutModalProps> = ({ | |||
}: AboutModalProps) => { | |||
if (brandImageSrc && !brandImageAlt) { | |||
// eslint-disable-next-line no-console | |||
console.error('AboutModal:', 'brandImageAlt is required when a brandImageSrc is specified, and should not be an empty string.'); | |||
console.error( |
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.
🎉
Yes please. |
Unless |
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.
Looks good other than removing the Hero
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.
Looks good to me. Thanks @thatblindgeye !
64deddc
to
9cb4714
Compare
@tlabaj made the above updates and also created codemod issues for changes made here. |
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
I don't think so @srambach . If you look in my PR that fixes the icons, it looks the same as in this PR. |
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.
I don't actually think the icon is related, this looks fine.
Your changes have been released in:
Thanks for your contribution! 🎉 |
What: Closes #8452
@srambach @tlabaj for AboutModal, the class for the AboutModalBoxHero (
.pf-c-about-modal-box__hero
) was removed in Core documentation, but still remains in the scss. Would it make sense to remove that sub-component entirely here? There may be a Core followup needed as there is still a CSS var in the scss file that isn't really being used now it seems (--pf-c-about-modal-box__hero--sm--BackgroundImage
)Also Titani, since I'm making updates in LoginPage, would you want me to close out #7867 as well (removing the
backgroundImgAlt
prop)?Additional issues: