Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-4809

Improve validation warning messages for number fields

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 3.7.0
    • None
    • backend
    • None
    • 3
    • Not defined

      Steps to produce:
      1. Select Start Date or End Date from the process instances filter
      2. Choose Rolling
      3. Do not specify an integer value

      Problem:
      Warning message when we do not specify an integer value from the start date filter is technical. "Please enter a positive integer value"

      Suggestion:
      It could be "Please enter a positive number"

        This is the controller panel for Smart Panels app

          1. alert-validation.png
            alert-validation.png
            129 kB
          2. date-filter-validation.png
            date-filter-validation.png
            58 kB
          3. date-filter-validation2.png
            date-filter-validation2.png
            37 kB
          4. date-filter-validation3.png
            date-filter-validation3.png
            63 kB
          5. goal-validation.png
            goal-validation.png
            22 kB
          6. image (8).png
            image (8).png
            21 kB
          7. image (9).png
            image (9).png
            17 kB
          8. Screenshot 2021-01-29 at 10.13.39.png
            Screenshot 2021-01-29 at 10.13.39.png
            28 kB

            [OPT-4809] Improve validation warning messages for number fields

            Asia Malina added a comment -

            Suggestion: 

            When this is picked up, please let me know and we can look at all the cases together. 

            Asia Malina added a comment - Suggestion:  When this is picked up, please let me know and we can look at all the cases together. 

            Asia Malina added a comment -

            Whole numbers error message
            'Enter a number 0 or greater'
            • Goal baseline (process and decision reports)

            Counting number error messages
            'Enter a positive number' 

            • Goal Target (process and decision reports)

            • Instance date 
               Select rolling date. 0 Is an allowed input, which doesn't make sense, ideally, we would display an error in this case. 

            • Flow Node date (Process instance and Flow Node level) 
               Select rolling date. 0 Is an allowed input, which doesn't make sense, ideally, we would display an error in this case. 

            • Process instance duration filter

            • Flow Node duration filter
               Remove error message visible by default

            • Evaluation date time filter (Decision report)
              0 Is an allowed input, which doesn't make sense, ideally, we would display an error in this case. 

            Add error message
            • Alert: Report value and Check report cadence.

            Thanks eric.lundberg

             

             

            Asia Malina added a comment - Whole numbers error message 'Enter a number 0 or greater' • Goal baseline (process and decision reports) Counting number error messages 'Enter a positive number'   • Goal Target (process and decision reports) • Instance date     Select rolling date. 0 Is an allowed input, which doesn't make sense, ideally, we would display an error in this case.  • Flow Node date (Process instance and Flow Node level)     Select rolling date. 0 Is an allowed input, which doesn't make sense, ideally, we would display an error in this case.  • Process instance duration filter • Flow Node duration filter    Remove error message visible by default • Evaluation date time filter (Decision report)   0 Is an allowed input, which doesn't make sense, ideally, we would display an error in this case.  Add error message • Alert: Report value and Check report cadence. Thanks eric.lundberg    

            asia.malina here's what you get for free, without omran.abazeed help

            There are 2 things a professional dev can fix:

            1. "Flow Node duration filter - Remove error message visible by default": I can remove the error message, but I can't cause it to only show up after a user makes a change, and then deletes it.
            2. "Add error message - Alert: Report value" (location): I don't know where to put the element such that it looks nice (and is properly aligned under the threshold). That likely involves some CSS changes and I have no plans to update components

            Eric Lundberg added a comment - asia.malina here's what you get for free, without omran.abazeed help There are 2 things a professional dev can fix: "Flow Node duration filter - Remove error message visible by default": I can remove the error message, but I can't cause it to only show up after a user makes a change, and then deletes it. "Add error message - Alert: Report value" (location): I don't know where to put the element such that it looks nice (and is properly aligned under the threshold). That likely involves some CSS changes and I have no plans to update components

              Unassigned Unassigned
              cigdem.ilhan Cigdem Ilhan
              Eric Lundberg Eric Lundberg
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: