rancher-sandbox / rancher-desktop

Container Management and Kubernetes on the Desktop
https://rancherdesktop.io
Apache License 2.0
5.99k stars 283 forks source link

Improved UX for reconnect to pod logs after disconnection #6721

Open peterklingelhofer opened 6 months ago

peterklingelhofer commented 6 months ago

Problem Description

Rancher does not offer an easy way to reconnect to View Logs of a pod it has disconnected from. One has to close the opened log tab, click the dropdown on the right of the pod, and select View Logs again to attempt a reconnection. This is cumbersome and sub-optimal UX.

Proposed Solution

Upon disconnecting from a pod that is having its logs viewed, the Follow button it the bottom right should turn into a Reconnect button which should allow users to attempt to reconnect to the logs for the specified pod.

Additional Information

No response

bithurder commented 2 weeks ago

As a quicker workaround you can actually click the checkbox [Use Previous Container] in the bottom right of the log window, then quickly un-select it again for a refresh of current pod.

peterklingelhofer commented 2 weeks ago

@bithurder that's brilliant, thank you!