This repository has been archived by the owner on Oct 10, 2023. It is now read-only.
Kickstart UI: refactor labels #1620
Labels
area/ui
Specific UI issue/enhancement
area/ux
UX related
kind/cleanup
Categorizes issue or PR as related to cleaning up code, process
not-core-cli
Milestone
Problem description
We currently have two different implementation of labels for load-balancer and metadata steps. It would be nice to create a component and re-use it between the two steps.
In addition, we can use a simple array of KeyValuePairs for the backing data structure. This would permit the user to edit both the key and value fields for existing labels.
We can allow a trashcan icon when there is only one key-value pair and have it simply clear the values out of the fields.
(That allows consistency: there is always a trashcan icon.)
Affected product area (please put an X in all that apply)
Expected behavior
Steps to reproduce the bug
Version (include the SHA if the version is not obvious)
Environment where the bug was observed (cloud, OS, etc)
Relevant Debug Output (Logs, manifests, etc)
The text was updated successfully, but these errors were encountered: