-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Setup Wizard #495
Comments
This has been talked about before on O1.... any idea where that is? |
What do you think if to make things easier to develop in a parameters definition step we also have to indicate a viewname to be rendered. This approach doesn't force us to generate a view on the fly based on a parameter definition step. That approach was harder of developing because we need to take into account all the user needs. However using custom views devs can provide the maximum level of customization to their views. |
Just in case anyone is waiting this feature soon. I inform you I'm going to close the PR I started to work on it because what I was attempting is not a good approach. More info on this can be found on this related issue I've just created #716 |
I don't think @sebastienros will agree about this :) he always looking for a single and quick setup screen |
It would be useful to split setup in 1+ N steps: First step will be only for select recipe, next steps to fullfill other data (site name, connection string).
Why? Because based on this feature #396 it would allow to a recipe to take the control of the setup process very early and customise the data required to the user.
Examples of scenarios:
An scenario where I don't want to ask the user the connection string to the db because the recipe will create a db in a predefined server with a db name equal to the tenant name.
An scenario where I want the user only choose the sql server and the dbname but I don't want he provides the complete connection string.
An scenario where I don't want they provide the admin username.
An scenario where I don't want they provide the admin username and password.
In the first page of the setup user only will choose the recipe.
Then the recipe selected will be executed.
When the parameters definition step in the recipe.json is processed the setup page will be shown to the user asking user only those parameters.
Those parameters can be initialised with default values set with variables initialised by previous commands to that step based on #494
When second setup page form is submitted the recipe will continue its execution with the next steps after the parammeters initialization.
We can have as many parammeters steps as we need.
The creation of the site will be done through a command step that will execute a create site command that will receive as parameters the values needed to create the site instead of using current setup handler. In that way after read parammeters in previous steps like db server and db name we can compose the connection string and pass it through parameters to the create site command
What do you think? is it an interesting scenario to cover?
The text was updated successfully, but these errors were encountered: