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

MWPW-154209 - [hero-marquee] bugs #2727

Merged
merged 10 commits into from
Sep 2, 2024
Merged

MWPW-154209 - [hero-marquee] bugs #2727

merged 10 commits into from
Sep 2, 2024

Conversation

ryanmparrish
Copy link
Contributor

Fixed some bugs in the hero-marquee that were found in GPW user testing. These changes address the following.

  1. Row type and button variants on con-block rows should style the elements. They are not. ex con-block-row-text (s-body, xl-button, xxxl-heading)
  2. :icons: in the main content area not rendering.
  3. Update lockup styles from incoming globals.
  4. When background image is smaller than 1199px, the image should be forced to display at 100% in tablet view.
  5. When CTA is the ONLY element placed in "con block row text," margin top should be removed.
  6. Video elements not displaying for mobile or tablet when authored w/ bg-bottom-mobile, bg-top-tablet variants.

Resolves: MWPW-154209

Test URLs:

Prod URLs:

Copy link
Contributor

aem-code-sync bot commented Aug 12, 2024

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run PSI checks
  • Re-sync branch
Commits

@ryanmparrish ryanmparrish requested a review from a team August 12, 2024 18:48
@ryanmparrish ryanmparrish added the needs-verification PR requires E2E testing by a reviewer label Aug 12, 2024
Copy link

codecov bot commented Aug 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.91%. Comparing base (60cb005) to head (9bff24f).
Report is 49 commits behind head on stage.

Additional details and impacted files
@@            Coverage Diff             @@
##            stage    #2727      +/-   ##
==========================================
+ Coverage   95.75%   95.91%   +0.15%     
==========================================
  Files         173      173              
  Lines       45733    45874     +141     
==========================================
+ Hits        43791    43998     +207     
+ Misses       1942     1876      -66     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@colloyd colloyd left a comment

Choose a reason for hiding this comment

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

@ryanmparrish Looks good, though I noticed in the example for cta as the only element, that the gap between the buttons seems to have been lost - was that on purpose?

@ryanmparrish
Copy link
Contributor Author

@colloyd - No, thats not intended. Good eye, I see whats going on and will get a fix in asap.

@aem-code-sync aem-code-sync bot temporarily deployed to rparrish/hero-bugz August 12, 2024 19:46 Inactive
@ryanmparrish
Copy link
Contributor Author

ryanmparrish commented Aug 12, 2024

@colloyd Ok, I addressed that - For those interested in the what/why... I check for rows w/ out <p> tags (minimal content) and wrap them in a <p> so they all get decorated the same and can applyTextOverrides. This should happen before decorating the buttons.

Copy link
Contributor

@colloyd colloyd left a comment

Choose a reason for hiding this comment

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

Looks good now.

@ryanmparrish ryanmparrish requested a review from a team August 12, 2024 19:52
Copy link
Contributor

@overmyheadandbody overmyheadandbody left a comment

Choose a reason for hiding this comment

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

I think this can lead to some Kodiak alerts, can we use another strategy?

libs/blocks/hero-marquee/hero-marquee.js Outdated Show resolved Hide resolved
libs/blocks/hero-marquee/hero-marquee.js Outdated Show resolved Hide resolved
@aem-code-sync aem-code-sync bot temporarily deployed to rparrish/hero-bugz August 20, 2024 21:37 Inactive
@ryanmparrish
Copy link
Contributor Author

@overmyheadandbody - I made a few adjustments from your feedback. Thanks for the look and LMK if you have anything else.

Copy link
Contributor

@overmyheadandbody overmyheadandbody left a comment

Choose a reason for hiding this comment

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

Thanks for addressing those!

libs/blocks/hero-marquee/hero-marquee.js Outdated Show resolved Hide resolved
@aem-code-sync aem-code-sync bot temporarily deployed to rparrish/hero-bugz August 21, 2024 22:03 Inactive
@ryanmparrish ryanmparrish added the do not merge PR should not be merged yet label Aug 21, 2024
@ryanmparrish
Copy link
Contributor Author

ryanmparrish commented Aug 21, 2024

FYI, i was doing some testing w/ GWP and found one issue im addressing now. When a row-lockup type is used it doesn't fetch the required iconography.css. Ill get an update asap and remove the do-not-merge label. Thanks

https://rparrish-hero-bugz--milo--adobecom.hlx.page/drafts/rparrish/marquee/hero-lockup-row
vs
https://rparrish-hero-bugz--milo--adobecom.hlx.page/drafts/rparrish/marquee/hero-lockup-copy

@aem-code-sync aem-code-sync bot temporarily deployed to rparrish/hero-bugz August 21, 2024 22:36 Inactive
@ryanmparrish
Copy link
Contributor Author

FYI - This ^ has been addressed. Carry on

@ryanmparrish ryanmparrish removed needs-verification PR requires E2E testing by a reviewer do not merge PR should not be merged yet labels Aug 21, 2024
@ryanmparrish ryanmparrish added the needs-verification PR requires E2E testing by a reviewer label Aug 21, 2024
@ryanmparrish ryanmparrish requested review from elan-tbx and a team August 21, 2024 22:43
Copy link
Contributor

This PR is currently in the needs-verification state. Please assign a QA engineer to verify the changes.

@NadiiaSokolova NadiiaSokolova self-assigned this Aug 22, 2024
libs/blocks/hero-marquee/hero-marquee.js Outdated Show resolved Hide resolved
@NadiiaSokolova
Copy link

Verified. Ready for Stage.
Testing details https://jira.corp.adobe.com/browse/MWPW-154209

@milo-pr-merge milo-pr-merge bot merged commit 3551ffd into stage Sep 2, 2024
16 checks passed
@milo-pr-merge milo-pr-merge bot deleted the rparrish/hero-bugz branch September 2, 2024 08:17
@milo-pr-merge milo-pr-merge bot mentioned this pull request Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-verification PR requires E2E testing by a reviewer Ready for Stage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants