Project

General

Profile

Actions

Feature #94019

open

Install-Tool UpgradeWizardService should support getWizardUserInput with form or multiple-choice

Added by Gabriel Kaufmann / Typoworx NewMedia almost 3 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2021-04-29
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

In some cases I had custom Upgrade-Wizards that require some type of decisions input in how to proceed with the upgrade.

I noticed the UpgradeWizardsService::getWizardUserInput() has hard coded Confirmation supporting only Yes or No Questions.

Why isn't the visible interface build using the Confirmation-Class using some provided form methods?

As the ChattyInterface already provides similar methods for CLI I think it would be most efficient to kind of transform these Inputs to interactive HTML including HTML output for the "Outputs".

In first place I think about these Inputs:

  • ConfirmationQuestion --> just like the exisiting Confirmable (Yes / No)
  • ChoiceQuestion --> Radio/Multi-Select field

(https://symfony.com/doc/current/components/console/helpers/questionhelper.html)

No data to display

Actions

Also available in: Atom PDF