-
Notifications
You must be signed in to change notification settings - Fork 169
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-143143: Improvements for Upgrade modal #2323
Conversation
Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
Commits
|
|
@@ -226,7 +226,7 @@ export async function getUpgradeAction( | |||
imsSignedInPromise, | |||
[{ productArrangement: { productFamily: offerFamily } = {} }], | |||
) { | |||
if (options.entitlement === false) return undefined; | |||
if (!options.upgrade) return undefined; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't we need both flags here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i was thinking about it, but then decided to remove 'entitlement' to have more flexibility.
- entitlement=true&upgrade=true: users will have both Download button and upgrade modal experience, depending on their bought products
- entitlement=true&upgrade=false: users will have only Download button flow
- entitlement=false&upgrade=true: users will have only the Upgrade modal, but no Download flow
- entitlement=false&upgrade=false: only checkout page
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
entitlement=true&upgrade=true: users will have both TWP modal and upgrade modal experience
actually this is not correct, you need the modal=true
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## stage #2323 +/- ##
==========================================
- Coverage 95.67% 95.66% -0.01%
==========================================
Files 173 173
Lines 45204 45209 +5
==========================================
+ Hits 43248 43251 +3
- Misses 1956 1958 +2 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@3ch023 Verified |
Reminder to set the |
thank you @Roycethan ! the process changed a bit now, so only the QA should be setting the 'Ready for Stage' label (i guess instead of 'verified' or together with 'verified') |
Adding 'do not merge', since this PR also is blocked by Optical Price audit |
This PR has not been updated recently and will be closed in 7 days if no action is taken. Please ensure all checks are passing, https://github.com/orgs/adobecom/discussions/997 provides instructions. If the PR is ready to be merged, please mark it with the "Ready for Stage" label. |
Links
Resolves https://jira.corp.adobe.com/browse/MWPW-143143
Tacocat PR: https://git.corp.adobe.com/wcms/tacocat.js/pull/592
Summary
How To Test
Test URLs: