Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Left Sidebar and Namespace Context Switching #8173

Open
nmdaniil opened this issue Feb 12, 2025 · 1 comment
Open

Left Sidebar and Namespace Context Switching #8173

nmdaniil opened this issue Feb 12, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@nmdaniil
Copy link

Describe the bug
When switching between different resources (e.g., Secrets, Services) in the left sidebar, Lens incorrectly reopens previously opened tabs with their old namespace selection instead of respecting the currently selected namespace. This leads to confusion and accidental modifications in the wrong namespace.

To Reproduce
Steps to reproduce the behavior:

  1. Open Secrets from the left sidebar and set the namespace filter to namespace1.
  2. Navigate to Services and change the namespace filter to namespace999.
  3. Now, while in the context of namespace999, go back to Secrets.
  4. Expected behavior: The Secrets tab should open with namespace999 selected.
  5. Actual behavior: The previously opened Secrets tab with namespace1 is reopened.
  6. This causes confusion because I forgot that I was in namespace1 before and now I might accidentally modify secrets for the wrong namespace.

Expected behavior
When switching between resources, Lens should respect the currently selected namespace instead of reopening an old tab with a different namespace.

Environment (please complete the following information):

  • Lens Version: Lens: 2025.1.161916-latest
  • OS: MacOs Sonoma Version 14.5 (23F79)
  • Installation method: download .dmg
@nmdaniil nmdaniil added the bug Something isn't working label Feb 12, 2025
@koshevka
Copy link

Dear @nmdaniil

Thank you for reaching out to Lens Support!

Thanks for reporting a bug.
We are working on your issue. Stand by for further updates.

Regards,
Oleksandr from Lens

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants