8000 MWPW-173732 [MMM][MEP] Add contextually relevant button in Target Metadata Lookup Report by ivanvatadobe · Pull Request #4192 · adobecom/milo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

MWPW-173732 [MMM][MEP] Add contextually relevant button in Target Metadata Lookup Report #4192

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

Merged
merged 9 commits into from
May 20, 2025

Conversation

ivanvatadobe
Copy link
Contributor
@ivanvatadobe ivanvatadobe commented May 19, 2025

This PR adds functionality to the single 'Open Spreadsheet' button on the MMM Metadata Lookup page.

The expected behavior is:

  • User with no local storage cookie settings will default to the CC button messaging: Open CC Spreadsheet
  • Returning users (with local storage cookie settings) should retain their previous repo selection with the appropriate messaging: Open CC|DC|BACOM|EXPRESS Spreadsheet
  • HREF of button will change to the matching Sharepoint metadata spreadsheet for selected repo (copied from the CC spreadsheet readme tab)
  • Clicking on button opens a new window, which leads to the selected reop's metadata spreadhseet

Fixes/Features:

  • Added new button cta to open spreadsheet for selected repo (button is authored via sharepoint)
  • Dependency: added class 'instructions' to the Text block on the base page
  • Dependency: button copy and hrefs are hardcoded. We can enhance later to remove dependency and generate copy and hrefs from a new milo table we create within the docx instead.

Resolves: MWPW-173732

Test URLs:

How to test

  1. On first page load, confirm the button copy is 'Open CC Spreadsheet' (default when no local storage values are saved)
  2. Click on button, confirm the CC metadata sheet opens in a NEW window
  3. Change the selected repo, and confirm the button messaging changes to the appropriate repo messaging, AND the proper metadata sheet is opened when button is clicked
  4. Refresh the metadata lookup page and confirm that previous repo selection (dropdown), button copy, and href persists correctly

Copy link
Contributor
aem-code-sync bot commented May 19, 2025

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 May 19, 2025

