Dashboard: Reenable namespace change dialog

Created on 13 Jun 2019  路  5Comments  路  Source: kubernetes/dashboard

At the moment its code is commended in the NamespaceSelectorComponent.

kincleanup prioritcritical-urgent

Most helpful comment

@abursavich The dialog is needed for some users as it informs you about "silent" namespace change. You might not even realize in some cases that namespace has been changed. This creates confusion. We could maybe add a checkbox to the dialog, to remember user choice and not display it over again.

All 5 comments

That dialog is so annoying. If you're going to reenable it, can you also add an option to disable it (similar to page size, maybe)?

Good point, I think we can start some discussion here if we need that.

@abursavich The dialog is needed for some users as it informs you about "silent" namespace change. You might not even realize in some cases that namespace has been changed. This creates confusion. We could maybe add a checkbox to the dialog, to remember user choice and not display it over again.

Hitting the problem again and taking a minute to analyze it, I think my biggest problem is the wording and that YES/NO are inverted from what I expect.

When trying to change from namespace _foo_ to _bar_, you're asked if you want to Change namespace? but you have to read the fine print because selecting YES switches you backwards to _foo_ not forwards to _bar_.


Change namespace?

Selected resource is in a different namespace than currently selected.
Do you want to change namespace from _bar_ to _foo_?

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [ YES ] . . . . . . [ NO ]


I always hit YES when I want to change namespace and NO when I don't want to change namespace.

Actually in the new version wording have been updated. It is now:


Namespace conflict

Selected namespace is different than namespace of currently selected resource.
Do you want to stay on current page and change namespace from foo to bar?

_YES_ _NO_


Is it easier to understand?

Was this page helpful?
0 / 5 - 0 ratings