-
Notifications
You must be signed in to change notification settings - Fork 87
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
As a user I want to have the Coming Up field active when I create a new story in save as a template. [SDBELGA-466] #4033
Conversation
…ew story in save as a template. [DBELGA-466]
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.
Can you post functional changes in PR description? There's a ticket for this, but this is a 2nd PR for the same ticket if we don't count the one addressing comments from the first one. Were there issues with first implementation, did requirements change?
The previous PR changes are working fine. Actually, there is one new requirement like when we create an article with a template containing the coming up field then choose any date in the future for it and save the article as a template. after this when we create a new article with that new template then coming up field should behave like it is just turned on(means current datetime + offset time) |
If I understand correctly, the issue is that when you "save as template" from authoring, it will save the date that is selected via date picker, and not the dynamic date template that we want to get saved? If that's the case, adding |
yep, that was the case. |
…ss current value as argument
…ew story in save as a template. [SDBELGA-466] (#4033) * As a user I want to have the Coming Up field active when I create a new story in save as a template. [DBELGA-466] * minor change * address the comment * add implementation of date-time field inside the extension * trigger `onTemplateCreate` for all extensions, not only date time; pass current value as argument * fix unit tests Co-authored-by: Tomas Kikutis <t.kikutis@gmail.com>
No description provided.