Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

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

Open
wtrocki opened this issue Sep 5, 2019 · 2 comments
Open

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

wtrocki opened this issue Sep 5, 2019 · 2 comments

Comments

@wtrocki
Copy link

wtrocki commented Sep 5, 2019

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

  • OpenAPi definition from Apicurio/Swagger (for Node.js gateway mission)
  • GraphQL Schema (For CRUD backed by Postgres mission)

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.

@wtrocki wtrocki changed the title [Idea] Ability to add custom UI/file for lau [Idea] Ability to add custom UI/file to creation wizard Sep 5, 2019
@gastaldi
Copy link
Contributor

gastaldi commented Sep 5, 2019

@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
Copy link
Author

wtrocki commented Sep 6, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants