lensapp / lens

Lens - The way the world runs Kubernetes
https://k8slens.dev/
MIT License
22.47k stars 1.45k forks source link

Keyboard chortcut to select namespace dropdown #8078

Open heiba opened 1 month ago

heiba commented 1 month ago

What would you like to be added: Keyboard shortcut to select the Namespace dropdown in anyway. Keyboard shortcut can be "Ctrl + Shift + N" or "Ctrl + Shift + O" or anything fixed from Lens side. Doesn't have to be customizable for each user.

Disclaimer: I am more than happy to support in developing this simple shortcut and provide all the time and efforts necessary to develop, test and ship this feature with the next update.

The flow I wish to have:

See screenshot below for more clarity.

This should also apply in the Secrets view, or any view where there is a "namespace" dropdown menu on the top right.

Why is this needed:

Environment you are Lens application on:

Note: This is related to this enhancement https://github.com/lensapp/lens/issues/7583

image
heiba commented 4 weeks ago

@Nokel81 anyway you can tell me how to do it ?