kabanero-io / kabanero-landing

A console application for managing your Kabanero instances. This repo will be archived soon.
Apache License 2.0
4 stars 6 forks source link

Create UI for updating kabanero instance #216

Closed alohr51 closed 4 years ago

alohr51 commented 4 years ago

We will need a nice UI to allow users to update the instance. I am imagining a "edit" link right under the instance name in the accordion that opens a modal with a bunch of fields and a submit button that updates the button.

image

On "edit" link click -> there will be a request to get the latest instance information from the instance name (this endpoint should exist already) then the modal will take that fresh CR info from that request and fill in the modal.

This issue is only for creating that modal with 1 or 2 things to edit, we will add more in future edits. The first 2 should be the instance name and enabling/disabling the codereadyworkspace spec value. Example yaml below (but you should be using the kabanero operator bindings api)

apiVersion: kabanero.io/v1alpha2
kind: Kabanero
metadata:
  name: kabanero
spec:
  version: "0.8.0"
  codeReadyWorkspaces:
    enable: true
  governancePolicy:
    stackPolicy: activeDigest
alohr51 commented 4 years ago

We have 2 options for the Edit link / button that are currently being decided on right now

option 1

Screen Shot 2020-04-09 at 4 14 40 PM

option 2

Screen Shot 2020-04-09 at 4 23 08 PM
mdenby commented 4 years ago

@alohr51 so we think the button version is the way to go.

Screen Shot 2020-04-10 at 12 38 07 PM

alohr51 commented 4 years ago

the modal design from Melissa

Screen Shot 2020-04-13 at 3 50 41 PM