Allow users to unsubscribe via "Manage Subscription" modal - #6092
Allow users to unsubscribe via "Manage Subscription" modal#6092guillermo-escire wants to merge 4 commits into
Conversation
nathanmlf
left a comment
There was a problem hiding this comment.
Hey @guillermo-escire! I've tested the feature and the modal works as expected. I've attached a video below demonstrating the behavior. Nice job! Although it works well on my end, it would be great to have another reviewer test it as well.
pr_6092.mp4
lgeggleston
left a comment
There was a problem hiding this comment.
✅ Tested this as well and agree the functionality works well! The subscriptions are updated or deleted as expected whether from the collection itself or the Subscriptions page. Had some tiny code suggestions, but ready to approve after that. Thanks for the fix!
There was a problem hiding this comment.
This comment could be updated to reflect the new logic (remove "at least one frequency is checked")
There was a problem hiding this comment.
Hi @lgeggleston , done, updated the comment to reflect the new logic.
There was a problem hiding this comment.
Since this attribute is no longer being used, would suggest removing it
There was a problem hiding this comment.
hi @lgeggleston , done, removed the unused attribute.
References
Fixes #5922
Description
Allows users to unsubscribe from a Community or Collection directly from the "Manage Subscription" modal by submitting with all frequency checkboxes unchecked.
Instructions for Reviewers
List of changes in this PR:
How to test:
Include guidance for how to test or review your PR. This may include: steps to reproduce a bug, screenshots or description of a new feature, or reasons behind specific changes.
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.