-
Notifications
You must be signed in to change notification settings - Fork 9
feat(backend, website): alert users during group creation when groupname is in use #5766
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
Conversation
which groups are returned
…t forms now alert when group name already exists
789a72a to
cd3facf
Compare
Pull Request Review: Group Name Duplication WarningThis PR successfully implements Stage 1 of #4980, adding user-friendly warnings when creating groups with duplicate names. The implementation is well-structured with good test coverage. Below is my detailed review: ✅ StrengthsBackend Implementation
Frontend Implementation
Testing
🔍 Issues & Concerns1. Security: Email Exposure
|
This comment was marked as duplicate.
This comment was marked as duplicate.
|
(draftifying and re-reviewing is just because I want to see what the new claude review does - to test the CI not about this PR!) |
...rc/main/kotlin/org/loculus/backend/service/groupmanagement/GroupManagementDatabaseService.kt
Show resolved
Hide resolved
Not able to reproduce here so it may be quite specific in some way (nit: we should post this stuff as comments on files then it's easier to keep threads together) |
...rc/main/kotlin/org/loculus/backend/service/groupmanagement/GroupManagementDatabaseService.kt
Show resolved
Hide resolved
backend/src/main/kotlin/org/loculus/backend/controller/GroupManagementController.kt
Show resolved
Hide resolved
anna-parker
left a comment
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.
some small non blocking suggestions :-)
…up could show up in alert during editing

resolves #
This PR will introduce changes to alert users during the submitting group creation process when they are trying to create a group with a name that is already in use. See Stage 1 of #4980 for details.
New features
name(i.e., /groups?name=myGroupName). If this parameter is provided, the list of groups is filtered to return only groups where the name is a case-insensitive perfect match to the request parameter.What I tested manually
Screenshot
The alert (table of existing groups is scrollable if there are enough existing groups):

PR Checklist
🚀 Preview: https://similar-groups-alert.loculus.org