INTL1207 - Add content-toggle block for A/B test campaign - #6451
Conversation
|
Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch.
Commits
|
|
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. |
3e43ba8 to
82eda11
Compare
|
@elindseth Here is a code review from Claude: |
|
@elindseth https://main--da-cc--adobecom.aem.page/uk/products/premiere?milolibs=intl1207-content-toggle&mep=%2Fuk%2Fcc-shared%2Ffragments%2Froc%2Fmep%2Fproducts%2Fpremiere%2Froc-premiere.json--default---%2Fproducts%2Fpremiere.json--phone---%2Fcc-shared%2Ffragments%2Fpromos%2F2026%2Fglobal%2Ffirefly-crosslinking-banner.json--default---%2Fcc-shared%2Ffragments%2Fpromos%2F2026%2Fglobal%2Ffooter-de-kr%2Fseparate-de.json--default---%2Fcc-shared%2Ffragments%2Fpromos%2F2026%2Fglobal%2Ffooter-de-kr%2Fseparate-kr.json--default |
|
Note: I don't expect you to act on all of the suggestions from Claude. There are no blockers, so I consider all of the other suggestions optional. |
@jpratt2 There is an expectation that it starts in desktop for this test campaign. That is how I've parsed the charter anyway. There is a config option to make it default to the second toggle option, but nothing that makes it detect the device. That might be the more logical behaviour, and a good enhancement if this test wins. The block was initially written for Express vs CC so I didn't consider baking in any such mobile enhancements. Maybe I should have. :) |
b1bb603 to
469b507
Compare
469b507 to
d3b8e7a
Compare
d3b8e7a to
03af68e
Compare
8abeb0e to
fca767a
Compare
6b9bf55 to
e6986c6
Compare
634e11e to
b468b75
Compare
seprakas
left a comment
There was a problem hiding this comment.
Approved!
I see the toggle working fine with the preview link.
b468b75 to
9172632
Compare
9172632 to
0b79779
Compare
* origin/stage: (33 commits) INTL1207 - Add content-toggle block for A/B test campaign (#6451) Add a guard in decorateAutoBlock for merch links (#6567) [MWPW-204859] - Apply forced-reflow fix to brand-concierge floating (#6510) [MWPW-204698] Remove manifest overline (#6496) [Milo][Martech] Remove performance consent check from analytics event sending (#6491) MWPW-203941: Update authoring pattern for bc marquee (#6490) MWPW-204795 [MEP] Remove RainFocus registration-data (event-id) path (#6483) [MWPW-204301] [Lingo] MEP replace/remove on mep-lingo fragments + regional replacement resolution (#6474) MWPW-202286 Separate mas field from merch card autoblock (#6463) [MWPW-203054] [MWPW-203055] - Additional Manifest and Page Summary fields. (#6446) MWPW-200965: Port email-collection block to C2 (#6441) [MWPW-205693]: Adding rtl change for languageselector (#6581) [MWPW-204596] Validate the fedsbranch query parameter in C2 global-navigation (#6497) [MWPW-199609] Harden sanitizeHtml URL scheme allowlist (#6475) MWPW-204984: Revert eager IMS load (#6511) (#6549) MWPW-204984 [MWPW-204913]: C2 persistent cart (#6522) fix for mc autoblock MWPW-204875: eagerly load ims up to date with main ... # Conflicts: # libs/blocks/merch-card-autoblock/merch-card-autoblock.js # libs/blocks/merch/merch.js # test/blocks/merch-card-autoblock/merch-card-autoblock.test.js
* origin/stage: (33 commits) INTL1207 - Add content-toggle block for A/B test campaign (#6451) Add a guard in decorateAutoBlock for merch links (#6567) [MWPW-204859] - Apply forced-reflow fix to brand-concierge floating (#6510) [MWPW-204698] Remove manifest overline (#6496) [Milo][Martech] Remove performance consent check from analytics event sending (#6491) MWPW-203941: Update authoring pattern for bc marquee (#6490) MWPW-204795 [MEP] Remove RainFocus registration-data (event-id) path (#6483) [MWPW-204301] [Lingo] MEP replace/remove on mep-lingo fragments + regional replacement resolution (#6474) MWPW-202286 Separate mas field from merch card autoblock (#6463) [MWPW-203054] [MWPW-203055] - Additional Manifest and Page Summary fields. (#6446) MWPW-200965: Port email-collection block to C2 (#6441) [MWPW-205693]: Adding rtl change for languageselector (#6581) [MWPW-204596] Validate the fedsbranch query parameter in C2 global-navigation (#6497) [MWPW-199609] Harden sanitizeHtml URL scheme allowlist (#6475) MWPW-204984: Revert eager IMS load (#6511) (#6549) MWPW-204984 [MWPW-204913]: C2 persistent cart (#6522) fix for mc autoblock MWPW-204875: eagerly load ims up to date with main ... # Conflicts: # libs/blocks/merch-card-autoblock/merch-card-autoblock.js # libs/blocks/merch/merch.js # test/blocks/merch-card-autoblock/merch-card-autoblock.test.js


This PR adds new functionality to the content-toggle block that has previously been tested.
New functionality:
Resolves: OPT-42221
Test URLs: