-
Notifications
You must be signed in to change notification settings - Fork 13k
feat: Added imgAlt, imgWidth and imgHeight props to GenericUpsellModal #36333
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
Conversation
|
Looks like this PR is not ready to merge, because of the following issues:
Please fix the issues and try again If you have any trouble, please check the PR guidelines |
🦋 Changeset detectedLatest commit: 06966b4 The changes in this PR will be included in the next version bump. This PR includes changesets to release 36 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #36333 +/- ##
===========================================
+ Coverage 64.75% 64.78% +0.03%
===========================================
Files 3156 3156
Lines 104879 104916 +37
Branches 19956 19962 +6
===========================================
+ Hits 67915 67971 +56
+ Misses 34284 34262 -22
- Partials 2680 2683 +3
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
0dc2e33 to
a9fb723
Compare
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.
what do you think about some snapshot and a11y tests, for these stories?
dougfabris
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.
since GenericUpsellModal is an extension of GenericModal I have a feeling that these tests regarding events (onClose, onCancel, onConfirm) should be GenericModal tests, don't you?
@dougfabris Funny enough, it currently does not use the |
9ed106b to
a8234f2
Compare
a8234f2 to
0faf9f8
Compare
dougfabris
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.
LGTM!
dougfabris
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.
just missing the changeset
Proposed changes (including videos or screenshots)
This PR delivers improvements to the
GenericUpsellModalcomponents, the changes are:imgAlt,imgWidth, andimgHeightoptional props to theGenericUpsellModalfor improved image accessibility and flexibility.GenericUpsellModal.Issue(s)
CTZ-199
Steps to test or reproduce
I believe the easiest way to test these changes is by running our storybook
yarn storybookand searching forGenericUpsellModal.Further comments