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-151392: Sorting button/menu issues on Mobile #2690

Merged
merged 13 commits into from
Aug 21, 2024

Conversation

mirafedas
Copy link
Contributor

@mirafedas mirafedas commented Aug 5, 2024

Changed the SWC version to 0.45.0, which includes the fix for the action menu component.

Resolves: MWPW-151392

Test URLs:

Copy link

codecov bot commented Aug 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.91%. Comparing base (2abe70f) to head (f4fe7e0).
Report is 5 commits behind head on stage.

Additional details and impacted files
@@           Coverage Diff           @@
##            stage    #2690   +/-   ##
=======================================
  Coverage   95.91%   95.91%           
=======================================
  Files         173      173           
  Lines       45831    45834    +3     
=======================================
+ Hits        43958    43961    +3     
  Misses       1873     1873           

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

libs/features/mas/package.json Outdated Show resolved Hide resolved
libs/deps/mas/plans-modal.js Outdated Show resolved Hide resolved
@mirafedas mirafedas force-pushed the mwpw-151392-swc-version branch from bbbefd0 to 061490e Compare August 5, 2024 16:05
@mirafedas mirafedas requested a review from ryanmparrish as a code owner August 5, 2024 16:05
libs/blocks/tabs/tabs.js Outdated Show resolved Hide resolved
Copy link
Contributor

github-actions bot commented Aug 6, 2024

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.

@mirafedas mirafedas force-pushed the mwpw-151392-swc-version branch from 4e63b9b to 6a4efde Compare August 6, 2024 09:30
Copy link
Contributor

aem-code-sync bot commented Aug 6, 2024

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

@mirafedas mirafedas requested review from yesil and Axelcureno August 6, 2024 10:20
libs/features/mas/commerce/stats.json Outdated Show resolved Hide resolved
@3ch023 3ch023 added commerce run-nala Run Nala Test Automation against PR labels Aug 6, 2024
@mirafedas mirafedas force-pushed the mwpw-151392-swc-version branch from 6a4efde to 2240ea3 Compare August 6, 2024 12:51
libs/deps/mas/merch-card-all.js Fixed Show resolved Hide resolved
libs/deps/mas/merch-card-all.js Fixed Show resolved Hide resolved
@Roycethan
Copy link

Roycethan commented Aug 6, 2024

@mirafedas
I see the solution working for ios v 17 and higher ...but Sort button is not at all functional in ios v16 and lower
Reproducible in iPhone 14 v16.5 and iPhone 13 v15.2 and iPad 10th v16.0 and Mac Monterey Safari 15.2
video attached:

screenRecording-6-8-2024-12-47.mp4

@mirafedas mirafedas force-pushed the mwpw-151392-swc-version branch from 0c6e2ce to 6e4c54d Compare August 7, 2024 12:32
@Roycethan
Copy link

@mirafedas Verified and covered regression. One glitch i see hlx.live Vs hlx.page in Safari browser. where clicking on sorting button works on hlx.page (https://main--cc--adobecom.hlx.page/products/catalog?milolibs=mwpw-151392-swc-version--milo--mirafedas ) and doesn't on hlx.live ( https://main--cc--adobecom.hlx.live/products/catalog?milolibs=mwpw-151392-swc-version--milo--mirafedas ) (attached Mac Sonoma Safari browserstack video) - Not sure what could be the reason but before adding ready for stage , plz check and if you could resolve it then you can add the label on my behalf.

screenRecording-13-8-2024-17-55.mp4

Copy link
Contributor

Reminder to set the Ready for Stage label - to queue this to get merged to stage & production.

@mirafedas mirafedas force-pushed the mwpw-151392-swc-version branch from fb5dccb to a9a7f5f Compare August 15, 2024 12:58
@mirafedas
Copy link
Contributor Author

@Roycethan I added a fix for the .live in Safari, could you please double-check if everything works after this?

Copy link
Contributor

@yesil yesil left a comment

Choose a reason for hiding this comment

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

can you try await import instead of loadScript in merch.js?
Also, contrary to what I said in slack, I think we should await polyfills() in catalog before loading any swc code to make sure that custom-elements are loaded.

libs/features/spectrum-web-components/README.md Outdated Show resolved Hide resolved
libs/features/spectrum-web-components/README.md Outdated Show resolved Hide resolved
@mirafedas
Copy link
Contributor Author

@yesil when I replace the loadScript with a dynamic import, it doesn't work. What is the reason why we want to replace it?

@yesil
Copy link
Contributor

yesil commented Aug 15, 2024

@mirafedas awaiting the loadScript doesn't seem to block.
I would like to load custom-elements before any other SWC dependency.
Just trying to be on the safe side.

@Roycethan
Copy link

@Roycethan could you please verify once more?

@mirafedas Works now on Safari

@milo-pr-merge
Copy link
Contributor

milo-pr-merge bot commented Aug 19, 2024

Skipped 2690: "MWPW-151392: Sorting button/menu issues on Mobile" due to file "libs/deps/mas/merch-card-all.js" overlap. Merging will be attempted in the next batch

@milo-pr-merge
Copy link
Contributor

milo-pr-merge bot commented Aug 19, 2024

Skipped 2690: "MWPW-151392: Sorting button/menu issues on Mobile" due to file ".github/codeql/codeql-config.yml" overlap. Merging will be attempted in the next batch

@milo-pr-merge
Copy link
Contributor

milo-pr-merge bot commented Aug 20, 2024

Skipped 2690: "MWPW-151392: Sorting button/menu issues on Mobile" due to file "libs/deps/mas/merch-card-all.js" overlap. Merging will be attempted in the next batch

@milo-pr-merge
Copy link
Contributor

milo-pr-merge bot commented Aug 21, 2024

Skipped merging 2690: MWPW-151392: Sorting button/menu issues on Mobile due to failing checks

@milo-pr-merge milo-pr-merge bot merged commit 7ba11cd into adobecom:stage Aug 21, 2024
12 checks passed
@milo-pr-merge milo-pr-merge bot mentioned this pull request Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
commerce Ready for Stage run-nala Run Nala Test Automation against PR verified PR has been E2E tested by a reviewer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants