-
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
shell: Navigate to new host after adding one #21004
shell: Navigate to new host after adding one #21004
Conversation
mvollmer
commented
Sep 13, 2024
- Shell: Extra warnings when connecting to remote hosts #20826
componentWillUnmount() { | ||
window.trigger_connection_flow = null; |
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.
These 2 added lines are not executed by any test.
if (machine == this.props.machine && parts.address != machine.address) { | ||
this.props.loader.connect(parts.address); | ||
this.props.jump(addr); |
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.
These 3 added lines are not executed by any test.
try { | ||
await try2Connect(this.props.machines, machine.connection_string); | ||
connection_string = machine.connection_string; | ||
} catch (err) { |
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.
// continue with troubleshooting in the dialog | ||
connection_string = await this.showModal({ | ||
address: machine.address, | ||
template: codes[err.problem] || "change-port", |
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.
@@ -124,6 +196,8 @@ class AddMachine extends React.Component { | |||
old_machine = props.machines_ins.lookup(props.old_address); | |||
if (old_machine) | |||
color = this.rgb2Hex(old_machine.color); | |||
if (old_machine && !old_machine.visible) | |||
old_machine = null; |
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.
if (port_index === -1) { | ||
host_id_port = address + ":22"; |
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.
These 2 added lines are not executed by any test.
if (machine && machine.host_key && !machine.on_disk) { | ||
conn_options['temp-session'] = false; // Compatibility option | ||
conn_options.session = 'shared'; | ||
conn_options['host-key'] = machine.host_key; |
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.
These 4 added lines are not executed by any test.
.then(([result]) => { | ||
if (result == "false" || result == "no") { | ||
window.sessionStorage.setItem("connection-warning-shown", "yes"); |
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.
These 3 added lines are not executed by any test.
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.
(EDIT: oh, whoops; commented on the wrong PR 😁)
Now part of #20826. |