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-157785 [MEP] Create "any-marquee" and "header" simplified selectors #2832

Merged
merged 3 commits into from
Sep 5, 2024

Conversation

vgoodric
Copy link
Contributor

@vgoodric vgoodric commented Sep 5, 2024

It's becoming very common to switch between using the marquee block, interactive-marquee block or the hero-marquee block.

There's an easy CSS selector to get any of these, but if it was a simplified selector it would be easier to use.

Similarly, it can be hard to know which header level to use (h1, h2, h3 etc.) because they can look the same and even get changed by the decoration process. Although it can be achieved in CSS, it would be easier to have a simplified selector.

Resolves: MWPW-157785

Note the examples below use the same manifest with the same selector: "any-marquee primary-cta"
Test URLs:
Marquee:

Hero Marquee:

Interactive Marquee:

@vgoodric vgoodric requested a review from a team as a code owner September 5, 2024 01:56
Copy link
Contributor

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

aem-code-sync bot commented Sep 5, 2024

Page Scores Audits Google
M /?martech=off PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
D /?martech=off PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

Copy link

codecov bot commented Sep 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.89%. Comparing base (bff51f1) to head (9da6e32).
Report is 1 commits behind head on mepactionarea.

Additional details and impacted files
@@              Coverage Diff               @@
##           mepactionarea    #2832   +/-   ##
==============================================
  Coverage          95.89%   95.89%           
==============================================
  Files                173      173           
  Lines              46316    46319    +3     
==============================================
+ Hits               44414    44418    +4     
+ Misses              1902     1901    -1     

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

@vgoodric vgoodric requested a review from a team September 5, 2024 02:12
@vgoodric vgoodric changed the title MWPW-157785 [MEP] Create an "any-marquee" simplified selector MWPW-157785 [MEP] Create "any-marquee" and "header" simplified selectors Sep 5, 2024
@vgoodric vgoodric added verified PR has been E2E tested by a reviewer Ready for Stage labels Sep 5, 2024
@vgoodric vgoodric merged commit 249c924 into mepactionarea Sep 5, 2024
20 checks passed
@vgoodric vgoodric deleted the mepanymarquee branch September 5, 2024 16:49
milo-pr-merge bot pushed a commit that referenced this pull request Sep 5, 2024
…ot work well with hero-marquee block (#2830)

* Make action-area more flexible

* unit test update

* also update other new css selectors

* get rid of parent in selector

* unit test update

* MWPW-157785 [MEP] Create "any-marquee" and "header" simplified selectors (#2832)

* mepanymarquee

* add header

* fix unit test
elan-tbx pushed a commit that referenced this pull request Sep 9, 2024
…ot work well with hero-marquee block (#2830)

* Make action-area more flexible

* unit test update

* also update other new css selectors

* get rid of parent in selector

* unit test update

* MWPW-157785 [MEP] Create "any-marquee" and "header" simplified selectors (#2832)

* mepanymarquee

* add header

* fix unit test
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