Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-2527

Wizard step - Allow to finish in the CLI instead of having to walk through all UIInput

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Minor Minor
    • 3.x Future
    • 2.20.1.Final
    • UI - Shell
    • None

      When using the CLI and you have a forge addon with a wizard. And in the wizard you have N number of UIInput.

      Now suppose the first 2 options is mandatory and the CLI marks those with * to indicate reguired and you enter some values.

      But then there is 18 optional options still to go. In the IDEA / Eclipse graphical wizards the wizard allows you to press "finish" button.

      But in the CLI all those 18 options is listed one by one, and you have to press ENTER.

      I wonder if for example a CTRL + ENTER or some other combination can make it like a "finish" button click.

      Now the trick is that to show those 18 optional options in the CLI I had to mark them specially as hint enabled with this code
      https://github.com/davsclaus/fuse/blob/master/forge/addons/utils/src/main/java/io/fabric8/forge/addon/utils/UIHelper.java#L102

      But I would like to be able to press CTRL + ENTER as a "finish".

              Unassigned Unassigned
              cibsen@redhat.com Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: