Skip to content

[MWPW-204534] Highlight colors and tooltips - #6734

Open
AdobeLinhart wants to merge 11 commits into
stagefrom
mn-highlight-colors
Open

AdobeLinhart wants to merge 11 commits into
stagefrom
mn-highlight-colors

Conversation

@AdobeLinhart

@AdobeLinhart AdobeLinhart commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Updates

  • Split lingo highlighting out of the existing MEP toggle into a new dedicated Lingo toggle in the MEP Next overlay Highlight card
  • Wire the new Lingo toggle through overlay state, URL/default hydration, and preview-link generation via the new mepLingoHighlight param
  • Separate page-update counting so MEP tracks manifest/code/removed-manifest highlights and Lingo tracks only ROC/fallback lingo highlights
  • Update highlight styling so lingo ROC/fallback outlines and badges only render when the new Lingo toggle is enabled
  • Add outlined circle color-key icons next to each Highlight toggle label so MEP, Lingo, Caas, M@S, and Other Fragments visually match their on-page highlight colors
  • Refresh clickable highlight badge link styling so the link icon sits on a primary-colored inset block with a contrasting white SVG, making the edit/action affordance easier to see across MEP, Lingo, Caas, and M@S badges

Instructions

  1. Open the page with ?mepnext=on&mep and ?milolibs=[this branch] to load the updated overlay code.
  2. Open the MEP overlay (FAB) and expand the Highlight card — confirm it now includes a dedicated Lingo toggle between MEP and Caas.
  3. Confirm each Highlight toggle label has an outlined circle color key that matches its corresponding on-page highlight treatment.
  4. Turn on MEP only — confirm standard MEP manifest/code highlights render, but lingo ROC/fallback highlights do not.
  5. Turn on Lingo — confirm lingo ROC/fallback highlights and badges now render separately from MEP.
  6. Turn Lingo back off — confirm the lingo-specific highlights disappear while other enabled highlight types remain unchanged.
  7. Turn on any clickable highlight type and confirm the badge link icon now appears on a primary-colored inset block with a visible contrasting SVG.
  8. Click the Preview button and confirm the generated URL includes mepLingoHighlight=true when the Lingo toggle is enabled.

Resolves: MWPW-204534

Test URLs:

PSI: https://mn-highlight-colors--milo--adobecom.aem.page/?martech=off

@aem-code-sync

aem-code-sync Bot commented Sep 15, 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

@AdobeLinhart
AdobeLinhart requested a review from a team September 15, 2026 17:21
@github-actions

Copy link
Copy Markdown
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.

This branch was successfully deployed

1 active deployment
mn-highlight-colors 80f0d550 Deployed Sep 16, 2026 by aem-code-sync[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant