-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Another tsc run pass which found some invalid properties #20769
Conversation
especially fun |
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.
pkg/networkmanager/interfaces.js
has another instance of cockpit.warn()
, probably worth fixing too
yes! Nicely spotted! |
@@ -123,7 +123,6 @@ export const PasswordFormFields = ({ | |||
</button> | |||
</Popover> | |||
} | |||
validated={error_password ? "warning" : "default"} |
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.
I wonder what the intention was here. This kinda looks like a variant
field, except this component doesn't have one.
In any case, this doesn't make anything worse.
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.
The validated
property normally goes into the input element inside of the FormGroup, like e.g. here in kdump. Firewall and lots of other places use that, too.
In this case it was meant to go into the TextInput className="check-passwords"
below, but that already has it. So removing it here is correct.
Ugh, lots and lots of failures, but they all look unsystematic/flakes. Retrying once. |
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.
Cheers!
@@ -123,7 +123,6 @@ export const PasswordFormFields = ({ | |||
</button> | |||
</Popover> | |||
} | |||
validated={error_password ? "warning" : "default"} |
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.
The validated
property normally goes into the input element inside of the FormGroup, like e.g. here in kdump. Firewall and lots of other places use that, too.
In this case it was meant to go into the TextInput className="check-passwords"
below, but that already has it. So removing it here is correct.
@@ -1455,7 +1455,7 @@ export function settings_applier(model, device, connection) { | |||
} else if (device) { | |||
return device.activate_with_settings(settings); | |||
} else { | |||
cockpit.warn("No way to apply settings", connection, settings); | |||
console.warn("No way to apply settings", connection, settings); |
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.
This added line is not executed by any test.
No description provided.