monokle icon indicating copy to clipboard operation
monokle copied to clipboard

Improve changing context in cluster-mode

Open olensmar opened this issue 1 year ago • 2 comments

Currently when I'm in cluster-mode and select another context Monokle disconnects from the current cluster and takes me to the cluster-connect screen without connecting to the selected context - suggest we improve this so that we prompt "Disconnect from [current cluster] and connect to [selected cluster]?" and then directly disconnect/connect..

@julioramosest wdyt?

olensmar avatar May 02 '23 08:05 olensmar

Hi @olensmar, could you also provide details on what do you think which file maybe causing this issue? Also, after cloning the github repo and setting it up locally, how can one reproduce this? Thanks!

Also let me know if you are working on something to improve this!

Bhardwaj-Himanshu avatar May 03 '23 01:05 Bhardwaj-Himanshu

@olensmar I think that's a good option - just as you described. A regular confirmation popup (ant component: https://ant.design/components/popconfirm ) with the text label metioning both the leaving and the entering contexts is enough UX wise.

julioramosest avatar May 03 '23 14:05 julioramosest