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-160719] - Support media only in Editorial-Card #3144

Merged
merged 4 commits into from
Nov 7, 2024

Conversation

saugatmalla
Copy link
Contributor

@saugatmalla saugatmalla commented Nov 5, 2024

This PR will add support to have only media in Editorial card. When there is no copy content in the editorial-card, the media will fill the container.

Resolves: MWPW-160719

Test URLs:

@saugatmalla saugatmalla requested a review from a team November 5, 2024 20:23
Copy link
Contributor

aem-code-sync bot commented Nov 5, 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 Nov 5, 2024

Copy link

codecov bot commented Nov 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.35%. Comparing base (fa39a05) to head (f5516d4).
Report is 29 commits behind head on stage.

Additional details and impacted files
@@           Coverage Diff           @@
##            stage    #3144   +/-   ##
=======================================
  Coverage   96.34%   96.35%           
=======================================
  Files         245      245           
  Lines       56312    56380   +68     
=======================================
+ Hits        54252    54323   +71     
+ Misses       2060     2057    -3     

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

@rgclayton rgclayton requested review from Sartxi and elan-tbx November 6, 2024 00:00
Comment on lines +47 to +48
const editorialCardWithMediaOnly = editorialCards[8];
expect(editorialCardWithMediaOnly.classList.contains('no-foreground')).to.be.true;
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: no need to cache in here

Suggested change
const editorialCardWithMediaOnly = editorialCards[8];
expect(editorialCardWithMediaOnly.classList.contains('no-foreground')).to.be.true;
expect(editorialCards[8].classList.contains('no-foreground')).to.be.true;

Copy link
Contributor

github-actions bot commented Nov 7, 2024

Reminder to set the Ready for Stage label - to queue this to get merged to stage & production.

@SilviuLCF SilviuLCF self-requested a review November 7, 2024 08:06
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 a7f61d1 into stage Nov 7, 2024
20 checks passed
@milo-pr-merge milo-pr-merge bot deleted the smalla/editorial-card-media-card branch November 7, 2024 18:45
@milo-pr-merge milo-pr-merge bot mentioned this pull request Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants