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-157924] - Added functionality to disable Active Element Detection #2892

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

Deva309
Copy link
Contributor

@Deva309 Deva309 commented Sep 17, 2024

This change prevents any NavItem from being marked as active by appending the hash #_noActiveItem to the gnav-source. The hash can be added either in the metadata.xlsx file or at the page level for the gnav-source metadata. If the hash is present, the Active Element Detection functionality is disabled.
For example:
Screenshot 2024-09-17 at 1 09 23 PM

Before (creativity & design is active NavItem):
Screenshot 2024-09-17 at 1 10 50 PM

After (No NavItem is active):
Screenshot 2024-09-17 at 1 11 27 PM

Resolves: MWPW-157924

Test URLs:

QA:

https://main--cc--adobecom.hlx.page/drafts/devashish/vh?milolibs=mwpw-157924--milo--deva309

Copy link
Contributor

aem-code-sync bot commented Sep 17, 2024

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

Copy link

codecov bot commented Sep 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.22%. Comparing base (840e037) to head (afabd0a).
Report is 13 commits behind head on stage.

Additional details and impacted files
@@            Coverage Diff             @@
##            stage    #2892      +/-   ##
==========================================
- Coverage   96.23%   96.22%   -0.01%     
==========================================
  Files         237      237              
  Lines       54242    54259      +17     
==========================================
+ Hits        52198    52213      +15     
- Misses       2044     2046       +2     

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

@spadmasa spadmasa self-assigned this Sep 17, 2024
@spadmasa spadmasa added verified PR has been E2E tested by a reviewer Ready for Stage labels Sep 18, 2024
@milo-pr-merge milo-pr-merge bot merged commit e3844f2 into adobecom:stage Sep 19, 2024
22 checks passed
@milo-pr-merge milo-pr-merge bot mentioned this pull request Sep 19, 2024
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.

6 participants