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

Details

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

    Description

      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".

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: