Confirmation dialog before deleting Group#4389
Conversation
|
Thanks @jlipka. This works well. I tested it on sandbox.dspace.org on the three admin screens where deleting a user is possible. Only small feedback is the text overflowing on deleting a workflow group. I was in Firefox if it makes a difference. |
Introduced a confirmation modal before deleting groups in both the Group Registry and Comcol Role components. This ensures users explicitly confirm deletion, reducing accidental data loss. Updated relevant tests and added new translations for modal text.
027d1c0 to
55d2f0c
Compare
Words are forced to break if no more space available
|
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin dspace-7_x
git worktree add -d .worktree/backport-4389-to-dspace-7_x origin/dspace-7_x
cd .worktree/backport-4389-to-dspace-7_x
git switch --create backport-4389-to-dspace-7_x
git cherry-pick -x 57bf254bec793800ba6c8d1ccd00b5513b5e528a 137bbc35bd93c76e1f841f33100b59aa52bcc6b8 55d2f0ce38be01a435d68e743c0b60666996d3bc 20510591e439fa68238c6b245d87413e916a458c |
|
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin dspace-8_x
git worktree add -d .worktree/backport-4389-to-dspace-8_x origin/dspace-8_x
cd .worktree/backport-4389-to-dspace-8_x
git switch --create backport-4389-to-dspace-8_x
git cherry-pick -x 57bf254bec793800ba6c8d1ccd00b5513b5e528a 137bbc35bd93c76e1f841f33100b59aa52bcc6b8 55d2f0ce38be01a435d68e743c0b60666996d3bc 20510591e439fa68238c6b245d87413e916a458c |
|
Successfully created backport PR for |
|
@jlipka : Your backport was unfortunately not accurate. I added a comment to #4479 (comment) with a few minor suggestions. To be honest, if we find this fix is too complex to backport, then we can simply mark it as "fixed in 9.1" (I've done that for now). If another developer wants to backport it themselves at a later time if they desire. |



References
Description
Display a confirmation dialogue before deleting a group. The text has been extended to make it clear that all associated policies of the group will also be deleted.
Instructions for Reviewers
Confirm dialog added or extended at three places - these places could be tested during the review process:
List of changes in this PR:
Checklist
This checklist provides a reminder of what we are going to look for when reviewing your PR. You do not need to complete this checklist prior creating your PR (draft PRs are always welcome).
However, reviewers may request that you complete any actions in this list if you have not done so. If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!
mainbranch of code (unless it is a backport or is fixing an issue specific to an older branch).npm run lintnpm run check-circ-deps)package.json), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.