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-158473: CCD Suggested Card [Merch card] #2927

Open
wants to merge 6 commits into
base: stage
Choose a base branch
from
Open

Conversation

Axelcureno
Copy link
Member

Introduces Creative Cloud Desktop 'Suggested' Card to the list of web components as part of M@S v2 initiative.

Screenshot 2024-09-19 at 3 46 30 PM

Notes:
This card is not part of Milo block library and is part of a CCD integration.
To test this card, run npm run test from web-components folder and select debug, then select the option test/merch-card.ccd-suggested.test.html to see the 3 variations (top to bottom of screenshot): standard, wide strip background and small strip background.

Resolves: MWPW-158473

Test URLs:

Before: https://main--milo--adobecom.hlx.page/?martech=off
After: https://mwpw-158053--milo--adobecom.hlx.page/?martech=off

@Axelcureno Axelcureno added commerce needs-verification PR requires E2E testing by a reviewer merch card labels Sep 19, 2024
@Axelcureno Axelcureno self-assigned this Sep 19, 2024
@Axelcureno Axelcureno requested a review from a team as a code owner September 19, 2024 22:47
Copy link
Contributor

aem-code-sync bot commented Sep 19, 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

Choose a reason for hiding this comment

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

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link

codecov bot commented Sep 19, 2024

Codecov Report

Attention: Patch coverage is 99.39024% with 1 line in your changes missing coverage. Please review.

Project coverage is 96.24%. Comparing base (840e037) to head (329be3a).
Report is 20 commits behind head on stage.

Files with missing lines Patch % Lines
.../mas/web-components/src/variants/variant-layout.js 96.42% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##            stage    #2927      +/-   ##
==========================================
+ Coverage   96.23%   96.24%   +0.01%     
==========================================
  Files         237      238       +1     
  Lines       54242    54442     +200     
==========================================
+ Hits        52198    52400     +202     
+ Misses       2044     2042       -2     

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

Copy link
Contributor

This pull request is not passing all required checks. Please see this discussion for information on how to get all checks passing. Inconsistent checks can be manually retried. If a test absolutely can not pass for a good reason, please add a comment with an explanation to the PR.

Copy link
Contributor

@npeltier npeltier left a comment

Choose a reason for hiding this comment

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

more or less same comments as i did for the other PR ;)

Comment on lines +7 to +31

merch-card[variant="ccd-suggested"] [slot='detail-m'] {
color: var(--merch-color-grey-60);
}

merch-card[variant="ccd-suggested"] [slot='icons'] {
flex-flow: wrap;
place-self: flex-start;
}

merch-card[variant="ccd-suggested"] [slot='heading-xs'] {
font-size: var(--consonant-merch-card-heading-xxs-font-size);
line-height: var(--consonant-merch-card-heading-xxs-line-height);

}

merch-card[variant="ccd-suggested"] [slot='price'] {
display: flex;
align-items: center;
}

merch-card[variant="ccd-suggested"] [slot='cta'] {
display: flex;
align-items: center;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

pls move shadow dom styling to variantStyles

Comment on lines +6 to +9
constructor(card) {
super(card);
}

Copy link
Contributor

Choose a reason for hiding this comment

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

please remove

Copy link
Contributor

Choose a reason for hiding this comment

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

please remove and use one pixel image from the other PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
commerce merch card needs-verification PR requires E2E testing by a reviewer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants