-
Notifications
You must be signed in to change notification settings - Fork 32
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
HARVESTER: Fix IP Pool Same Namespace Can Be Added Multiple Times #906
base: master
Are you sure you want to change the base?
Conversation
return [{ | ||
label: this.t('generic.all'), | ||
value: '*', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with the de-duplication of , but I have a different opinion on the All
All
and default
scenario
I can not de-duplication All
because the option All
label is not the same as the value.
As a selector, the option "all" is mutually exclusive with other options, which makes it difficult to interact on UX.
For example, when I add the first selector, the default namespace value is All
, is it not allowed to add namespace default
in this scenario?
@@ -199,7 +204,7 @@ export default { | |||
<Select | |||
v-else | |||
v-model="row.namespace" | |||
:options="namespaceOptions" | |||
:options="showProjectAndCluster ? namespaceOptions : uniqNamespaceOptions" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The guest cluster will have more than one under the same namespace, and it doesn't make sense to de-emphasize the namespace.
4414687
to
e78d9eb
Compare
Summary
PR Checklist
- Is this a multi-tenancy feature/bug?- [ ] Yes, the relevant RBAC changes are at:
- Do we need to backport changes to the old Rancher UI, such as RKE1?- [ ] Yes, the relevant PR is at:
- Are backend engineers aware of UI changes?- [ ] Yes, the backend owner is:
- [ ]
Fix IP Pool Same Namespace Can Be Added Multiple Times
Occurred changes and/or fixed issues
Technical notes summary
Areas or cases that should be tested
Areas which could experience regressions
Screenshot/Video