fabric8-launcher / launcher-application

The fabric8-launcher application
https://developers.redhat.com/launch/
Apache License 2.0
18 stars 53 forks source link

[Idea] Ability to add custom UI/file to creation wizard #984

Open wtrocki opened 4 years ago

wtrocki commented 4 years ago

Description

I'm experimenting currently with building boosters. I build couple powerful boosters for Node.js land, however My general target and idea is that users can actually provide input for their business logic in form of

I'm using toold called Graphback that supports both workflows
However, the problem I have is that launcher does not have the ability to provide the additional view that is booster specific.

In this view booster developers could ask users to provide OpenApi definition or GraphQL Schema.

How this could work

Screenshot 2019-09-05 at 10 52 58

Metadata driven approach

The launcher can have simple metadata elements in the booster that will be used to build dynamic form as part of the separate screen. Inputs from this form could be then applied as laucher-values.json file that then creators of the booster/template can utilize to perform some extra steps.

UI driven approach

Launcher can expose some APi for booster creators that will allow them to provide UI (can be Webcomponents based etc.) and hook for the next button that will allow developers to perform some extra capabilities.

I'm happy to contribute that change to launcher in my free time basing on suggestions.

gastaldi commented 4 years ago

@wtrocki the current UI is really different from the image you pasted. You can see the latest version in https://developers.redhat.com/launch/ and also by running locally with https://github.com/fabric8-launcher/launcher-application#build-and-run-the-application

wtrocki commented 4 years ago

I was basing on the outdated/forked launcher source code that is being used in different projects. The same concept can apply to the new UI that can have next button instead of save.

Screenshot 2019-09-06 at 10 06 49

This is just an idea, but it will be really nice to get some form of customization for sample apps or generating new CRUD apps based on GraphQL Schema or OpenApi definition