Skip to content

Toggle Namespace Filter in Pods View with 'n' Key #3595

@orthlus

Description

@orthlus




Is your feature request related to a problem? Please describe.
When browsing pods in "all namespaces" mode, users often need to quickly focus on a specific namespace after finding a pod of interest. Currently, this requires manually switching namespace contexts through multiple steps, which disrupts workflow efficiency.

Describe the solution you'd like
Add a toggle behavior for the n key when in the pods view with "all namespaces" selected:

  1. When a pod is selected and the user presses n, filter the pod list to show only pods from the selected pod's namespace
  2. The view should update to reflect this namespace filter in the header
  3. Pressing n again while in this filtered state should return to the "all namespaces" view

Describe alternatives you've considered

  1. Manual namespace switching: Currently using : then ns <namespace> - but this requires typing and is slower
  2. Using the namespace view first: Switching to the namespace view first then pods - but this adds navigation steps when already working with pods
  3. Selecting namespace using numbers, but this requires a restart with -n or other settings

Additional context

  • The toggle button need be in header nere other hot keys
  • Maybe not only for pods, but for other resources

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestin-progressMark issue as being worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions