disable the option to delete the last revision in traffic splitting modal - #3486
Conversation
|
@openshift/team-devconsole-ux @serenamarie125 This PR needs your approval. |
|
/assign @vikram-raj |
serenamarie125
left a comment
There was a problem hiding this comment.
@karthikjeeyar rather than removing it in this case, please just disable the remove '-' icon.
This way upon adding additional revisions and deleting all but one revision, the icon will just change states rather than being added/removed.
d6cdc0b to
adf1a4a
Compare
vikram-raj
left a comment
There was a problem hiding this comment.
@karthikjeeyar disable - icon color is different here.
see the build config field disabled color.
@serenamarie125 Which one you recommend?
There was a problem hiding this comment.
should be --pf-global--disabled-color--200 to align with the plain button variant.
I created a tech debt item to convert this delete button to an actual button.
There was a problem hiding this comment.
updated to --pf-global--disabled-color--200
adf1a4a to
81f2946
Compare
81f2946 to
195d093
Compare
There was a problem hiding this comment.
| style={{ padding: 0 }} | |
| isInline |
There was a problem hiding this comment.
If you make toolTip the last param instead you can simplify to this, rather than duplicating the string Delete:
minusCircleIcon(onDelete, disableDeleteRow)
195d093 to
029527a
Compare
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: christianvogt, karthikjeeyar, serenamarie125, vikram-raj The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@karthikjeeyar: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |


Fixes: https://jira.coreos.com/browse/ODC-2250