Closed maggieliu closed 4 years ago
Headers for value on page 3 and 5 are incorrect (related workloads and values) should match "values" on page 2 and 4.
UI/UX review:
[x] Type field contents should be alphanumeric. Secret should still be default
[x] When I click on Type and I have Secret selected. It show other fields as selected
[x] Is there a way to turn off the auto fill?
[x] Value Field default text and typed text is not centered in field. It's in upper left
[x] Line height is missing for Description field. I know this will add space to other fields as well. But if you have something misspelled or descenders it starts to really look crowded
[x] Turn off Spell check for Value cause this will have cert info in it and will probably be just one long big red line
[x] Do we want more space between rows?
[x] Clicking on Type then trying to create a secret give me an error
[x] Example text should be there all the time and the color needs to be lighter then the label text
[x] Namespace section of field seems too large
[x] Add & Read from File - change so no icon and the casing should be all caps (maybe fonts wrong as well?)
[x] Add default text to registry domain Name field and make it says 'e.g. index.docker.io'
@mantis-toboggan-md could you take a look at these last couple of tasks?
Here are some notes from what I've marked as complete and the last few that need completed
Thanks!
Feedback based on convo with @ibuildthecloud
*[x] List View - Header Edits
annotations:
kubernetes.io/service-account.name: <service_account_name>
Note for reference: We dropped the ability to select multiple namespaces when creating a secret. In Ember we had the ability to create a secret for all namespaces in a project, but removing this functionality for now in Vue.
"Type" dropdown field should be able to select from choices but also ability to input free form text. But currently, it's weird/hard to do @lvuch can you look into this?
Placeholder text should make it more obvious that it's both a text area and dropdown
@lvuch
Provider
to Address
?
Design issue with Type dropdown filed in https://github.com/rancher/dashboard/issues/552
[x] When editing a "service account token" secret, the type dropdown is broken. It's populated correctly, but I cannot change it.
[x] When selecting between types in the dropdown (on create new), it doesn't switch the form. For opaque, it's key value pairs, but for registry it shows the Provider
section.
[x] When looking at secret that is a different type from "Certificate, Registry, Opaque", it's showing up like this. It should just show Service Acct Token
, which is the typeDisplay
[x] Missing Labels and Annotations tabs from the detail page
type dropdown fix https://github.com/rancher/dashboard/pull/554
Open Remaining Issues for @mantis-toboggan-md :
Type Dropdown
Docker JSON
-> Registry
[.] Type: SortableTable
can we display all the content in the fields in the rows? We are cutting off the data for no reason. Private Key
and CA Certificate
with Headers.Private Key
or CA Certificate
fields with the data. Instead, it's populated under the "Opaque" type fields. Paste in the private key, typically starting with -----BEGIN RSA PRIVATE KEY-----
Paste in the CA certificate, starting with -----BEGIN CERTIFICATE-----
Address
. By default, if it doesn't' match any of the first 3 options, it should default to custom. CA Certificate
instead of Certificate
to match the Edit page headerPaste in the private key, typically starting with -----BEGIN RSA PRIVATE KEY-----
Paste in the CA certificate, starting with -----BEGIN CERTIFICATE-----
@deniseschannon from what I can see editing the 'type' field of secrets is not supported; trying returns the error:
"message": "Secret \"test-change-type\" is invalid: type: Invalid value: \"kubernetes.io/tls\": field is immutable", "status": 422
Overall, there are some design issues that will be taken care of other issues (KeyValue component https://github.com/rancher/dashboard/issues/589, masthead https://github.com/rancher/dashboard/issues/538#issuecomment-623722980)
- [x] Example text should be there all the time and the color needs to be lighter then the label text
To clarify, this was discussed in a zoom call: all (empty) labeled inputs with example text should show that text by default and hide it when hovered. The example text should be less prominent than the label(darker than label on the dark theme, lighter than label on the light theme)
Validation for Secret (Cert, Reg , Opaque) for List/Detail & Create/Edit pages is done. Issues found when testing these pages are tracked as different issues.
Use this wireframe from rancher/dashboard#257 for list of secrets/secret detail/create secret pages:
https://xd.adobe.com/view/f6684727-5553-46f3-759e-76118e955b2e-8059/