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-19397: Don't pre-render dropzone when l2 limit is hit and upsell is shown #490

Closed
wants to merge 7 commits into from

Conversation

peller
Copy link
Collaborator

@peller peller commented Nov 22, 2023

DC Web will keep a set of cookies for when a limit has been reached. We can check this cookie to predict whether an upsell will be shown and only pre-render the dropzone if that cookie is not set.

merged from kbenelli-adobe:DCXY-19397-New

@kbenelli-adobe

Copy link

aem-code-sync bot commented Nov 22, 2023

Hello, I'm the AEM Code Sync Bot and I will run some test suites that validate the page speed.
In case there are problems, just click the checkbox below to rerun the respective action.

  • Re-run PSI Checks

@codecov-commenter
Copy link

codecov-commenter commented Nov 22, 2023

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (700e831) 99.44% compared to head (379b69e) 99.34%.

Files Patch % Lines
.../blocks/dc-converter-widget/dc-converter-widget.js 85.71% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##            stage     #490      +/-   ##
==========================================
- Coverage   99.44%   99.34%   -0.11%     
==========================================
  Files          26       26              
  Lines        2878     2894      +16     
==========================================
+ Hits         2862     2875      +13     
- Misses         16       19       +3     

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

@@ -113,7 +113,17 @@ const verbRedirMap = {
'number-pages': 'number',
};

const exhLimitCookieMap = {
'createpdf': 'cr_p_c_e',
Copy link
Contributor

Choose a reason for hiding this comment

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

🚫 [eslint] <quote-props> reported by reviewdog 🐶
Unnecessarily quoted property 'createpdf' found.

Suggested change
'createpdf': 'cr_p_c_e',
createpdf: 'cr_p_c_e',

@peller peller marked this pull request as draft November 22, 2023 02:22
Copy link

aem-code-sync bot commented Nov 22, 2023

Page Scores Audits Google
/acrobat/online/word-to-pdf Lighthouse returned error: ERRORED_DOCUMENT_REQUEST. Lighthouse was unable to reliably load the page you requested. Make sure you are testing the correct URL and that the server is properly responding to all requests. (Status code: 401) PSI
/acrobat/online/request-signature Lighthouse returned error: ERRORED_DOCUMENT_REQUEST. Lighthouse was unable to reliably load the page you requested. Make sure you are testing the correct URL and that the server is properly responding to all requests. (Status code: 401) PSI
/acrobat/resources/how-to-create-fillable-pdf Lighthouse returned error: ERRORED_DOCUMENT_REQUEST. Lighthouse was unable to reliably load the page you requested. Make sure you are testing the correct URL and that the server is properly responding to all requests. (Status code: 401) PSI

@peller
Copy link
Collaborator Author

peller commented Dec 1, 2023

closing in favor of #489

@peller peller closed this Dec 1, 2023
@Blainegunn Blainegunn deleted the hydration-limits branch March 5, 2024 15:08
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