fabric8-launcher / launcher-ui-components Goto Github PK
View Code? Open in Web Editor NEWReusable components for the Red Hat Developers Launcher
Home Page: https://developers.redhat.com/launch
License: Apache License 2.0
Reusable components for the Red Hat Developers Launcher
Home Page: https://developers.redhat.com/launch
License: Apache License 2.0
Slim to the bare essentials
Ideally the backend should not be exposed to the outside world. It would be nice if the frontend could proxy requests to backend internally. Perhaps we could use https://github.com/nodejitsu/node-http-proxy
Evaluate the current UI against PatternFly, OpenShift, and Fabric8 to ensure consistency of pattern and style usage.
Verification Criteria:
It would be nice if we could display an error message instead of presenting: The wizard is loading the initial screen... indefinitely
When I finish the launchpad workflow and succesfully deploy the app, for instance via the "Launch on OpenShift" button, I want to go back to the home page, but there is no way to do it from the last page. The Red Hat OPENSHIFT.io logo in the upper-left corner could point to home page, or there could be "Home" button or something similar. What do you think?
openshiftio/appdev-planning#13
Say I go through the entire wizard, using the Continous Delivery option, and then successfully launch the booster on OpenShift. Once the process finishes, the "Launch on OpenShift" button is enabled again. What happes if I click it second time? Not sure if that should even be possible; the button should probably stay disabled. At least in case of success -- in case of errors, I can see the value of another attempt that might succeed in certain cases.
This is to prevent duplicate submissions
https://192.168.99.100:8443
is MiniShift
Per request from legal.
I think that we don't use the project-name as the name to create the zipped file name as the name of the zip is always called -> demo.zip
Example : project name = demo-vertx
Result : demo.zip
Steps to reproduce:
The vert.x dependencies are shown. It should have displayed the spring boot deps instead
It would be nice if UISelectMany fields could be rendered as the Dependencies input in http://wildfly-swarm.io/generator
This list
displays the containers & types of project that we could use (jar, war, EAR).
I would like to suggest to dissociate the packaging type (jar, ear, war) from the container that we will include within zip file generated.
Field -> Container type : Eclipse Vert.x, WilfFly Swarm, Spring Boot
Field -> Packaging Type : jar, war, ear (=> this list is related to the container type chosen)
In the frontend, whenever you position the mouse in a text field and start typing, the focus is lost after a second or so, forcing you to click again in the text box to continue typing. This happens in Chrome as well on Firefox (on Fedora 24).
To reproduce:
We have 3 OpenShift templates for each of the 3 components in the Obsidian project but we want a single combined one that will create all the necessary applications in one step.
PR in #47
@jclingan has a screenshot:
If GitHub repository with the specified name already exists, project creation fails and frontend only shows an empty screen. Mission Control logs have all the errors.
Also, if GitHub secret is setup incorrectly project creation fails too and errors are hidden in the same way.
3 links, as seen by example at https://prod-preview.openshift.io/
The log says:
Caused by: io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://openshift.default.svc.cluster.local/oapi/v1/projectrequests. Message: project "demo" already exists. Received status: Status(apiVersion=v1, code=409, details=StatusDetails(causes=[], group=null, kind=project, name=demo, retryAfterSeconds=null, additionalProperties={}), kind=Status, message=project "demo" already exists, metadata=ListMeta(resourceVersion=null, selfLink=null, additionalProperties={}), reason=AlreadyExists, status=Failure, additionalProperties={}).
It would be nice to show that error in the UI too
Pending PR #82
The registration button needs to:
If I create a new project based on Swarm HTTP API and use a project name like swarm_http_api, the repository gets created in github, however, the project never gets created in my minishift environment. If I use a project named swarmhttpapi then no problems. Hope this is the right place to report this.
The backend now implements the same flow that was implemented locally in the frontend.
By consequence, the frontend master no longer works appropriately, unless 958d1b1 is reverted
Whenever I choose more than an option in a multiple select box, only one item gets selected
Steps to Reproduce:
After the Login button is clicked, It ends up redirecting to http://localhost:8088/wizard/launchpad-new-project/1#state=e782e21f-5554-48e6-8f39-b4334ece41bc&code=VkFsVo4AhdCpV8dani6hhE5wdsh9dtwjCrExVc15HuU.593440fe-e68d-4f8c-b54f-ff41dcf87cbd and the following error is seen in the console:
An error occurred TypeError: Cannot read property 'postMessage' of null
at checkLoginIframe (eval at 1056 (http://localhost:8088/app.js:110:1), <anonymous>:875:53)
at Keycloak.kc.updateToken (eval at 1056 (http://localhost:8088/app.js:110:1), <anonymous>:458:37)
at eval (eval at 112 (http://localhost:8088/app.js:127:1), <anonymous>:60:22)
at new ZoneAwarePromise (eval at <anonymous> (http://localhost:8088/polyfills.js:2957:1), <anonymous>:518:29)
at KeycloakService.getToken (eval at 112 (http://localhost:8088/app.js:127:1), <anonymous>:57:16)
at KeycloakHttp.request (eval at 1043 (http://localhost:8088/app.js:63:1), <anonymous>:38:50)
at KeycloakHttp.Http.get (eval at <anonymous> (http://localhost:8088/vendor.js:1935:1), <anonymous>:139:21)
Right now as far as I can see these values are hardcoded in https://github.com/openshiftio/launchpad-frontend/blob/master/src/assets/keycloak/keycloak.json ? But they really should be picked up from the environment at runtime, just like we do for BACKEND_URL
and KEYCLOAK_SKIP
.
We already use LAUNCHPAD_MISSIONCONTROL_KEYCLOAK_URL
and LAUNCHPAD_MISSIONCONTROL_KEYCLOAK_REALM
for Mission Control of course, but perhaps we should be consistent and add LAUNCHPAD_FRONTEND_KEYCLOAK_URL
and LAUNCHPAD_FRONTEND_KEYCLOAK_REALM
for the frontend? Even if they would always have the same values?
I looked at adding this myself to the entrypoint.sh
script, but unfortunately it didn't work as I expected so I'm leaving this to you @edewit :)
My guess is this is caused because it loses state when clicking on those steps.
Whenever I click on a checkbox (UIInput<Boolean>
) it gets unselected after I click outside the input.
Steps to Reproduce:
Slim it down again
Use by default the MiniShift IP binding e.g.
http://generator-backend-PROJECTNAME.192.168.99.100.nip.io
Comments at: https://docs.engineering.redhat.com/display/~cwalters/Obsidian+Project+Wizard+Review
As always, there are suggestions only - there is nothing earth-shatteringly wrong with the UI as it stands.
Please let me know if you would like these suggestions presented in any other format or coding.
This page seems outdated (quickstarts, Vert.X version, Known Issues ...)
It is accessible from first page of launchpad and also on relative path: /wizard/supported-versions
UXD to work with Obsidian team to understand use case flows for guiding users through some project setups.
Verification Criteria:
...should be seeing "Launch on OpenShift" and "Download" buttons
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.