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

ui: Disable setting wildcard partitions for intentions #11804

Merged
merged 2 commits into from
Dec 13, 2021

Conversation

johncowen
Copy link
Contributor

@johncowen johncowen commented Dec 10, 2021

Previously it was possible to select a wildcard partition when trying to make an intention, but as this is not possible, when doing so you would see one of our UI backend errors, which is a little confusing.

Preview link for this PR notice the 2 partition menus have 'default' in them, not * (All Partitions).

Borken Preview Link is very borken as it lets you specify * (All Partitions) which leads to the response when you try to save an intention into a non-mock Consul being very borked 😅

This PR removes being able to select a wildcard partition from the intention menus.

@johncowen johncowen added theme/ui Anything related to the UI backport/1.11 labels Dec 10, 2021
@johncowen johncowen marked this pull request as ready for review December 10, 2021 18:40
@johncowen johncowen added this to the 1.11.0 milestone Dec 10, 2021
@vercel vercel bot temporarily deployed to Preview – consul-ui-staging December 13, 2021 11:02 Inactive
@vercel vercel bot temporarily deployed to Preview – consul December 13, 2021 11:02 Inactive
Copy link
Collaborator

@jgwhite jgwhite left a comment

Choose a reason for hiding this comment

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

Looks good to me

Copy link
Contributor

@msiege2 msiege2 left a comment

Choose a reason for hiding this comment

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

Approving as review has taken place with non-approving reviewer.

@johncowen johncowen merged commit 2ba0e86 into main Dec 13, 2021
@johncowen johncowen deleted the ui/bugfix/no-partition-wildcard-intentions branch December 13, 2021 15:42
@hc-github-team-consul-core
Copy link
Collaborator

🍒 If backport labels were added before merging, cherry-picking will start automatically.

To retroactively trigger a backport after merging, add backport labels and re-run https://circleci.com/gh/hashicorp/consul/525926.

@hc-github-team-consul-core
Copy link
Collaborator

🍒✅ Cherry pick of commit 2ba0e86 onto release/1.11.x succeeded!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/ui Anything related to the UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants