-
Notifications
You must be signed in to change notification settings - Fork 157
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
Mwpw 142003: Mini Compare Chart card fixes #2093
Conversation
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## stage #2093 +/- ##
==========================================
- Coverage 96.63% 96.45% -0.18%
==========================================
Files 165 166 +1
Lines 43523 43466 -57
==========================================
- Hits 42058 41926 -132
- Misses 1465 1540 +75 ☔ View full report in Codecov by Sentry. |
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 am requesting changes since I have identified a couple of issues:
- all browsers - you cannot tab anymore through clickable elements in the card
- safari and firefox - in the 3rd card, there's a small overlapping between "Save 19% ($US7.99/mo) for the first year if you buy now" and "Secure transaction"
- all browsers - mobile view is broken, the cards don't adjust width; the same issue is visible in the before link though.
@narcis-radu thanks for the review, I have addressed the mentioned issues. The Test URL from my fork will not reflect the actual changes (alignment inside cards) because prices fail in milo-forked URLs. To see the changes with prices displaying properly please see https://main--cc--adobecom.hlx.page/drafts/axel/mini-compare-chart-edgecase?milolibs=MWPW-142003--milo--axelcureno |
@@ -25,6 +25,7 @@ function createDynamicSlots(el, bodySlot) { | |||
const descriptionSlot = el.querySelector('p[slot="description"]'); | |||
if (descriptionSlot) { | |||
descriptionSlot.innerHTML += description.innerHTML; | |||
description.parentNode.removeChild(description); |
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.
description.remove();
should do it as well.
@Axelcureno - I still cannot tab through items when I use your feature branch. The #1 item from my initial feedback is still problematic. |
@narcis-radu I forgot to mention, this is fixed in a separate ticket: #2078 |
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.
@Axelcureno
1)On mobile version the pricing text is "per" is broken in next line
https://main--cc--adobecom.hlx.page/creativecloud?milolibs=MWPW-142003--milo--axelcureno
- Regarding CTA alignment its different in different page, which on'es correct?
https://main--cc--adobecom.hlx.page/creativecloud?milolibs=MWPW-142003--milo--axelcureno
![image](https://private-user-images.githubusercontent.com/104928176/320668531-3fa0e481-cfe9-4fcd-a994-4b14b65e1bdd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA1MjQyNTAsIm5iZiI6MTcyMDUyMzk1MCwicGF0aCI6Ii8xMDQ5MjgxNzYvMzIwNjY4NTMxLTNmYTBlNDgxLWNmZTktNGZjZC1hOTk0LTRiMTRiNjVlMWJkZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzA5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcwOVQxMTE5MTBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05Yjc4OGNlMzgzMjZmYTJlZjMyNTcxMWNlNjYwN2FiMTU5NTBiZjIzOWMzZjMyYjQwMTY2ZGFhMzU1Njk3NjRjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.DKjwWO8yFdvjxeKlAj1869LKmsySQ8lZp9XxDwt6x1I)
![image](https://private-user-images.githubusercontent.com/104928176/320668734-314fa511-6cc0-4f31-b25a-6ddf5dee7efb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZX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wJnJlcG9faWQ9MCJ9.gcR0k7Sq_U81VHco8IzoNbXwbj-hRoRe15YDR8zm6do)
I have addressed the mentioned comments @Roycethan, please check: |
Thanks @Axelcureno 1,2,3 are fixed now |
Also observed one weird issue with quantity selector here: https://main--dc--adobecom.hlx.page/acrobat/features?milolibs=MWPW-142003--milo--axelcureno fyi @afmicka |
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.
@Axelcureno Plz check 4 above
Thanks @Roycethan . Quantity selector issue is not related to this card but to the component itself. Will follow up offline to get browser details from your testing. Regarding issue #4, strikethrough should be in normal font weight and smaller font size as per Consonant XD: |
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.
Issue mentioned above related to this PR are fixed, for few created separate tickets since they are not related to this PR and exist in main. Few other issues noted while doing regressions are also fixed. Marking as verified since this urgent request and continue testing, and if theres anything comes up will create separate ticket.
@Axelcureno cc @afmicka
Fixes multiple Mini Compare Chart card alignment and spacing issues. Resolves: MWPW-142003 Note: Alignment across cards will show broken in test URL because prices are not resolved due to CORS policy. To properly test alignment, please use this URL: https://main--cc--adobecom.hlx.page/drafts/axel/mini-compare-chart-edgecase?milolibs=MWPW-142003--milo--axelcureno Test URLs: Before: https://main--milo--axelcureno.hlx.page/drafts/axel/mini-compare-chart?martech=off After: https://mwpw-142003--milo--axelcureno.hlx.page/drafts/axel/mini-compare-chart?martech=off Co-Authored-By: ilyas Stéphane Türkben <isturkben@gmail.com>
This PR has changes requested from @narcis-radu - this cant be merged with changes requested and thus isn't ready for stage. |
@narcis-radu as per our requirements, tab click is to navigate within inner clickable elements of a merch card and arrow keys to navigate between cards. You may check this functionality in the test URL. |
As confirmed by PdMs, the requested changes by @narcis-radu are not in accord with our requirements, hence adding Ready for Stage label. For any questions, please reach out to April Burness, Lucy Sogard or Nick Lam. |
Hi @Axelcureno |
The requested changes are not in accordance with our business requirements.
Thank you @drashti1712, I have retriggered and it is now passing all checks :) |
* stage: MWPW-146999: kodiak CVE 25883 (adobecom#2183) MWPW-144549 CTA alignment for Text, Icon, and Media Blocks (adobecom#2098) MWPW-146494-keep gnav sticky when branch banner is displayed (adobecom#2175) MWPW-135821 introduce mep custom action & use it for card collection (adobecom#2152) MWPW-146129 [Original: adobecom#2123] App Launcher overlaps the menu in Unav in the devices (adobecom#2184) Revert "MWPW-146129 App Launcher overlaps the menu in Unav in the devices" (adobecom#2182) MWPW-146129 App Launcher overlaps the menu in Unav in the devices (adobecom#2123) MWPW-139842 [Revert] Fill button style (adobecom#2181) Mwpw 142003: Mini Compare Chart card fixes (adobecom#2093) MWPW-146756] Add support for RTL in aside notifications, horizontal cards"" (adobecom#2178) Revert "[MWPW-146756] Add support for RTL in aside notifications, horizontal cards" (adobecom#2177) [MWPW-146756] Add support for RTL in aside notifications, horizontal cards (adobecom#2167) Revert "MWPW-142590 - [Share] enhancement - ability to edit text above icons" (adobecom#2172)
Fixes multiple Mini Compare Chart card alignment and spacing issues. Resolves: MWPW-142003 Note: Alignment across cards will show broken in test URL because prices are not resolved due to CORS policy. To properly test alignment, please use this URL: https://main--cc--adobecom.hlx.page/drafts/axel/mini-compare-chart-edgecase?milolibs=MWPW-142003--milo--axelcureno Test URLs: Before: https://main--milo--axelcureno.hlx.page/drafts/axel/mini-compare-chart?martech=off After: https://mwpw-142003--milo--axelcureno.hlx.page/drafts/axel/mini-compare-chart?martech=off Co-authored-by: ilyas Stéphane Türkben <isturkben@gmail.com>
Fixes multiple Mini Compare Chart card alignment and spacing issues. Resolves: MWPW-142003 Note: Alignment across cards will show broken in test URL because prices are not resolved due to CORS policy. To properly test alignment, please use this URL: https://main--cc--adobecom.hlx.page/drafts/axel/mini-compare-chart-edgecase?milolibs=MWPW-142003--milo--axelcureno Test URLs: Before: https://main--milo--axelcureno.hlx.page/drafts/axel/mini-compare-chart?martech=off After: https://mwpw-142003--milo--axelcureno.hlx.page/drafts/axel/mini-compare-chart?martech=off Co-authored-by: ilyas Stéphane Türkben <isturkben@gmail.com>
Fixes multiple Mini Compare Chart card alignment and spacing issues.
Resolves: MWPW-142003
Note: Alignment across cards will show broken in test URL because prices are not resolved due to CORS policy. To properly test alignment, please use this URL: https://main--cc--adobecom.hlx.page/drafts/axel/mini-compare-chart-edgecase?milolibs=MWPW-142003--milo--axelcureno
Test URLs: