Skip to content

MENDELU/ORCID hyperlinks#1271

Merged
milanmajchrak merged 9 commits into
customer/mendelufrom
mendelu/author-hyperlink-to-orcid
Apr 1, 2026
Merged

MENDELU/ORCID hyperlinks#1271
milanmajchrak merged 9 commits into
customer/mendelufrom
mendelu/author-hyperlink-to-orcid

Conversation

@Kasinhou

@Kasinhou Kasinhou commented Mar 31, 2026

Copy link
Copy Markdown

Problem description

Issue: https://github.com/dataquest-dev/dspace-customers/issues/520

Sync verification

If en.json5 or cs.json5 translation files were updated:

  • Run yarn run sync-i18n -t src/assets/i18n/cs.json5 -i to synchronize messages, and changes are included in this PR.

Manual Testing (if applicable)

Copilot review

  • Requested review from Copilot

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds ORCID profile hyperlinks for authority-controlled metadata entries so ORCID identifiers render as clickable external links (with an ORCID icon), addressing issue #520.

Changes:

  • Added ORCID authority detection and URL construction helpers to the plain-text metadata list element component.
  • Updated the template to render ORCID authorities as external links (and non-ORCID authorities as plain text).
  • Added SCSS styling for the ORCID link/icon and unit tests covering ORCID vs non-ORCID authority cases.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
src/app/shared/object-list/metadata-representation-list-element/plain-text/plain-text-metadata-list-element.component.ts Adds ORCID format detection and ORCID URL builder methods.
src/app/shared/object-list/metadata-representation-list-element/plain-text/plain-text-metadata-list-element.component.html Renders ORCID authorities as external links with an icon; keeps non-ORCID authority rendering as plain text.
src/app/shared/object-list/metadata-representation-list-element/plain-text/plain-text-metadata-list-element.component.scss Introduces styling for the ORCID link and icon.
src/app/shared/object-list/metadata-representation-list-element/plain-text/plain-text-metadata-list-element.component.spec.ts Adds unit tests verifying ORCID link/icon rendering and helper method behavior.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.

@Kasinhou Kasinhou requested a review from milanmajchrak April 1, 2026 07:29
@milanmajchrak milanmajchrak merged commit fea2f20 into customer/mendelu Apr 1, 2026
2 of 4 checks passed
milanmajchrak added a commit that referenced this pull request May 22, 2026
* MENDELU/ORCID hyperlinks (#1271)

* Add orcid hyperlink to author in item view

* Url orcid fetch from backend instead of hardcoded

* Remove duplicate import

* Fix unit test

* Handled edge cases with orcid domain url

* Usinng behaviour subject

* Removed not wanted async property

---------

Co-authored-by: Matus Kasak <matus.kasak@dataquest.sk>

* MENDELU/Fixed ORCID badge (#1272)

* Fixed ORCID badge

---------

Co-authored-by: Matus Kasak <matus.kasak@dataquest.sk>

* ZCU-PUB/Fix ORCID cherry-pick test conflict artifacts

* ZCU-PUB/Reuse async ORCID domain binding in template

---------

Co-authored-by: Kasinhou <129340513+Kasinhou@users.noreply.github.com>
Co-authored-by: Matus Kasak <matus.kasak@dataquest.sk>
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.

3 participants