-
Notifications
You must be signed in to change notification settings - Fork 22
Feat(9556): [AUB] Contributors: missing ability to remove contributor from parent and all components #767
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
base: feature/pbs-25.04
Are you sure you want to change the base?
Feat(9556): [AUB] Contributors: missing ability to remove contributor from parent and all components #767
Conversation
| header: 'project.contributors.removeDialog.title', | ||
| width: '448px', | ||
| data: { | ||
| messageKey: 'project.contributors.removeDialog.message', |
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.
Why do you pass it? Will it be different for each remove dialog? I think it better to use directly in RemoveContributorDialog.
| width: '448px', | ||
| data: { | ||
| messageKey: 'project.contributors.removeDialog.message', | ||
| messageParams: { name: contributor.fullName }, |
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.
Pass it as name.
| messageParams: { name: contributor.fullName }, | |
| name: contributor.fullName, |
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.
Add unit tests.
| <p-button | ||
| class="w-full" | ||
| styleClass="w-full" | ||
| (click)="cancel()" |
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.
Use onClick
| (click)="cancel()" | |
| (onClick)="cancel()" |
| <p-button | ||
| class="w-full" | ||
| styleClass="w-full" | ||
| (click)="confirm()" |
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.
| (click)="confirm()" | |
| (onClick)="confirm()" |
| this.customDialogService | ||
| .open(RemoveContributorDialogComponent, { | ||
| header: 'project.contributors.removeDialog.title', | ||
| width: '448px', | ||
| data: { |
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.
What will happen if project doesn't have any component?
Purpose
Summary of Changes
Screenshot(s)
Side Effects
QA Notes