Skip to content

MWPW-195996: adds new icon and product name option#6213

Open
cmiqueo wants to merge 35 commits into
stagefrom
MWPW-195996
Open

MWPW-195996: adds new icon and product name option#6213
cmiqueo wants to merge 35 commits into
stagefrom
MWPW-195996

Conversation

@cmiqueo

@cmiqueo cmiqueo commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add Flex Card style to the CaaS configurator with sub-options for font size, image placement, text alignment, and toggles to hide details/title/description/footer
  • Move Custom Card HTML input into a nested group that only appears when the Custom Card style is selected, and add a Product Name details-text option (fetched via a new getProducts helper)
  • Restyle the nested option groups (blade/flex/custom) into a unified indented, dark, rounded panel and clean up obsolete CSS

Jira Ticket

Resolves: MWPW-195996

Changes

  • libs/blocks/caas-config/caas-config.js
    • Add flex-card to cardStyle options plus flexCardImageOptions, flexCardTextAlign, and flexCardTextSize option maps
    • Render flexCardOptions and customCardOptions nested panels conditionally on the selected card style
    • Move the customCard text input out of the always-on list into the conditional Custom Card panel
    • Add productName to the details-text options; minor label/ordering/quote cleanup
  • libs/blocks/caas-config/caas-config.css
    • Remove old .blade-card-options > div and .caas-config .nested rules
    • Add shared styling for .blade-card-options, .flex-card-options, and .nested (indented dark rounded panel, monospace text inputs)
  • libs/blocks/caas/utils.js
    • Add getProducts() helper (returns mnemonics tags, lana-logs on failure)
    • Build flexCard config block in getConfig when a flex-card option deviates from defaults
    • Fetch products when detailsTextOption === 'productName' and include in config
    • Add flex card defaults (flexCardTextAlign, flexCardTextSize, hide toggles, flexCardImageOptions) to defaultState

Test plan

  • In the CaaS configurator, select Flex Card and confirm the flex sub-options panel appears, is styled/indented, and updates the generated config only when options deviate from defaults
  • Select Custom Card and confirm the Custom Card HTML input now only shows under that style
  • Set details text to Product Name and verify products are fetched and included in the config, and that a fetch failure degrades gracefully (returns [], logs via lana)
  • Confirm blade-card and carousel nested panels still render with the new shared styling
  • Unit tests added/updated

ScreenShot

Screenshot 2026-06-22 at 2 40 27 PM

Test URLs:

milo-pr-merge Bot and others added 30 commits April 7, 2026 08:53
* Adds logic for the webClientVersion and susi success logging

* c2 changes

* tabindexes
* Safari sometimes gets the wrong window height

* Removing modal height update

* Removing all the resize logic

* Changes for c2
@cmiqueo cmiqueo self-assigned this Jun 23, 2026
@cmiqueo cmiqueo added the caas-configurator CaaS Configurator label Jun 23, 2026
@cmiqueo cmiqueo requested a review from chrischrischris as a code owner June 23, 2026 05:14
@cmiqueo cmiqueo added the @caas label Jun 23, 2026
@cmiqueo cmiqueo requested a review from sanrai as a code owner June 23, 2026 05:14
@aem-code-sync

aem-code-sync Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch.
In case there are problems, just click the checkbox below to rerun the respective action.

  • Re-sync branch
Commits

@cmiqueo cmiqueo temporarily deployed to milo_pr_merge June 23, 2026 05:14 — with GitHub Actions Inactive
@cmiqueo cmiqueo temporarily deployed to milo_pr_merge June 23, 2026 05:14 — with GitHub Actions Inactive
@cmiqueo cmiqueo requested review from JasonHowellSlavin, jedjedjedM, sanrai and sheridansunier and removed request for sanrai June 23, 2026 05:20
@cmiqueo cmiqueo changed the title Mwpw 195996 MWPW-195996: adds new icon and product name option Jun 23, 2026
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

This PR has not been updated recently and will be closed in 7 days if no action is taken. Please ensure all checks are passing, https://github.com/orgs/adobecom/discussions/997 provides instructions. If the PR is ready to be merged, please mark it with the "Ready for Stage" label.

@github-actions github-actions Bot added the Stale label Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants