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

Last Project Member removal in Rancher Dashboard #13167

Open
cnotv opened this issue Jan 21, 2025 · 2 comments
Open

Last Project Member removal in Rancher Dashboard #13167

cnotv opened this issue Jan 21, 2025 · 2 comments
Labels
JIRA kind/bug QA/dev-automation Issues that engineers have written automation around so QA doesn't have look at this
Milestone

Comments

@cnotv
Copy link
Member

cnotv commented Jan 21, 2025

Setup

  • Jira: SURE-9616
  • Rancher version: 2.10.1
  • Rancher UI Extensions: /
  • Browser type & version: any

Describe the bug
In Rancher 2.10.1 Project Member editing has a UI bug when removing a Project Member. Once the "Remove" button is clicked, UI removes the last added Member.

To Reproduce
Remove Project Member with the "Remove" button

Result
The "Remove" button removes the last member in the view

Expected Result
The "Remove" button removes the correct member in the view

Screenshots

Screen.Recording.2025-01-14.at.11.09.11.mov

Additional context

@cnotv cnotv added the kind/bug label Jan 21, 2025
@cnotv cnotv added this to the v2.11.1 milestone Jan 21, 2025
@github-actions github-actions bot added the QA/dev-automation Issues that engineers have written automation around so QA doesn't have look at this label Jan 21, 2025
@cnotv cnotv added the JIRA label Jan 21, 2025
@cnotv cnotv changed the title Random Project Member removal in Rancher Dashboard Last Project Member removal in Rancher Dashboard Jan 21, 2025
@cnotv
Copy link
Member Author

cnotv commented Jan 21, 2025

During a first investigation through the code, it seems like the view has been left unchanged in the last 4 years, while the component ArrayList (used here, for this partial view) behaves differently possibly due Vue architecture changes.

In the component styleguide the logic seems fine: https://rancher.github.io/storybook/?path=/docs/stories-components-arraylist--docs

@cnotv
Copy link
Member Author

cnotv commented Jan 21, 2025

It seems like the issue is related to the component MembershipEditor since it is extended also to Cluster users.

Kapture.2025-01-21.at.17.24.48.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JIRA kind/bug QA/dev-automation Issues that engineers have written automation around so QA doesn't have look at this
Projects
None yet
Development

No branches or pull requests

1 participant