Make EPerson "Contact Telephone" field available for Administrators via GUI - #3740
Make EPerson "Contact Telephone" field available for Administrators via GUI#3740Im-praveen wants to merge 18 commits into
Conversation
|
Hi @Im-praveen. Thank you for this PR. It looks good on inspection. Can you submit it from some other branch besides |
There is no need to add new metadata eperson.phone to the registry, as it already exists in the core DSpace (via dspace/config/registries/eperson-types.xml) since at least 2014, so it should work out of the box 😄 Since users can edit their own email and phone number, and administrators can only edit other users' emails (and full names), I totally see this PR as a useful addition. I wonder about adding two more things here:
I'd love to hear someone else's thoughts on these to ensure we properly cover everyone's needs regarding this field Anyways, I’ve tested your changes with sandbox.dspace.org, and they work as expected when editing another eperson as an administrator. However, when I delete the value, the request sends When editing the profile of the currently logged-in user, I encountered a bug where any edit results in an error + success notification. I need to press the "Save" button twice to actually save changes. I'm not sure if this issue is related to this PR being on the screencast_20250227_171007.mp4Regarding the code itself, it looks consistent with the rest of the codebase for me, although that's where my frontend experience ends 😄 |
|
Hi @Im-praveen, |
|
Hi @Im-praveen, |
|
@tdonohue, |
|
@PitbaranK : This PR already has unresolved feedback from another developer. See #3740 (comment). Please resolve or respond to their feedback. Keep in mind, I do not have time myself to review every single PR. Therefore, other developers will volunteer time for reviews/testing. |
…ors via GUI
- Added translation for `admin.access-control.epeople.form.phone` ("Phone") across all supported language JSON files.
|
@MMilosz,
Above instruction has been added by mistake, which we have corrected now under Instructions for Reviewers. Attached below is the screenshot after incorporating the changes, for your reference, as per the requirements specified in dspace-angular issue #2692.
Against the above feedbacks provided, I think these recommendations are not in the corresponding ticket which are part of the enhancements.
The above approach is not feasible because a user may update any field value, and such updates need to be handled within the same call. Even if a field value is removed, the request will still invoke op=REPLACE to update the corresponding value with the existing data. Therefore, we do not see any valid use case for using op=REMOVE in this context.
The bug you mentioned appears to be non-reproducible and does not seem to have any connection with the changes introduced in this PR. Please check the attached video for your reference. Thank you once again for your review and valuable feedback. Could you kindly take another look and get back on the same? |
…ia GUI - Revert All Translation Files except en.json5
|
Hi @Im-praveen, |


References
Description
Adding Phone (Contact Number) provision for EPerson Add/Edit
Instructions for Reviewers
List of changes in this PR: