-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto select one and only cluster from pasted config #888
Conversation
@@ -54,8 +54,7 @@ | |||
|
|||
form:not([novalidate]):invalid &[type=submit]:not(.active), | |||
&:disabled { | |||
color: silver; | |||
background: $buttonDisabledBackground; | |||
opacity: 50%; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this Lens standard behaviour?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, most other disabled items change opacity.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM except...this definitely gums up the integration tests, which open the drop-down and click on 'minikube'. Now it is probably deselecting 'minikube' and then trying to click the button, which will be grayed out.
Trying to run the tests locally makes it even worse, because it'll depend on how many contexts the user has in their config.
@jim-docker I just opened #917 to fix those tests |
- Disable add button with tooltip if no clusters are selected - Add functionality to tooltip to display correctly over disabled elements Signed-off-by: Sebastian Malton <smalton@mirantis.com>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
ba85658
to
35ab6ff
Compare
Signed-off-by: Sebastian Malton <sebastian@malton.name>
I have push a simplification to the |
elements
Signed-off-by: Sebastian Malton smalton@mirantis.com
fixes #850