Skip to content

Commit 1dbba98

Browse files
committed
remove ORCID, too much to maintain manually
1 parent 982e595 commit 1dbba98

7 files changed

Lines changed: 307 additions & 657 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This is very much a work in progress. Please feel free to join the [discussion](
1414
- Uses cached GitHub API profile data so member cards can show richer profile details without runtime API calls.
1515
- Uses cached DataverseTV talk data to add a watch link for members who appear there.
1616
- Lets you search members and filter by installation, country, and continent.
17-
- Shows GitHub usernames alongside primary installation, country, Zulip ID, and ORCID when available.
17+
- Shows GitHub usernames alongside primary installation and country, with links for GitHub, Zulip, issues, and other available member details.
1818

1919
## Run it
2020

app.js

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ const fieldLabels = {
66
workingGroups: "Working groups",
77
country: "Country",
88
zulipId: "Zulip ID",
9-
orcid: "ORCID",
109
githubLocation: "Location",
1110
githubCompany: "Organization",
1211
githubBlog: "Website",
@@ -199,8 +198,6 @@ function renderCards(members) {
199198
const displayHandle = node.querySelector(".member-display-handle");
200199
const issueLink = node.querySelector(".member-issue-link");
201200
const zulipLink = node.querySelector(".member-zulip-link");
202-
const orcidLink = node.querySelector(".member-orcid-link");
203-
const orcidLabel = node.querySelector(".member-orcid-label");
204201
const bio = node.querySelector(".member-bio");
205202
memberName.textContent = member.name || member.githubUsername;
206203
avatarLink.href = getMemberUrl(member.githubUsername);
@@ -244,13 +241,6 @@ function renderCards(members) {
244241
} else {
245242
zulipLink.hidden = true;
246243
}
247-
if (member.orcid) {
248-
orcidLink.href = getOrcidUrl(member.orcid);
249-
orcidLabel.textContent = member.orcid;
250-
orcidLink.hidden = false;
251-
} else {
252-
orcidLink.hidden = true;
253-
}
254244
appendLinkedText(bio, member.bio || "");
255245
bio.hidden = !member.bio;
256246

@@ -411,7 +401,6 @@ function matchesSearch(member, search) {
411401
country: member.country,
412402
continent: member.continent,
413403
installationDescription: member.installationDescription,
414-
orcid: member.orcid,
415404
name: member.name,
416405
bio: member.bio,
417406
githubLocation: member.githubLocation,
@@ -497,10 +486,6 @@ function getZulipProfileUrl(zulipId) {
497486
return `https://dataverse.zulipchat.com/#narrow/sender/${encodeURIComponent(zulipId)}`;
498487
}
499488

500-
function getOrcidUrl(orcid) {
501-
return `https://orcid.org/${encodeURIComponent(orcid)}`;
502-
}
503-
504489
function getWorkingGroupUrl(name) {
505490
const slug = String(name ?? "")
506491
.trim()
@@ -779,10 +764,6 @@ function toExternalHref(value) {
779764

780765
const trimmed = value.trim();
781766

782-
if (isOrcidId(trimmed)) {
783-
return `https://orcid.org/${trimmed}`;
784-
}
785-
786767
if (isGitHubMention(trimmed)) {
787768
return `https://github.com/${trimmed.slice(1)}`;
788769
}
@@ -802,10 +783,6 @@ function isGitHubMention(value) {
802783
return /^@[a-z0-9](?:[a-z0-9-]{0,38}[a-z0-9])?$/i.test(value);
803784
}
804785

805-
function isOrcidId(value) {
806-
return /^\d{4}-\d{4}-\d{4}-[\dX]{4}$/i.test(value);
807-
}
808-
809786
function looksLikeWebAddress(value) {
810787
if (/\s/.test(value)) {
811788
return false;
@@ -891,7 +868,6 @@ function extractMember(row) {
891868
coreTrustSeals: Array.isArray(row.CoreTrustSeals) ? row.CoreTrustSeals : [],
892869
dataverseTv: Boolean(row.DataverseTV),
893870
zulipId: row["Zulip ID"]?.trim() ?? "",
894-
orcid: row.ORCID?.trim() ?? "",
895871
name: row["GitHub Profile"]?.name?.trim?.() ?? row["GitHub Profile"]?.name ?? "",
896872
bio: row["GitHub Profile"]?.bio?.trim?.() ?? row["GitHub Profile"]?.bio ?? "",
897873
githubLocation:

assets/orcid.svg

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)