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-157864 [Catalog] Localise external modals #3277

Merged
merged 7 commits into from
Dec 11, 2024

Conversation

bozojovicic
Copy link
Contributor

Copy link
Contributor

aem-code-sync bot commented Nov 28, 2024

Page Scores Audits Google
📱 /drafts/bozo/price-cta?martech=off PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
🖥️ /drafts/bozo/price-cta?martech=off PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

Copy link

codecov bot commented Nov 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.44%. Comparing base (00c690b) to head (0b71a50).
Report is 8 commits behind head on stage.

Additional details and impacted files
@@           Coverage Diff           @@
##            stage    #3277   +/-   ##
=======================================
  Coverage   96.43%   96.44%           
=======================================
  Files         253      253           
  Lines       58761    58769    +8     
=======================================
+ Hits        56669    56680   +11     
+ Misses       2092     2089    -3     

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

libs/blocks/merch/merch.js Fixed Show fixed Hide fixed
libs/blocks/merch/merch.js Fixed Show fixed Hide fixed
@bozojovicic bozojovicic marked this pull request as ready for review November 28, 2024 13:28
@bozojovicic bozojovicic requested a review from a team as a code owner November 28, 2024 13:28
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.

@@ -529,7 +537,7 @@ export async function getModalAction(offers, options, el) {
const hash = setCtaHash(el, checkoutLinkConfig, offerType);
let url = checkoutLinkConfig[columnName];
if (!url) return undefined;
url = isInternalModal(url)
url = isInternalModal(url) || isProdModal(url)
Copy link
Contributor

Choose a reason for hiding this comment

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

not your code but i would rather go with
url = isInternalModal(url) || isProdModal(url) ? localizeLink(url) : url
or
if (isInternalModal(url) || isProdModal(url)) url =localizeLink(url);

@afmicka afmicka added verified PR has been E2E tested by a reviewer Ready for Stage labels Dec 11, 2024
@milo-pr-merge milo-pr-merge bot merged commit b49d012 into adobecom:stage Dec 11, 2024
24 checks passed
nishantka pushed a commit to nishantka/milo that referenced this pull request Dec 13, 2024
* MWPW-157864 [Catalog] Localise external modals

* MWPW-157864 [Catalog] Localise external modals

* MWPW-157864 [Catalog] Localise external modals

* Trigger Build

---------

Co-authored-by: Bozo Jovicic <bozo@hitthecode.com>
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