Actions: add a Deadline field to show on Action List block

XMLWordPrintable

    • Type: Task
    • Resolution: Merged
    • Priority: Should have
    • None
    • 2
    • Actions, Block: Actions List, Campaigns
    • Sprint #261, Sprint #262
    • proteus

      Summary

      Allow editors to set a "last date" for each task. Show a countdown (e.g., "5 days left") before the deadline. Automatically hide the task after the date.

       

      Requirements

      • The whole implementation should be enabled only when a feature flag is enabled (off by default) under Planet 4 > Features
        • Label: Actions Deadline
          Description: Adds option for showing a countdown on Actions List block
      • Use the same "Action Options" section from PLANET-7828
        • Under "Action Options", add a new option called Deadline (this field should be optional to fill out)
        • Ideally use a WP date component. It should be a date field that lets you choose today and a date in the future only.
      • On the frontend:
        • If the date is in the future: Show “X days left” based on today's date (see designs).
        • If the date is in the past: Hide the task.
        • If no date is set, display the box normally.

      Resources

            Assignee:
            Dan Tovbein
            Reporter:
            Toni Garcia
            Carolina Romo Angulo Carolina Romo Angulo
            Osong Agberndifor Osong Agberndifor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: