Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-3755

[DMN Designer] Data Types - Constraints (Range/Enumeration) - Add "Date/Time" component when the type is "Date/Time"

    XMLWordPrintable

Details

    Description

      When the type of the Data Type is "Date/Time", add the "Date/Time" component to the input, as the following mockup shows:

      Enum/Range:

      Components:

      ⚠️ Notice:
      This component has some elements from the time component (https://issues.jboss.org/browse/DROOLS-3665):

      • An input with the timepicker;
      • A toggle button (to toggle between offset and timezone)
      • An input which is filled accordingly to the toggle button

      Acceptance test

      Both on Firefox and Chrome

      • Enumeration, Save and reopen
      • Range, Save and reopen date-time-range.webm
      • Expression, Save and reopen
      • Change constraint, both date and time
      • Change constraint, just time
      • Change constraint, just date
      • Build and deploy project where date/time constraint in use

      Re-review

      Issues from acceptance test fixed

      Attachments

        1. datetime-dropdown.png
          datetime-dropdown.png
          267 kB
        2. datetime-enum.png
          datetime-enum.png
          194 kB
        3. datetime-range.png
          datetime-range.png
          249 kB
        4. date-time-range.webm
          214 kB
        5. datetime-time.png
          datetime-time.png
          228 kB
        6. dt-firefox-1.png
          dt-firefox-1.png
          128 kB
        7. dt-firefox-2.png
          dt-firefox-2.png
          117 kB

        Issue Links

          Activity

            People

              dadossan Daniel José dos Santos (Inactive)
              karreiro_ Guilherme Gomes (Inactive)
              Jozef Marko Jozef Marko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: