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

show all namespaces by default #2522

Merged
merged 1 commit into from
May 16, 2017
Merged

show all namespaces by default #2522

merged 1 commit into from
May 16, 2017

Conversation

rade
Copy link
Member

@rade rade commented May 16, 2017

There is nothing special about the "default" namespace, and selecting it by default means we only show a partial view of the system, which is hard to spot, especially for novice users.

There is nothing special about the "default" namespace, and selecting
it by default means we only show a partial view of the system, which
is hard to spot, especially for novice users.
@rade rade requested a review from ekimekim May 16, 2017 08:58
@rade
Copy link
Member Author

rade commented May 16, 2017

I have tested this against a report from dev, so with some k8s in it, but not docker swarm. If somebody could check that please, that would be great.

func namespaceFilters(namespaces []string, defaultNamespace, noneLabel string) APITopologyOptionGroup {
options := APITopologyOptionGroup{ID: "namespace", Default: "", SelectType: "union", NoneLabel: noneLabel}
func namespaceFilters(namespaces []string, noneLabel string) APITopologyOptionGroup {
options := APITopologyOptionGroup{ID: "namespace", Default: "none", SelectType: "union", NoneLabel: noneLabel}

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

Copy link
Contributor

@ekimekim ekimekim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM % the none vs "" thing, which should be fixed in the UI

@rade rade merged commit 61007dc into master May 16, 2017
@rade rade deleted the namespace-default-all branch July 5, 2017 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants