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-150557 - Split Marquee CLS issues on consuming sites #2636

Merged
merged 27 commits into from
Jul 29, 2024

Conversation

ryanmparrish
Copy link
Contributor

This addresses an issue where we are seeing CLS Cumulative Layout Shift issue when using a marquee (split) in milo consuming sites like CC, DC, bacom and news.
However when using the same block in milo share-point there is no CLS.
This is intermittent although maximum time seeing the CLS issue.

Resolves: MWPW-150557

Test URLs:
Testing Links...

Milo
Before Test Page: https://main--milo--adobecom.hlx.page/drafts/ruchika/marquee/split-marquee

After Test Page: https://rparrish-marquee-cls-fix--milo--adobecom.hlx.page/drafts/ruchika/marquee/split-marquee

Performance: Before | After Same

CC
Test Page: https://main-cc-adobecom.hlx.live/drafts/ruchika/marquee/split-marquee?milolibs=rparrish-marquee-cls-fix
Performance: Before | After - improved - no CLS

DC
Test Page: https://main-dc-adobecom.hlx.live/drafts/ruchika/marquee/split-marquee?milolibs=rparrish-marquee-cls-fix

Performance: Before | After - - Same

Bacom
Test Page: https://main-bacom-adobecom.hlx.live/drafts/ruchika/marquee/split-marquee?milolibs=rparrish-marquee-cls-fix

Performance: Before | After - - Same

Getting CLS consistently though if using svg icon for icon area
Test Page: https://main-bacom-adobecom.hlx.live/drafts/ruchika/document2?milolibs=rparrish-marquee-cls-fix

Performance: Before | After - - Same

News
Test Page: https://main-news-adobecom.hlx.live/drafts/ruchika/marquee/split-marquee?milolibs=rparrish-marquee-cls-fix
Performance: Before | After - improved - no CLS

Regression Testing
https://rparrish-marquee-cls-fix–milo–adobecom.hlx.page/docs/library/blocks/marquee

Checks out

Copy link
Contributor

aem-code-sync bot commented Jul 25, 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

Copy link
Contributor

aem-code-sync bot commented Jul 25, 2024

Page Scores Audits Google
/drafts/ruchika/marquee/split-marquee PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

@ryanmparrish ryanmparrish requested review from a team and elan-tbx July 25, 2024 22:42
@ryanmparrish ryanmparrish added bug Something isn't working needs-verification PR requires E2E testing by a reviewer labels Jul 25, 2024
Copy link

codecov bot commented Jul 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.70%. Comparing base (c0395ae) to head (4e09c63).
Report is 4 commits behind head on stage.

Additional details and impacted files
@@           Coverage Diff           @@
##            stage    #2636   +/-   ##
=======================================
  Coverage   95.69%   95.70%           
=======================================
  Files         172      172           
  Lines       45359    45362    +3     
=======================================
+ Hits        43406    43413    +7     
+ Misses       1953     1949    -4     

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

Copy link
Contributor

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

@SilviuLCF SilviuLCF added verified PR has been E2E tested by a reviewer Ready for Stage and removed needs-verification PR requires E2E testing by a reviewer bug Something isn't working labels Jul 29, 2024
@SilviuLCF SilviuLCF self-requested a review July 29, 2024 07:29
Copy link

@SilviuLCF SilviuLCF left a comment

Choose a reason for hiding this comment

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

@milo-pr-merge milo-pr-merge bot merged commit 0ff20f7 into stage Jul 29, 2024
29 checks passed
@milo-pr-merge milo-pr-merge bot deleted the rparrish/marquee-cls-fix branch July 29, 2024 08:22
@milo-pr-merge milo-pr-merge bot mentioned this pull request Jul 29, 2024
rohitsahu pushed a commit to rohitsahu/milo that referenced this pull request Jul 29, 2024
* stage:
  MWPW-150557 - Split Marquee CLS issues on consuming sites (adobecom#2636)
  Mwpw 147034: Custom border color + badge/border color decoupling [merch card] (adobecom#2613)
  [MWPW-151517] - Remove condition for promobar hidden on mobile from gnav (adobecom#2538)

# Conflicts:
#	libs/deps/merch-card.js
rohitsahu pushed a commit to rohitsahu/milo that referenced this pull request Jul 30, 2024
* stage:
  [MWPW-153611] [Gray Box] environment aware links (adobecom#2622)
  MWPW-153580: Add Opt-In Feature for CaaS Badge Display (adobecom#2625)
  [MWPW-154335] [callout] Spacing issue encountered when the call-out section is added (adobecom#2628)
  MWPW-150557 - Split Marquee CLS issues on consuming sites (adobecom#2636)
  Mwpw 147034: Custom border color + badge/border color decoupling [merch card] (adobecom#2613)
  [MWPW-151517] - Remove condition for promobar hidden on mobile from gnav (adobecom#2538)
  MWPW-154998 [MEP][MILO] Manifests do not execute in the right order when there is a disabled manifest (adobecom#2632)
  mwpw-154965: Fetch federal stage content from hlx.page instead of stage.adobe.com (adobecom#2618)
  Correct error messages for duplicate files on the stage to main workflow (adobecom#2621)
  MWPW-153245 [merch][analytics] dispatch wcomp events, and let default lh (adobecom#2610)
  Revert "MWPW-146528[MILO][MEP][ANALYTICS] Add attribute to content changed by Target for analytics and MWPW-152274" (adobecom#2627)
  MWPW-128600 Locale Tool: Langstore points to langstore/en (adobecom#2615)
  Fix for errors in dynamically loaded scripts in test cases (adobecom#2619)
  MWPW-146528[MILO][MEP][ANALYTICS] Add attribute to content changed by Target for analytics and MWPW-152274 (adobecom#2593)
  Bootstrapper script for milo feds blocks (adobecom#2560)
  Revert "[MWPW-152968] mWeb - Passing ECID to Branch.io banner - Implementation" (adobecom#2612)

# Conflicts:
#	libs/deps/merch-card.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready for Stage verified PR has been E2E tested by a reviewer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants