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

Modal dialogs: Confirm action/configuration with a button.

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 2.0.0, 2.0-alpha1
    • 2.0.0
    • frontend
    • None

      The current "Add report to dashboard" modal dialog does not require a confirmation (click on a button), instead once a report is selected in the <select>, it currently adds a report and closes the modal immediately.

      While this saves a click, it breaks the established paradigm (and user's expectation) of a modal dialog and how it works. Also, as soon as more options are added to this or any other modal, it will need a button to confirm anyway, potentially resulting in inconsistency between modals that require confirmation and some that don't.

      While at it, we should also add a 'Cancel' button. This does the exact same as the closing "x" on the modal, but it is good practice and welcome UI redundancy.

      As a general rule, every modal should have a button to confirm the action/configuration (primary button, or in case of destructive operations, danger button), and a Cancel button.

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              franz.heidl Franz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: