Giter Site home page Giter Site logo

fabric8-launcher / launcher-ui-components Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 28.0 9.62 MB

Reusable components for the Red Hat Developers Launcher

Home Page: https://developers.redhat.com/launch

License: Apache License 2.0

JavaScript 8.69% TypeScript 76.31% CSS 7.54% Shell 7.46%

launcher-ui-components's People

Contributors

dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar edewit avatar gastaldi avatar ia3andy avatar quintesse avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

launcher-ui-components's Issues

UX Evaluation & Updates

Evaluate the current UI against PatternFly, OpenShift, and Fabric8 to ensure consistency of pattern and style usage.

Verification Criteria:

  • UI suggestions captured and shared with PatternFly, OpenShift, Fabric8 UX teams for a final check of consistency by many
  • Final UI improvements shared back to Obsidian team

The last page of the launchpad workflow has no link to the home page

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?

Copy changes from DevTools review

  • Remove references to "Launchpad"
  • All references to "OpenShift" should be "OpenShift Online" ("Red Hat OpenShift Online" for first mention)

what happens if I click the "Launch on OpenShift" button again?

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.

Next button shows outdated info from previous navigation

Steps to reproduce:

  • Click "A starter" button
  • select Vert.x and click Next
  • Click back FROM THE BROWSER
  • select Spring Boot and click next

The vert.x dependencies are shown. It should have displayed the spring boot deps instead

Filter the project types to display the containers

This list
screenshot 2016-11-19 19 37 33 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)

Text fields lose focus

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:

  1. On the frontend start screen, click the 'using a quickstart' button.
  2. On the next screen, click on the 'Project name' field
  3. Type a couple of characters, then stop typing
  4. The focus on the field is lost after ~1 sec

Create combined OpenShift template

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.

GitHub errors not reported when creating a project

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.

The "Working..." loading image still keeps running when an error happens

screenshot from 2017-04-12 15-56-20

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

Create project with underscore issue?

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.

Adapt frontend to backend changes

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

Cannot select more than one option in multiple select boxes

Whenever I choose more than an option in a multiple select box, only one item gets selected
Steps to Reproduce:

  • Choose Wildfly Swarm Microservice project type
  • Click Next twice
    -- You should be presented with a multiple select box select
  • Select more than one option
  • Click anywhere in the page to invoke the field's onchange
    -- The select box only selects one option

Issue with the FORGE_URL ENV variable

The FORGE_URL is well defined to access the backend

screenshot 2016-12-01 12 25 52

but an error is reported within the Web console

screenshot 2016-12-01 12 26 54

I suspect that the code doesn't use the ENV variable.

Keycloak integration is broken

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)

Dynamically pick up KEYCLOAK_URL and KEYCLOAK_REALM values

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 :)

Breadcrumbs are clickable but they navigate to the wrong screen

  1. Choose " Begin by selecting a runtime project framework (Eclipse Vert.x, WildFly Swarm, or Spring Boot)"
  2. Select "WildFly Swarm"
  3. Do not click next, click on #2 - WildFly Swarm: Setup in the upper section of the page
  4. Spring Boot: Setup is presented instead

My guess is this is caused because it loses state when clicking on those steps.

Checkboxes cannot be selected

Whenever I click on a checkbox (UIInput<Boolean>) it gets unselected after I click outside the input.
Steps to Reproduce:

  • Choosing Java Library (Jar)
  • Click next
  • Select the Checkbox (Create Main class)
  • Click anywhere in the page to invoke the field's onchange
  • The checkbox is unselected magically

UX - Workflows

UXD to work with Obsidian team to understand use case flows for guiding users through some project setups.

Verification Criteria:

  • Meetings with Obsidian team recorded and captured
  • Flows discussed captured, documented, shared with Obsidian team in preparation for wireframe phase
  • Any outstanding questions documented

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.