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-149125 and MWPW-147035 #19

Closed
wants to merge 2 commits into from

Conversation

bozojovicic
Copy link
Collaborator

These are 2 TWP tickets reported long time ago but I could not implement them before TWP code in Milo is merged to Stage. MWPW-147035 is also blocked by one bug in TWP in Milo code (Card title not displayed) but I will provide the fix for that bug in Milo PR after this PR is merged.

Fix # MWPW-149125 Suppress Stock Checkbox on all modals for mobile users only
Fix # MWPW-147035 Ability to deeplink into a card or tab within the modal

Test URLs:

Copy link

aem-code-sync bot commented Jun 27, 2024

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

@@ -370,7 +374,9 @@ export class MerchTwpD2P extends LitElement {
}

get preselectedCardId() {
const preselectedCardIds = parseState()['select-cards']?.split(',').reduce((res, item) => {
const params = new URLSearchParams(window.location.search);
Copy link
Collaborator

Choose a reason for hiding this comment

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

we should not use the search params but hash.

@npeltier
Copy link
Collaborator

npeltier commented Jul 3, 2024

also @bozojovicic we should have one PR / commit per ticket

@npeltier
Copy link
Collaborator

npeltier commented Jul 9, 2024

back to backlog

@npeltier npeltier closed this Jul 9, 2024
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