Skip to content

feat: genericise EP approval UI labels via config#852

Open
TahaKhan998 wants to merge 1 commit into
CERNDocumentServer:masterfrom
TahaKhan998:feat/issue-843-genericise-ep-approval-ui-labels
Open

feat: genericise EP approval UI labels via config#852
TahaKhan998 wants to merge 1 commit into
CERNDocumentServer:masterfrom
TahaKhan998:feat/issue-843-genericise-ep-approval-ui-labels

Conversation

@TahaKhan998

Copy link
Copy Markdown

Closes #843

This PR makes the EP approval UI labels configurable from CDS_COMMITTEE_APPROVAL_COMMUNITIES in invenio.cfg instead of hardcoding EP-specific wording everywhere. I used the existing label config for EP approval-style text, added optional committee_name support for review-step wording like EP Board review, and kept generic committee wording in places where direct substitution would be awkward. I also cleaned up the implementation so the workflow config is resolved through the shared helper and used consistently across the record page, request flow, and submit-notification email.

@TahaKhan998
TahaKhan998 force-pushed the feat/issue-843-genericise-ep-approval-ui-labels branch 2 times, most recently from 6bcfb1e to 2f15e81 Compare July 13, 2026 13:38
Comment thread assets/js/components/record_details/CommitteeApproval.js Outdated
Comment thread assets/js/components/record_details/CommitteeApproval.js Outdated
Comment thread site/cds_rdm/requests/committee_approval_state.py Outdated
Comment thread site/cds_rdm/requests/committee_approval_state.py Outdated
@TahaKhan998
TahaKhan998 force-pushed the feat/issue-843-genericise-ep-approval-ui-labels branch from 2f15e81 to fe2de9f Compare July 14, 2026 13:13

@palkerecsenyi palkerecsenyi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image

Looking very nice, thank you!! I think there are 2 other places where it would be nice to have the committee name:

  1. Image

    EP specifically requested us to change this to "EP Approval request workflow" to make it clearer to users what the "approval" refers to.

  2. Image

    On the approval request page, the request type tag looks quite different to the tags of other request types. It would be nice for this to say "EP Approval". Currently these are set here, I am not sure how easy it is to add an instance-specific override. Don't worry about it if it's too complicated :)

@TahaKhan998
TahaKhan998 force-pushed the feat/issue-843-genericise-ep-approval-ui-labels branch from fe2de9f to ec2e3cd Compare July 15, 2026 07:27
@TahaKhan998

Copy link
Copy Markdown
Author

Member

image image

Made those changes :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Genericise EP approval UI labels

2 participants