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

[Release] Stage to Main #3102

Merged
merged 9 commits into from
Oct 30, 2024
Merged

[Release] Stage to Main #3102

merged 9 commits into from
Oct 30, 2024

Conversation

skumar09 and others added 5 commits October 29, 2024 08:00
…blocks (#3091)

* add a11y test for remaining blocks

* fix eslint errors

* comment MPC video for a11y test

---------

Co-authored-by: Santoshkumar Sharanappa Nateekar <nateekar@santoshumarsmbp.corp.adobe.com>
* MWPW-152228: refactor georouting promises call

* refactor long line
* initial commit

* slots, styles and basic layout

* more changes

* Update merch-card.ccd-suggested.test.html

* Update merch-twp-d2p.test.html

* unit tests, strip slot and more

* fixed review comments

* review comments fixed

* RTL background image support

* Initial @adobecom/mas-js version.

* a

* Update merch-card.ccd-suggested.test.html

* a

* dark mode, unit tests and rtl

* simplified styles

* updated deps

* Update variant-layout.js

* dark theme ut

* Update merch-card.ccd-suggested.test.html.js

* Update variant-layout.js

* card mapping

* MWPW-158200: Merch card Dark mode

* updated deps

* MWPW-159257 refactor mas enablement

- move of wcms-commerce -> mas-commerce-service
- move of some public functions to mas-commerce-service,
- remove mas.js code for initialization, everything needs to go through the component,
- split of settings code with locale settings, make milo locale settings an explicit function,
- unit tests,
- updates of docs, especially  mas.js.html with that component

* MWPW-159257 fix unit test + register co

* review comments fixed

* MWPW-159257 some feedbacks, more coverage

* draft

* bump pkg version

* MWPW-160085: WIP

* wip

* fix cta mapping for suggested card

* ccd-suggested fixes

* dark theme update

* remove css var

* fix size attribute in hydrate

* MWPW-159257 remove init & reset concept

- also removed typescript stuff,
- refactor mixin to simple aggregated MasElement,
- refactor how things are initialised"

* update docs

* merge changes, add more docs

* update docs

* update docs

* fix docu

* add ccd test page

* MWPW-159257 remove init & reset concept

- also removed typescript stuff,
- refactor mixin to simple aggregated MasElement,
- refactor how things are initialised,
- make merch block working with this

* update docs

* merge changes, add more docs

* update ccd gallery

* update docs

* fix docu

* add dark theme

* merge

* re-enable notification test

* ost

* add doc

* fix fragment test init

* add vpn banner

* various fixes

* MWPW-159257 move to relative path

* MWPW-159257 various fixes

* rename promise -> readyPromise

not documenting it as i'm not sure it's needed by consumers

* MWPW-160015: M@S: support for mnemonic multifield

during card hydration.

* MWPW-160511: add badge

* MWPW-159257 enhance coverage

* MWPW-159257 yet more coverage

* MWPW-159257 final?

* MWPW-159257 non reported cov issues

* prob. some issue in cov reporting as its used several times

* MWPW-159257 review fixes

* yet some over c8 ignore

* MWPW-159257 removing it.only & built docs

* MWPW-159257 unwrap single condition block

* fixed issued by by QA

* MWPW-159257: [M@S] Support override env/landscape

Milo only consumes WCS prod.
However with this PR, on local and stage environments, `allow-override`
parameter will be added to `mas-commerce-service` allowing to override
the commerce env/landscape via query parameters.

* PR feedback

* reduce codecov requirement

* CCD Merch Card Combined changes

* updated deps

* links in gray

* updated deps

* strip changes

* updated deps

* updated deps

* attribute name fixed

* updated deps and new logic in hydrate

* updated deps

* updated deps

* padding for wide strip

* wide stip condition

* Update ccd.html

* updated deps

* suggested ccd card in test page

* ut

* add change in merch-card

* strikethrough color

* correct link colors

* link colors

* gray 800 link slice card

---------

Co-authored-by: Ilyas Türkben <ilyas@adobe.com>
Co-authored-by: Nicolas Peltier <npeltier@adobe.com>
Co-authored-by: Mariia Lukianets <mariia.lukianets@gmail.com>
* Place app store buttons next to eachother

* Add Robert's PR feedback

* Address Rares PR feedback

* Add aria-labels

* Keep lines under 100 characters

* Remove the margin of the container
@milo-pr-merge
Copy link
Contributor Author

milo-pr-merge bot commented Oct 29, 2024

Testing can start @adobecom/miq-sot @adobecom/bacom-sot @adobecom/homepage-sot @adobecom/creative-cloud-sot @adobecom/document-cloud-sot

Copy link
Contributor

aem-code-sync bot commented Oct 29, 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 Oct 29, 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
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit

eslint

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

https://github.com/adobecom/milo/blob/1d36e98d9d4abbd888b4ff28dd4450f9bc20ccb8/libs/features/mas/web-components/src/merch-icon.js


⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

https://github.com/adobecom/milo/blob/1d36e98d9d4abbd888b4ff28dd4450f9bc20ccb8/libs/features/mas/web-components/src/variants/ccd-slice.css.js


⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

https://github.com/adobecom/milo/blob/1d36e98d9d4abbd888b4ff28dd4450f9bc20ccb8/libs/features/mas/web-components/src/variants/ccd-slice.js


⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

https://github.com/adobecom/milo/blob/1d36e98d9d4abbd888b4ff28dd4450f9bc20ccb8/libs/features/mas/web-components/src/variants/ccd-suggested.css.js


⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

https://github.com/adobecom/milo/blob/1d36e98d9d4abbd888b4ff28dd4450f9bc20ccb8/libs/features/mas/web-components/src/variants/ccd-suggested.js


⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

https://github.com/adobecom/milo/blob/1d36e98d9d4abbd888b4ff28dd4450f9bc20ccb8/libs/features/mas/web-components/src/variants/variant-layout.js


⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

https://github.com/adobecom/milo/blob/1d36e98d9d4abbd888b4ff28dd4450f9bc20ccb8/libs/features/mas/web-components/test/aem-fragment.test.html.js


⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

https://github.com/adobecom/milo/blob/1d36e98d9d4abbd888b4ff28dd4450f9bc20ccb8/libs/features/mas/web-components/test/merch-card.ccd-slice.test.html.js


⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

https://github.com/adobecom/milo/blob/1d36e98d9d4abbd888b4ff28dd4450f9bc20ccb8/libs/features/mas/web-components/test/merch-card.ccd-suggested.test.html.js


⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

https://github.com/adobecom/milo/blob/1d36e98d9d4abbd888b4ff28dd4450f9bc20ccb8/libs/features/spectrum-web-components/src/themes/dark.js


⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

https://github.com/adobecom/milo/blob/1d36e98d9d4abbd888b4ff28dd4450f9bc20ccb8/libs/features/spectrum-web-components/src/themes/light.js

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Axelcureno @3ch023 @npeltier @yesil could one of you look into ignoring some of the MAS files that get flagged by the linter consistently? It spams the PRs quite a lot and doesn't provide any value if we can't fix it to begin with

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link

codecov bot commented Oct 29, 2024

Codecov Report

Attention: Patch coverage is 85.22073% with 77 lines in your changes missing coverage. Please review.

Project coverage is 96.33%. Comparing base (ff054af) to head (34e21ad).
Report is 77 commits behind head on main.

Files with missing lines Patch % Lines
libs/blocks/preflight/panels/performance.js 78.86% 56 Missing ⚠️
libs/utils/samplerum.js 68.65% 21 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3102      +/-   ##
==========================================
- Coverage   96.45%   96.33%   -0.12%     
==========================================
  Files         246      247       +1     
  Lines       55909    56235     +326     
==========================================
+ Hits        53925    54176     +251     
- Misses       1984     2059      +75     

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

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit

eslint

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

https://github.com/adobecom/milo/blob/12dbfffff6dcd3981df410c19893bf091b9530e8/libs/features/spectrum-web-components/src/themes/light.js

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

* Added performance tab to the Preflight tool (#2773)

added performance tab

* Fixes upon testing

* Address Rares PR Feedback

* Address Narcis PR feedback

* Address Roberts PR feedback

---------

Co-authored-by: Robert Bogos <146744221+robert-bogos@users.noreply.github.com>
… feature (#3067)

* relative urls support for same domain consumers

* hotfix

* added unit tests

* added more complexity to the testing regexp

* hotfix

* implementing feedback
@milo-pr-merge milo-pr-merge bot merged commit 9d89ed8 into main Oct 30, 2024
48 of 50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.