@ivanvatadobe ivanvatadobe requested review from vgoodric and denlight May 19, 2025 22:10
@vgoodric vgoodric changed the title MWPW-XXXX [MMM][MEP] Add open repo button to metadata lookup MWPW-173732 [MMM][MEP] Add contextually relevant button in Target Metadata Lookup Report May 19, 2025
@aem-code-sync aem-code-sync bot temporarily deployed to mmm-metadata-addbutton May 19, 2025 23:58 Inactive
@aem-code-sync aem-code-sync bot temporarily deployed to mmm-metadata-addbutton May 20, 2025 17:29 Inactive
@aem-code-sync aem-code-sync bot temporarily deployed to mmm-metadata-addbutton May 20, 2025 17:45 Inactive
@aem-code-sync aem-code-sync bot temporarily deployed to mmm-metadata-addbutton May 20, 2025 22:11 Inactive
@ivanvatadobe ivanvatadobe changed the base branch from stage to limit-manifest-by-filter May 20, 2025 22:13
@aem-code-sync aem-code-sync bot temporarily deployed to mmm-metadata-addbutton May 20, 2025 22:18 Inactive
@aem-code-sync aem-code-sync bot temporarily deployed to mmm-metadata-addbutton May 20, 2025 22:23 Inactive
@vgoodric vgoodric merged commit 5ae0638 into limit-manifest-by-filter May 20, 2025
12 checks passed
@vgoodric vgoodric deleted the mmm-metadata-addbutton branch May 20, 2025 22:30
milo-pr-merge bot pushed a commit that referenced this pull request May 21, 2025
…tage (#4124)

* added filtering of page manifests by filter params

* added filtering of page manifests by filter params

* conf

* first commit

* temporarily disabled ajo and placeholder manifestsrc options

* MWPW-173501 [MMM][MEP] Add geo filter to MMM Target cleanup report (#4172)

* enabled geo filter on mmm-target-cleanup

* change naming for base vs targetCleanUp vars

* MWPW-173732 [MMM][MEP] Add contextually relevant button in Target Metadata Lookup Report (#4192)

* first commit

* add button selector for .instructions text block

* Refactor metadata URLs in createMetadataLookup function for improved structure and clarity

* Add TARGET_METADATA_OPTIONS for improved metadata handling in createMetadataLookup

* Update label text for last seen manifests dropdown for mmm and mep-target-inactivity

* Refactor metadata lookup to use updated search function for selectedRepo

---------

Co-authored-by: Vivian A Goodrich <vgoodric@adobe.com>

* [MWPW-173083] [MEP][MMM] Add history from MMM to MEP button in page (#4162)

* Initial checkin. Good state.

* Naming conventions. Fix sticky marquee logic.

* Variant name update.

* Alignment fix.

* Update with hide at action area logic.

* Updated as per PR comment.

* Marquee updates, first pass.

* Var1 marquee button rework.

* Possible custom-hide fix.

* Initial checkin. Fetch manifests API. Generate HTML.

* Headers, divider logic, change events, hide selected, 'non' select option logic.

* Update to duplicate manifest logic.

* Remove console log.

* Linting.

* Unit test update.

* Label/select rename. Don't update button for hidden experiences. Default MMM to none.

* Hidden option button update fix.

* Unit Testing.

* Update libs/features/personalization/preview.js

* Remove placeholder domain.

* Update manifest option titles for clarity in preview.js

* Update option title for clarity in getManifestListDomAndParameter function

---------

Co-authored-by: Vivian A Goodrich <101133187+vgoodric@users.noreply.github.com>
Co-authored-by: Vivian A Goodrich <vgoodric@adobe.com>

---------

Co-authored-by: Denys Fedotov <dfedotov@Denyss-MacBook-Pro.local>
Co-authored-by: viloria <viloria@adobe.com>
Co-authored-by: Jan Ivan Viloria <158211769+ivanvatadobe@users.noreply.github.com>
Co-authored-by: Vivian A Goodrich <vgoodric@adobe.com>
Co-authored-by: Dave Linhart <132396886+AdobeLinhart@users.noreply.github.com>
Co-authored-by: Vivian A Goodrich <101133187+vgoodric@users.noreply.github.com>
skholkhojaev added a commit to skholkhojaev/milo that referenced this pull request May 22, 2025
* [MWPW-168459] - A11y fixes for Gnav Promo, cross cloud menu and footer feature links (adobecom#4076)

* A11y fixes for Gnav Promo, cross cloud menu and footer feature links

* list and UT fixes

* Footer Nala fixes

* Resolved review comments

* Resolved review comments

* lint fix

* Reveiw comment fix

* add review comments

* Added fix for clickable headline read only in mobile

* Added fix for clickable headline read only in mobile

* Lint Fix

* Added fix for footer menu links open/close state

* Lint, UT and Css fix for feature products

* Lint Fix

* Nala fix

* Nala fix

---------

Co-authored-by: Dev Ashish Sardana <glo77801@adobe.com>

* Adding Color white variable for standalone gnav and adding non milo locale path link transform in region nav (adobecom#4175)

* Adding Color white variable

* Adding support for non locale prefix sites

* Adding --modal-close-accent-color for standalone gnav

* MWPW-173586: Dexter modals deeplink -backwards compatibility for 3in1 (adobecom#4184)

* MWPW-173586: Dexter modals deeplink -backwards compatibility for 3in1

* fix regression

* address review comments

* [MWPW-171327] Table sticky heading (adobecom#4054)

* [MWPW-171327] - talbe sticky percentage

* [MWPW-171327] - update percentage

* [MWPW-171327] - update

* [MWPW-171327] - shorten code

* [MWPW-171327] - variable rename

* [MWPW-171327] - logic and test update

* [MWPW-171327] - code shorten

* [MWPW-171327] - update

* [MWPW-171327] - update

* [MWPW-171327] - boundary moved, remove cancel sticky added

* [MWPW-171327] - optimize code

* MWPW-169899: add custom deeplink for Tabs (adobecom#4085)

* MWPW-169899: support custom deeplink for tabs

* add tests

* MWPW-172916 Pep prompt is seen loaded and redirected when geo popup is on and not closed (adobecom#4088)

* Fixed a problem where PEP loaded before the Georouting modal had a chance to load

* Cleanup the getConfig().georouting object once it's no longer needed

* added a comment explaining why we're putting a promise into getConfig() in loadPostLCP

* Fixed pep unit tests

* config.georouting.loadedPromise needs to have a fallback value in case georouting is off

* Adding arrow Up/Down navigation for localnav (adobecom#4092)

* Adding arrow navigation for localnav

* lint fix

* Adding support for nested dropdown

* Applying inert attribute if localnav is closed

* lint fix

* Removing inert as not supported in old browsers and firefox

* lint fix

* lint fix

* lint fix

* Adding item wrapper back

* MWPW-172474: await merch service before (adobecom#4107)

rendering a merch card

* [MWPW-158022] - Text block bold break (adobecom#4138)

* [MWPW-158022] - text block bold line break fix

* [MWPW-158022] - css solution

* [MWPW-158022] - solution update

* MWPW-173130: Preserve regular links in merch-card footers (adobecom#4139)

* MWPW-173130: Preserve regular links in merch-card footers

* nala and fixes

* unit test

* nala fix

* MWPW-173130 lanafix (adobecom#4143)

MWPW-173130: fix lana regression

---------

Co-authored-by: Mariia Lukianets <lukianet@adobe.com>

* Standalone Gnav Link transformation support for hosts other than stage.adobe.com (adobecom#4140)

* Adding current domain in stage Domain map

* Moving top nav wrapper variable to styles.css as it is overriding standalone gnav height

* Fix for adobe url

* MWPW-172950: Replace blockquote with p (adobecom#4145)

* MWPW-172950: Replace blockquote with p

* MWPW-172950: Use div instead p

* Test Urls are not getting added when PR is created from fork repo (adobecom#4183)

* WIP

* Adding region nav and navigation folder to track list for test urls

* Adding feds components to track list

* MWPW-173649 CWV Logging Updates (adobecom#4173)

* MWPW-173649 CWV Logging Updates

* Revert "Improve carousel accessibility" (adobecom#4194)

Revert "Improve carousel accessibility (adobecom#4103)"

This reverts commit 34d2016.

* Fixing Missing/Mismatched attributes in PageView call payload (adobecom#4073)

* Missing/Mismatched Attributes

* Missing/Mismatched Attributes

* Adding requested changes

* Fixing Locale Issue

* Fixing Locale Issue

* Updating helpers.md

* Fixing Errors

* Fixing Errors

* Fixing Errors

* Fixing Errors

* Fixing Errors

* Updated Attributes + Deletions

* Updated Attributes + Deletions

* Updated Attributes + Deletions

* Fixing Errors

* Fixing Errors

* Fixing Errors

* Fixing setEvent - secondVisits

* Fixing setEvent - secondVisits

* Fixing consent issue for secondHit

* Fixing acrobatSecondVisit

* Fixing locale Bug

* Fixing errors

* Fixing errors

* Fixing errors

---------

Co-authored-by: Akansha Arora <>

* MWPW-172085, 173254, 173501, 173732, 173083 [MEP][MMM] Batch PR for Stage (adobecom#4124)

* added filtering of page manifests by filter params

* added filtering of page manifests by filter params

* conf

* first commit

* temporarily disabled ajo and placeholder manifestsrc options

* MWPW-173501 [MMM][MEP] Add geo filter to MMM Target cleanup report (adobecom#4172)

* enabled geo filter on mmm-target-cleanup

* change naming for base vs targetCleanUp vars

* MWPW-173732 [MMM][MEP] Add contextually relevant button in Target Metadata Lookup Report (adobecom#4192)

* first commit

* add button selector for .instructions text block

* Refactor metadata URLs in createMetadataLookup function for improved structure and clarity

* Add TARGET_METADATA_OPTIONS for improved metadata handling in createMetadataLookup

* Update label text for last seen manifests dropdown for mmm and mep-target-inactivity

* Refactor metadata lookup to use updated search function for selectedRepo

---------

Co-authored-by: Vivian A Goodrich <vgoodric@adobe.com>

* [MWPW-173083] [MEP][MMM] Add history from MMM to MEP button in page (adobecom#4162)

* Initial checkin. Good state.

* Naming conventions. Fix sticky marquee logic.

* Variant name update.

* Alignment fix.

* Update with hide at action area logic.

* Updated as per PR comment.

* Marquee updates, first pass.

* Var1 marquee button rework.

* Possible custom-hide fix.

* Initial checkin. Fetch manifests API. Generate HTML.

* Headers, divider logic, change events, hide selected, 'non' select option logic.

* Update to duplicate manifest logic.

* Remove console log.

* Linting.

* Unit test update.

* Label/select rename. Don't update button for hidden experiences. Default MMM to none.

* Hidden option button update fix.

* Unit Testing.

* Update libs/features/personalization/preview.js

* Remove placeholder domain.

* Update manifest option titles for clarity in preview.js

* Update option title for clarity in getManifestListDomAndParameter function

---------

Co-authored-by: Vivian A Goodrich <101133187+vgoodric@users.noreply.github.com>
Co-authored-by: Vivian A Goodrich <vgoodric@adobe.com>

---------

Co-authored-by: Denys Fedotov <dfedotov@Denyss-MacBook-Pro.local>
Co-authored-by: viloria <viloria@adobe.com>
Co-authored-by: Jan Ivan Viloria <158211769+ivanvatadobe@users.noreply.github.com>
Co-authored-by: Vivian A Goodrich <vgoodric@adobe.com>
Co-authored-by: Dave Linhart <132396886+AdobeLinhart@users.noreply.github.com>
Co-authored-by: Vivian A Goodrich <101133187+vgoodric@users.noreply.github.com>

* MWPW-167709 [GNAV] [Pre-Load] | (Ghost) State when Mega Menu fragment has not loaded (Desktop & Mobile) (adobecom#4137)

* Parallelize the network calls required before the gnav becomes visible

* corrected the logic for loading base styles for non-milo contexts

* load aside.js in parallel if necessary

* made the logic inside getGnavSource a little more fault tolerant

* Fixed an issue with loading the dark mode gnav (standalone)

* changed the gnav tests to reload the global-navigation.js module anew on each test to work correctly with the performance optimizations

* Fixed a test for localnav inside bootstrapper.test.js

* ignore eslint error on a test

* added error handling to the style loading logic in gnav

* changed error handling for loading gnav styles from throwing an error to rejecting a promise

* removed some redundant code

* changed e.message to e

* implemented the loading state for desktop viewports

* Change animation name as it was the same as one that the unav uses

* implemented the loading state for mobile

* Removed pointer events from the loading state; made the loading state closer to the specs

* Finishing touches

* Don't have a loading state for the legacy mobile gnav

* add the loading state only on async Dropdowns; decorateLocalnav should be inside decorateMenu.then(...)

* put the call to `decorateLocalNavItems` inside `finally` to make sure it runs

* lint fixes

* Sometimes mobileNavCleanup can be null

* Removed an extraneous line

* Cleaning up the merge conflict resolution

* Make sure `transformTemplateToMobile` always returns a function

* [MWPW-173341] - Added ally fix for GNAV Promo heading text (adobecom#4151)

Added ally fix for GNAV Promo heading text

Co-authored-by: Dev Ashish Sardana <glo77801@adobe.com>

* Removing text decoration none from region nav links (adobecom#4188)

* [MWPW-170714] - Section metadata grid (adobecom#4097)

* [MWPW=170714] - section data mobile margin

* [MWPW=170714] - section two up metadata change

* [MWPW-170714] - update mobile gap solution

* [MWPW-170714] - remove media query

* MWPW-173121: Tax Exclusive & ABM labels for Plans body prices (adobecom#4120)

* MWPW-170799: Remove external.js and refactor imports.

* fix regressions

* fix regressions

* fix checks

* fix checks

* still regression in variants

* fix regression on ccd ah styles

* disable aggressive PR comments

* remove unused file

* fix regressions

* fix error in doc page

* PR review

* fix regression in variant mappings

* fix plans url

* cleanup constants

* merge stage and fix regressions

* MWPW-164498: Plans Education card

* styles

* plans page update

* heading global styles

* phas

* block

* business plans initial draft

* fix badge

* spacing and growing

* height and styles

* collection styles

* remove whats included from education

* removed whats included in some other way

* Plans students aem mapping

* milo plans page style updates

* removed hardcoded link color

* link fix

* MWPW-173121: ABM label for Plans body prices

* unit test

---------

Co-authored-by: Ilyas Türkben <ilyas@adobe.com>
Co-authored-by: Bozo Jovicic <bozo@hitthecode.com>

* Mwpw 170301 focus outside modal (adobecom#4155)

* MWPW-170301: Hide cookie banner when modal is open

Revert "MWPW-170301: Keep focus inside the modal"

This reverts commit df02548.

MWPW-170301: Hide cookie banner when modal is open

* MWPW-170301: Move isDeepLink to getModal

* MWPW-170301: Add deepLink property to details

* MWPW-171825 Improve lcp performance for favicon and breadcrumb (adobecom#4163)

* Breadcrumb last item value as current window url if not a link (adobecom#4166)

* Breadcrumb last item value as current window url if not a link

* Breadcrumb test case fix

* Breadcrumb Lint fix

* Breadcrumb Lint fix

* Quiz option titles on mobile (adobecom#4190)

* show titles on mobile
* add support for rtl for option titles

Resolves: [MWPW-173478](https://jira.corp.adobe.com/browse/MWPW-173478)

* MWPW-173816: remove stock checks temporarily (adobecom#4208)

* Revert "MWPW-167709 [GNAV] [Pre-Load] | (Ghost) State when Mega Menu fragment has not loaded (Desktop & Mobile)" (adobecom#4210)

Revert "MWPW-167709 [GNAV] [Pre-Load] | (Ghost) State when Mega Menu fragment…"

This reverts commit 02289eb.

* [MWPW-173470] - Korea free trial restrict (adobecom#4185)

* [MWPW-173016] - block korea free trial links/buttons

* [MWPW-173016] - korea text filter added

* [MWPW-173016] - update if

* [MWPW-173016] - code optimization

* [MWPW-173016] - improve import

* [MWPW-173016] - modal check, string check added

* [MWPW-173016] - strings added

* [MWPW-173470] - update logic

* [MWPW-173470] - update logic

* [MWPW-173470] - update logic

* [MWPW-173470] - remove whitespace

* [MWPW-173470] - optimize

* [MWPW-173470] - remove variable

* [MWPW-173016] - optimize code

* [MWPW-173016] - group logic

* [MWPW-173016] - merch solution added

* [MWPW-173016] - merch ref comment added

* [MWPW-173470] - null safe

* [MWPW-173470] - code optimization

* [MWPW-173470] - nav korea restrict coverage

* [MWPW-173470] - fix eslint console error

* Base mweb style changes (adobecom#4187)

* MWPW-173239: fallback for addon (adobecom#4200)

* MWPW-173239: fallback for addon

* add unit test

* address review comments

---------

Co-authored-by: Dev Ashish Saradhana <41122199+Deva309@users.noreply.github.com>
Co-authored-by: Dev Ashish Sardana <glo77801@adobe.com>
Co-authored-by: Bandana Laishram <bandanalaishram@gmail.com>
Co-authored-by: Mariia Lukianets <lukianet@adobe.com>
Co-authored-by: Dušan Kosanović <dusan.kosanovic@hitthecode.com>
Co-authored-by: Raghav Sharma <118168183+sharmrj@users.noreply.github.com>
Co-authored-by: Ilyas Türkben <ilyas@adobe.com>
Co-authored-by: Angelo Statescu <angelostatescu.adobe@gmail.com>
Co-authored-by: Ratko Zagorac <90400759+zagi25@users.noreply.github.com>
Co-authored-by: Blaine Gunn <Blainegunn@gmail.com>
Co-authored-by: Akansha Arora <akanshaarora090@gmail.com>
Co-authored-by: Denys Fedotov <denlight@gmail.com>
Co-authored-by: Denys Fedotov <dfedotov@Denyss-MacBook-Pro.local>
Co-authored-by: viloria <viloria@adobe.com>
Co-authored-by: Jan Ivan Viloria <158211769+ivanvatadobe@users.noreply.github.com>
Co-authored-by: Vivian A Goodrich <vgoodric@adobe.com>
Co-authored-by: Dave Linhart <132396886+AdobeLinhart@users.noreply.github.com>
Co-authored-by: Vivian A Goodrich <101133187+vgoodric@users.noreply.github.com>
Co-authored-by: Bozo Jovicic <bozo@hitthecode.com>
Co-authored-by: Megan Thomas <methomas@adobe.com>
Co-authored-by: Cody Lloyd <119891065+colloyd@users.noreply.github.com>
Co-authored-by: Milica Micic <cod23684@adobe.com>
Co-authored-by: Rares Munteanu <overmyheadandbody@gmail.com>
narcis-radu added a commit that referenced this pull request May 29, 2025
* Fixing Missing/Mismatched attributes in PageView call payload (#4073)

* Missing/Mismatched Attributes

* Missing/Mismatched Attributes

* Adding requested changes

* Fixing Locale Issue

* Fixing Locale Issue

* Updating helpers.md

* Fixing Errors

* Fixing Errors

* Fixing Errors

* Fixing Errors

* Fixing Errors

* Updated Attributes + Deletions

* Updated Attributes + Deletions

* Updated Attributes + Deletions

* Fixing Errors

* Fixing Errors

* Fixing Errors

* Fixing setEvent - secondVisits

* Fixing setEvent - secondVisits

* Fixing consent issue for secondHit

* Fixing acrobatSecondVisit

* Fixing locale Bug

* Fixing errors

* Fixing errors

* Fixing errors

---------

Co-authored-by: Akansha Arora <>

* MWPW-172085, 173254, 173501, 173732, 173083 [MEP][MMM] Batch PR for Stage (#4124)

* added filtering of page manifests by filter params

* added filtering of page manifests by filter params

* conf

* first commit

* temporarily disabled ajo and placeholder manifestsrc options

* MWPW-173501 [MMM][MEP] Add geo filter to MMM Target cleanup report (#4172)

* enabled geo filter on mmm-target-cleanup

* change naming for base vs targetCleanUp vars

* MWPW-173732 [MMM][MEP] Add contextually relevant button in Target Metadata Lookup Report (#4192)

* first commit

* add button selector for .instructions text block

* Refactor metadata URLs in createMetadataLookup function for improved structure and clarity

* Add TARGET_METADATA_OPTIONS for improved metadata handling in createMetadataLookup

* Update label text for last seen manifests dropdown for mmm and mep-target-inactivity

* Refactor metadata lookup to use updated search function for selectedRepo

---------

Co-authored-by: Vivian A Goodrich <vgoodric@adobe.com>

* [MWPW-173083] [MEP][MMM] Add history from MMM to MEP button in page (#4162)

* Initial checkin. Good state.

* Naming conventions. Fix sticky marquee logic.

* Variant name update.

* Alignment fix.

* Update with hide at action area logic.

* Updated as per PR comment.

* Marquee updates, first pass.

* Var1 marquee button rework.

* Possible custom-hide fix.

* Initial checkin. Fetch manifests API. Generate HTML.

* Headers, divider logic, change events, hide selected, 'non' select option logic.

* Update to duplicate manifest logic.

* Remove console log.

* Linting.

* Unit test update.

* Label/select rename. Don't update button for hidden experiences. Default MMM to none.

* Hidden option button update fix.

* Unit Testing.

* Update libs/features/personalization/preview.js

* Remove placeholder domain.

* Update manifest option titles for clarity in preview.js

* Update option title for clarity in getManifestListDomAndParameter function

---------

Co-authored-by: Vivian A Goodrich <101133187+vgoodric@users.noreply.github.com>
Co-authored-by: Vivian A Goodrich <vgoodric@adobe.com>

---------

Co-authored-by: Denys Fedotov <dfedotov@Denyss-MacBook-Pro.local>
Co-authored-by: viloria <viloria@adobe.com>
Co-authored-by: Jan Ivan Viloria <158211769+ivanvatadobe@users.noreply.github.com>
Co-authored-by: Vivian A Goodrich <vgoodric@adobe.com>
Co-authored-by: Dave Linhart <132396886+AdobeLinhart@users.noreply.github.com>
Co-authored-by: Vivian A Goodrich <101133187+vgoodric@users.noreply.github.com>

* MWPW-167709 [GNAV] [Pre-Load] | (Ghost) State when Mega Menu fragment has not loaded (Desktop & Mobile) (#4137)

* Parallelize the network calls required before the gnav becomes visible

* corrected the logic for loading base styles for non-milo contexts

* load aside.js in parallel if necessary

* made the logic inside getGnavSource a little more fault tolerant

* Fixed an issue with loading the dark mode gnav (standalone)

* changed the gnav tests to reload the global-navigation.js module anew on each test to work correctly with the performance optimizations

* Fixed a test for localnav inside bootstrapper.test.js

* ignore eslint error on a test

* added error handling to the style loading logic in gnav

* changed error handling for loading gnav styles from throwing an error to rejecting a promise

* removed some redundant code

* changed e.message to e

* implemented the loading state for desktop viewports

* Change animation name as it was the same as one that the unav uses

* implemented the loading state for mobile

* Removed pointer events from the loading state; made the loading state closer to the specs

* Finishing touches

* Don't have a loading state for the legacy mobile gnav

* add the loading state only on async Dropdowns; decorateLocalnav should be inside decorateMenu.then(...)

* put the call to `decorateLocalNavItems` inside `finally` to make sure it runs

* lint fixes

* Sometimes mobileNavCleanup can be null

* Removed an extraneous line

* Cleaning up the merge conflict resolution

* Make sure `transformTemplateToMobile` always returns a function

* [MWPW-173341] - Added ally fix for GNAV Promo heading text (#4151)

Added ally fix for GNAV Promo heading text

Co-authored-by: Dev Ashish Sardana <glo77801@adobe.com>

* Removing text decoration none from region nav links (#4188)

* [MWPW-170714] - Section metadata grid (#4097)

* [MWPW=170714] - section data mobile margin

* [MWPW=170714] - section two up metadata change

* [MWPW-170714] - update mobile gap solution

* [MWPW-170714] - remove media query

* MWPW-173121: Tax Exclusive & ABM labels for Plans body prices (#4120)

* MWPW-170799: Remove external.js and refactor imports.

* fix regressions

* fix regressions

* fix checks

* fix checks

* still regression in variants

* fix regression on ccd ah styles

* disable aggressive PR comments

* remove unused file

* fix regressions

* fix error in doc page

* PR review

* fix regression in variant mappings

* fix plans url

* cleanup constants

* merge stage and fix regressions

* MWPW-164498: Plans Education card

* styles

* plans page update

* heading global styles

* phas

* block

* business plans initial draft

* fix badge

* spacing and growing

* height and styles

* collection styles

* remove whats included from education

* removed whats included in some other way

* Plans students aem mapping

* milo plans page style updates

* removed hardcoded link color

* link fix

* MWPW-173121: ABM label for Plans body prices

* unit test

---------

Co-authored-by: Ilyas Türkben <ilyas@adobe.com>
Co-authored-by: Bozo Jovicic <bozo@hitthecode.com>

* Mwpw 170301 focus outside modal (#4155)

* MWPW-170301: Hide cookie banner when modal is open

Revert "MWPW-170301: Keep focus inside the modal"

This reverts commit df02548.

MWPW-170301: Hide cookie banner when modal is open

* MWPW-170301: Move isDeepLink to getModal

* MWPW-170301: Add deepLink property to details

* MWPW-171825 Improve lcp performance for favicon and breadcrumb (#4163)

* Breadcrumb last item value as current window url if not a link (#4166)

* Breadcrumb last item value as current window url if not a link

* Breadcrumb test case fix

* Breadcrumb Lint fix

* Breadcrumb Lint fix

* Quiz option titles on mobile (#4190)

* show titles on mobile
* add support for rtl for option titles

Resolves: [MWPW-173478](https://jira.corp.adobe.com/browse/MWPW-173478)

* MWPW-173816: remove stock checks temporarily (#4208)

* Revert "MWPW-167709 [GNAV] [Pre-Load] | (Ghost) State when Mega Menu fragment has not loaded (Desktop & Mobile)" (#4210)

Revert "MWPW-167709 [GNAV] [Pre-Load] | (Ghost) State when Mega Menu fragment…"

This reverts commit 02289eb.

* [MWPW-173470] - Korea free trial restrict (#4185)

* [MWPW-173016] - block korea free trial links/buttons

* [MWPW-173016] - korea text filter added

* [MWPW-173016] - update if

* [MWPW-173016] - code optimization

* [MWPW-173016] - improve import

* [MWPW-173016] - modal check, string check added

* [MWPW-173016] - strings added

* [MWPW-173470] - update logic

* [MWPW-173470] - update logic

* [MWPW-173470] - update logic

* [MWPW-173470] - remove whitespace

* [MWPW-173470] - optimize

* [MWPW-173470] - remove variable

* [MWPW-173016] - optimize code

* [MWPW-173016] - group logic

* [MWPW-173016] - merch solution added

* [MWPW-173016] - merch ref comment added

* [MWPW-173470] - null safe

* [MWPW-173470] - code optimization

* [MWPW-173470] - nav korea restrict coverage

* [MWPW-173470] - fix eslint console error

* Base mweb style changes (#4187)

* MWPW-173239: fallback for addon (#4200)

* MWPW-173239: fallback for addon

* add unit test

* address review comments

* [MWPW-173717] Hyphenate large headings on mobile (#4199)

* MWPW-170520: 🍟 Merch Card (#4087)

* wip

* wip

* wip

* wip

* unit tests + css

* demo page

* updated deps

* tooltip

* tooltip

* Update popover.js

* Update fries.html

* Update fries.html

* cta toggle text

* wip

* updated deps

* wip

* wip

* updated deps

* unit tests

* ut fixes

* updated deps

* ut fix

* Update merch-offer-select.test.js

* NALA fix

* conflicts resolved

* fixes

* text decoration

* yellow color dark theme

* Update fries.html

* remove console log

* font size addon confirmation

* Update merch-card.fries.test.html.js

* dark theme body color

* dark theme

* icon size

* responsiveness

* styles

* body-s color

* Update styles.css

* Update fries.html

* Updated CSS

* color

* updated deps

* resolved conflicts

* css

* increased max count for fries card

* MWPW-170535 - Ribbon Notification 'in-line' variant for mWeb (#4101)

* ribbon in-line

* ribbon in-line

* ribbon in-line

* review comment

---------

Co-authored-by: Drashti Modasara <dmodasara@Drashtis-MacBook-Pro.local>

* MWPW-169410: Add download icon to sidekick (#4159)

* MWPW-169410: Add download icon to sidekick

* MWPW-169410: Remove title and description to avoid announcment duplication

* MWPW-169410: Change title to Download icon

* MWPW-173425: Allow container to expand based on line height (#4180)

* Updating code owners for region nav and navigation folder (#4196)

Updating codeowners for region nav and navigation folder

* Wrapping the test urls for Gnav in a collapsed section (#4219)

* Wrapping the test urls in a collapsed section

* Update title

* MWPW-173436 | Fix delay in split notification load (#4216)

* Update notification z indexes with values

* Update notification.css

* Remove lana log error specific to localnav from non localnav gnav (#4058)

* Logging only when it is sent as localnav but is not

* Test fix

* Lint fix

* MWPW-170753 : [Mobile NAV][A11Y] | RWD Tablet Mobile (#4174)

* Tab, ShiftTab, Escape fixes for mobile design

* Updated for escape functionality

* accommodating review comments

---------

Co-authored-by: Snehal Sonawane <sonawane@Snehals-MacBook-Pro.local>

* [Mobile NAV][A11Y] | RWD Tablet Mobile -Able to browse outside modal with screen reader (#4205)

* Fix for pagecontent reading

* Fix for pagecontent reading

* Fix for pagecontent reading

---------

Co-authored-by: Snehal Sonawane <sonawane@Snehals-MacBook-Pro.local>

* MWPW-171937: fix cta urls for bulk publisher (#4147)

* MWPW-171937: fix cta urls for bulk publisher

* MWPW-171937: fix cta urls for bulk publisher

---------

Co-authored-by: Sheridan Sunier <sunier@Sheridans-MacBook-Pro.local>

* MWPW-173888 + MWPW-173919: Appending extra options for relative urls & multiple cta reopen fix (#4225)

* MWPW-173888: Appending extra options for relative urls

* keep relative url

* modal reopened logic

* unit tests

* Revert "[MWPW-173470] - Korea free trial restrict" (stage) (#4235)

Revert "[MWPW-173470] - Korea free trial restrict (#4185)"

This reverts commit 351cfe6.

* MWPW-173875 (#4233)

* MWPW-173875

Leadership wants these logs out before the RCP

---------

Co-authored-by: Akansha Arora <akanshaarora090@gmail.com>
Co-authored-by: Denys Fedotov <denlight@gmail.com>
Co-authored-by: Denys Fedotov <dfedotov@Denyss-MacBook-Pro.local>
Co-authored-by: viloria <viloria@adobe.com>
Co-authored-by: Jan Ivan Viloria <158211769+ivanvatadobe@users.noreply.github.com>
Co-authored-by: Vivian A Goodrich <vgoodric@adobe.com>
Co-authored-by: Dave Linhart <132396886+AdobeLinhart@users.noreply.github.com>
Co-authored-by: Vivian A Goodrich <101133187+vgoodric@users.noreply.github.com>
Co-authored-by: Raghav Sharma <118168183+sharmrj@users.noreply.github.com>
Co-authored-by: Dev Ashish Saradhana <41122199+Deva309@users.noreply.github.com>
Co-authored-by: Dev Ashish Sardana <glo77801@adobe.com>
Co-authored-by: Bandana Laishram <bandanalaishram@gmail.com>
Co-authored-by: Dušan Kosanović <dusan.kosanovic@hitthecode.com>
Co-authored-by: Angelo Statescu <angelostatescu.adobe@gmail.com>
Co-authored-by: Ilyas Türkben <ilyas@adobe.com>
Co-authored-by: Bozo Jovicic <bozo@hitthecode.com>
Co-authored-by: Ratko Zagorac <90400759+zagi25@users.noreply.github.com>
Co-authored-by: Megan Thomas <methomas@adobe.com>
Co-authored-by: Cody Lloyd <119891065+colloyd@users.noreply.github.com>
Co-authored-by: Milica Micic <cod23684@adobe.com>
Co-authored-by: Rares Munteanu <overmyheadandbody@gmail.com>
Co-authored-by: Mariia Lukianets <lukianet@adobe.com>
Co-authored-by: Axel Cureno Basurto <axelcureno@gmail.com>
Co-authored-by: Drashti Modasara <drashti1712@gmail.com>
Co-authored-by: Drashti Modasara <dmodasara@Drashtis-MacBook-Pro.local>
Co-authored-by: Aishwarya Mathuria <mathuria@adobe.com>
Co-authored-by: sonawanesnehal3 <152426902+sonawanesnehal3@users.noreply.github.com>
Co-authored-by: Snehal Sonawane <sonawane@Snehals-MacBook-Pro.local>
Co-authored-by: Sheridan Sunier <sunier92@gmail.com>
Co-authored-by: Sheridan Sunier <sunier@Sheridans-MacBook-Pro.local>
Co-authored-by: Okan Sahin <39759830+mokimo@users.noreply.github.com>
Co-authored-by: Blaine Gunn <Blainegunn@gmail.com>
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.

3 participants
0