Skip to content

SCIX-444 Prevent clicking non-ADS ORCID items#2367

Merged
thostetler merged 1 commit intoadsabs:masterfrom
thostetler:fix/orcid-non-ads-clickable
Dec 17, 2025
Merged

SCIX-444 Prevent clicking non-ADS ORCID items#2367
thostetler merged 1 commit intoadsabs:masterfrom
thostetler:fix/orcid-non-ads-clickable

Conversation

@thostetler
Copy link
Member

ORCiD page: If record is NOT known to ADS, then just show the record title (no link)

@thostetler thostetler requested a review from shinyichen December 8, 2025 03:27
@thostetler thostetler changed the title Prevent clicking non-ADS ORCID items SCIX-444 Prevent clicking non-ADS ORCID items Dec 8, 2025
Comment on lines +24 to +26
<a href="#abs/{{encodedIdentifier}}/abstract" data-item-index="{{indexToShow}}" aria-label="bibcode" class="abs-redirect-link">
{{identifier}}
</a>
Copy link
Member

Choose a reason for hiding this comment

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

Is this section suppose to be different from lines 17-19?

Copy link
Member Author

Choose a reason for hiding this comment

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

It's not different -- just makes the logic a little cleaner here since we section off the orcid widget items vs. regular list items.
We could combine the comparisons, do you think that would be a little cleaner vs. duplicating here?

@thostetler thostetler merged commit f33cd70 into adsabs:master Dec 17, 2025
1 check passed
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.

2 participants