lens
lens copied to clipboard
Keyboard chortcut to select namespace dropdown
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:
- Press "Ctrl + Shift + P" to open the Command Palette
- Type "Pods" (as an example) and press enter to open the Pods view.
- Press "Ctrl + Shift + N" to select the Namespace dropdown
- Type "mongodb" (as an example) then press Enter, which would then show me the Pods in the "mongodb" namespace only.
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:
- Needed because it would drastically increase the productivity by using keyboard shortcuts instead of using the mouse and having to select manually every time then type on the keyboard. Having everything in the keyboard would 10X increase my productivity in Lens, which I absolutely adore!
Environment you are Lens application on:
- Kubernetes distribution: Rancher RKE2
- Desktop OS: MacOS Sonoma 14.6.1
Note: This is related to this enhancement https://github.com/lensapp/lens/issues/7583