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

DCXY-20504: Don't pre-render dropzone when l2 limit is hit and upsell is shown #489

Merged
merged 21 commits into from
Dec 7, 2023

Conversation

kbenelli-adobe
Copy link
Collaborator

…is shown.

Copy link
Collaborator

@peller peller left a comment

Choose a reason for hiding this comment

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

We will want to make sure we get cookie support in the widget before deploying this PR to a.com prod. At the earliest that would be Dec 11

Copy link
Collaborator

@TsayAdobe TsayAdobe left a comment

Choose a reason for hiding this comment

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

Looks fine

… potentially adding exh cookie that acom reads. This should be retired once both of their app ids are unified.
@codecov-commenter
Copy link

codecov-commenter commented Dec 1, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (2cd7520) 99.44% compared to head (36fbd72) 99.44%.

Additional details and impacted files
@@           Coverage Diff           @@
##            stage     #489   +/-   ##
=======================================
  Coverage   99.44%   99.44%           
=======================================
  Files          26       26           
  Lines        2878     2895   +17     
=======================================
+ Hits         2862     2879   +17     
  Misses         16       16           

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

@kbenelli-adobe
Copy link
Collaborator Author

Thank you both for the review.
Noting that I recently updated the cookie names and conditional to avoid a potential edge-case bug with chrome-extension-viewer.

Comment on lines 117 to 121
'to-pdf': 'p_ac_cr_p_c',
'pdf-to': 'p_ac_ex_p_c',
'compress-pdf': 'p_ac_cm_p_ops',
'rotate-pages': 'p_ac_or_p_c',
createpdf: 'p_ac_cr_p_c',
Copy link
Collaborator

Choose a reason for hiding this comment

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

hate to add more logic but we should use p_ s_ and d_ for prod, stage and dev, respectively. Perhaps remove the p_ from this map and prepend the right prefix to limitCookie at L220

Copy link
Collaborator Author

@kbenelli-adobe kbenelli-adobe Dec 1, 2023

Choose a reason for hiding this comment

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

No worries, makes sense. Updated

acrobat/blocks/dc-converter-widget/dc-converter-widget.js Outdated Show resolved Hide resolved
@peller peller changed the title DCXY-19397: Don't pre-render dropzone when l2 limit is hit and upsell … DCXY-20504: Don't pre-render dropzone when l2 limit is hit and upsell is shown Dec 3, 2023
@seanchoi-dev seanchoi-dev merged commit ed14673 into adobecom:stage Dec 7, 2023
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.

5 participants