-
Notifications
You must be signed in to change notification settings - Fork 163
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-153363] Countdown Timer implementation based on page metadata #2928
base: stage
Are you sure you want to change the base?
Conversation
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## stage #2928 +/- ##
==========================================
- Coverage 96.24% 96.24% -0.01%
==========================================
Files 236 237 +1
Lines 54278 54421 +143
==========================================
+ Hits 52241 52375 +134
- Misses 2037 2046 +9 ☔ View full report in Codecov by Sentry. |
I am waiting for access to promotions sheets to test this PR. For now, I have tested using injection. |
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.
a few nits, but most of those changes are imo required
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
nit, in createTag, last param can be { parent: container }, and it will be appended to container which should make you save a few lines
As presented in AST, the regions have been using a ticker/timer/countdown visual to boost click-through rates and engagement as an enticement for certain promotions; e.g., Black Friday / Cyber Monday
Countdown Timer (CDT)
Properties:
Resolves: MWPW-153363
Test URLs:
Before: https://main--milo--adobecom.hlx.page/drafts/rahulgup/marquee-parent?martech=off
After: https://cdt-metatag--milo--rahulgupta999.hlx.page/drafts/rahulgup/marquee-parent?martech=off
This has the following authoring dependencies
New Placeholder texts are to be added in the placeholder file
{{cdt-ends-in}}
{{cdt-days}}
{{cdt-hours}}
{{cdt-mins}}
additionally, the following metadata should be present on the page
<meta name="countdown-timer" content="2024-08-26 12:00:00 PST,2024-09-30 00:00:00 PST">
I do not have access to promotions sheet to add metadata.