Skip to content

Commit

Permalink
Link to instructions for unverified individuals and entities
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyroman authored Apr 26, 2024
1 parent 84a49ac commit fcd07ac
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 18 deletions.
28 changes: 14 additions & 14 deletions __tests__/__snapshots__/get-user-status.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ exports[`Individual, participating in all workstreams, unverified 1`] = `
"context": "Participation",
"description": "@johndoetw is not yet verified",
"isNothing": false,
"longDescription": "@johndoetw has signed up to participate as an individual, but has not yet been verified. Hold tight while we sort this out on our end!",
"longDescription": "@johndoetw has signed up to participate as an individual, but has not yet been verified. Hold tight while we sort this out on our end! If you are a spec editor, follow <a href="https://github.com/whatwg/participate.whatwg.org#process-for-editors">these instructions</a> to verify this individual.",
"state": "pending",
"target_url": "https://participate.whatwg.org/agreement-status?user=johndoetw&repo=console",
}
Expand All @@ -60,7 +60,7 @@ exports[`Individual, participating in all workstreams, unverified 2`] = `
"context": "Participation",
"description": "@johndoetw is not yet verified",
"isNothing": false,
"longDescription": "@johndoetw has signed up to participate as an individual, but has not yet been verified. Hold tight while we sort this out on our end!",
"longDescription": "@johndoetw has signed up to participate as an individual, but has not yet been verified. Hold tight while we sort this out on our end! If you are a spec editor, follow <a href="https://github.com/whatwg/participate.whatwg.org#process-for-editors">these instructions</a> to verify this individual.",
"state": "pending",
"target_url": "https://participate.whatwg.org/agreement-status?user=johndoetw&repo=console&pull=120",
}
Expand Down Expand Up @@ -93,7 +93,7 @@ exports[`Individual, participating in other workstreams but not that one, unveri
"context": "Participation",
"description": "@johndoetw is not yet verified",
"isNothing": false,
"longDescription": "@johndoetw has signed up to participate as an individual, but has not yet been verified. Hold tight while we sort this out on our end!",
"longDescription": "@johndoetw has signed up to participate as an individual, but has not yet been verified. Hold tight while we sort this out on our end! If you are a spec editor, follow <a href="https://github.com/whatwg/participate.whatwg.org#process-for-editors">these instructions</a> to verify this individual.",
"state": "pending",
"target_url": "https://participate.whatwg.org/agreement-status?user=johndoetw&repo=console",
}
Expand All @@ -104,7 +104,7 @@ exports[`Individual, participating in other workstreams but not that one, unveri
"context": "Participation",
"description": "@johndoetw is not yet verified",
"isNothing": false,
"longDescription": "@johndoetw has signed up to participate as an individual, but has not yet been verified. Hold tight while we sort this out on our end!",
"longDescription": "@johndoetw has signed up to participate as an individual, but has not yet been verified. Hold tight while we sort this out on our end! If you are a spec editor, follow <a href="https://github.com/whatwg/participate.whatwg.org#process-for-editors">these instructions</a> to verify this individual.",
"state": "pending",
"target_url": "https://participate.whatwg.org/agreement-status?user=johndoetw&repo=console&pull=120",
}
Expand Down Expand Up @@ -137,7 +137,7 @@ exports[`Individual, participating in that particular workstream, unverified 1`]
"context": "Participation",
"description": "@johndoetw is not yet verified",
"isNothing": false,
"longDescription": "@johndoetw has signed up to participate as an individual, but has not yet been verified. Hold tight while we sort this out on our end!",
"longDescription": "@johndoetw has signed up to participate as an individual, but has not yet been verified. Hold tight while we sort this out on our end! If you are a spec editor, follow <a href="https://github.com/whatwg/participate.whatwg.org#process-for-editors">these instructions</a> to verify this individual.",
"state": "pending",
"target_url": "https://participate.whatwg.org/agreement-status?user=johndoetw&repo=console",
}
Expand All @@ -148,7 +148,7 @@ exports[`Individual, participating in that particular workstream, unverified 2`]
"context": "Participation",
"description": "@johndoetw is not yet verified",
"isNothing": false,
"longDescription": "@johndoetw has signed up to participate as an individual, but has not yet been verified. Hold tight while we sort this out on our end!",
"longDescription": "@johndoetw has signed up to participate as an individual, but has not yet been verified. Hold tight while we sort this out on our end! If you are a spec editor, follow <a href="https://github.com/whatwg/participate.whatwg.org#process-for-editors">these instructions</a> to verify this individual.",
"state": "pending",
"target_url": "https://participate.whatwg.org/agreement-status?user=johndoetw&repo=console&pull=120",
}
Expand Down Expand Up @@ -247,7 +247,7 @@ exports[`Multiple entities, all unverified 1`] = `
"context": "Participation",
"description": "@johndoetw participates on behalf of an unverified entity",
"isNothing": false,
"longDescription": "@johndoetw is part of the contoso1 and contoso2 GitHub organizations, but they all have not yet been verified. Hold tight while we sort this out on our end!",
"longDescription": "@johndoetw is part of the contoso1 and contoso2 GitHub organizations, but they all have not yet been verified. Hold tight while we sort this out on our end! If you are a spec editor, follow <a href="https://github.com/whatwg/participate.whatwg.org#process-for-editors">these instructions</a> to verify those organizations.",
"state": "pending",
"target_url": "https://participate.whatwg.org/agreement-status?user=johndoetw&repo=console",
}
Expand All @@ -258,7 +258,7 @@ exports[`Multiple entities, all unverified 2`] = `
"context": "Participation",
"description": "@johndoetw participates on behalf of an unverified entity",
"isNothing": false,
"longDescription": "@johndoetw is part of the contoso1 and contoso2 GitHub organizations, but they all have not yet been verified. Hold tight while we sort this out on our end!",
"longDescription": "@johndoetw is part of the contoso1 and contoso2 GitHub organizations, but they all have not yet been verified. Hold tight while we sort this out on our end! If you are a spec editor, follow <a href="https://github.com/whatwg/participate.whatwg.org#process-for-editors">these instructions</a> to verify those organizations.",
"state": "pending",
"target_url": "https://participate.whatwg.org/agreement-status?user=johndoetw&repo=console&pull=120",
}
Expand Down Expand Up @@ -401,7 +401,7 @@ exports[`Via entity, participating in all workstreams, unverified 1`] = `
"context": "Participation",
"description": "@johndoetw participates on behalf of an unverified entity",
"isNothing": false,
"longDescription": "@johndoetw is part of the contoso GitHub organization, but it has not yet been verified. Hold tight while we sort this out on our end!",
"longDescription": "@johndoetw is part of the contoso GitHub organization, but it has not yet been verified. Hold tight while we sort this out on our end! If you are a spec editor, follow <a href="https://github.com/whatwg/participate.whatwg.org#process-for-editors">these instructions</a> to verify this organization.",
"state": "pending",
"target_url": "https://participate.whatwg.org/agreement-status?user=johndoetw&repo=console",
}
Expand All @@ -412,7 +412,7 @@ exports[`Via entity, participating in all workstreams, unverified 2`] = `
"context": "Participation",
"description": "@johndoetw participates on behalf of an unverified entity",
"isNothing": false,
"longDescription": "@johndoetw is part of the contoso GitHub organization, but it has not yet been verified. Hold tight while we sort this out on our end!",
"longDescription": "@johndoetw is part of the contoso GitHub organization, but it has not yet been verified. Hold tight while we sort this out on our end! If you are a spec editor, follow <a href="https://github.com/whatwg/participate.whatwg.org#process-for-editors">these instructions</a> to verify this organization.",
"state": "pending",
"target_url": "https://participate.whatwg.org/agreement-status?user=johndoetw&repo=console&pull=120",
}
Expand Down Expand Up @@ -445,7 +445,7 @@ exports[`Via entity, participating in other workstreams but not that one, unveri
"context": "Participation",
"description": "@johndoetw participates on behalf of an unverified entity",
"isNothing": false,
"longDescription": "@johndoetw is part of the contoso GitHub organization, but it has not yet been verified. Hold tight while we sort this out on our end!",
"longDescription": "@johndoetw is part of the contoso GitHub organization, but it has not yet been verified. Hold tight while we sort this out on our end! If you are a spec editor, follow <a href="https://github.com/whatwg/participate.whatwg.org#process-for-editors">these instructions</a> to verify this organization.",
"state": "pending",
"target_url": "https://participate.whatwg.org/agreement-status?user=johndoetw&repo=console",
}
Expand All @@ -456,7 +456,7 @@ exports[`Via entity, participating in other workstreams but not that one, unveri
"context": "Participation",
"description": "@johndoetw participates on behalf of an unverified entity",
"isNothing": false,
"longDescription": "@johndoetw is part of the contoso GitHub organization, but it has not yet been verified. Hold tight while we sort this out on our end!",
"longDescription": "@johndoetw is part of the contoso GitHub organization, but it has not yet been verified. Hold tight while we sort this out on our end! If you are a spec editor, follow <a href="https://github.com/whatwg/participate.whatwg.org#process-for-editors">these instructions</a> to verify this organization.",
"state": "pending",
"target_url": "https://participate.whatwg.org/agreement-status?user=johndoetw&repo=console&pull=120",
}
Expand Down Expand Up @@ -489,7 +489,7 @@ exports[`Via entity, participating in that particular workstream, unverified 1`]
"context": "Participation",
"description": "@johndoetw participates on behalf of an unverified entity",
"isNothing": false,
"longDescription": "@johndoetw is part of the contoso GitHub organization, but it has not yet been verified. Hold tight while we sort this out on our end!",
"longDescription": "@johndoetw is part of the contoso GitHub organization, but it has not yet been verified. Hold tight while we sort this out on our end! If you are a spec editor, follow <a href="https://github.com/whatwg/participate.whatwg.org#process-for-editors">these instructions</a> to verify this organization.",
"state": "pending",
"target_url": "https://participate.whatwg.org/agreement-status?user=johndoetw&repo=console",
}
Expand All @@ -500,7 +500,7 @@ exports[`Via entity, participating in that particular workstream, unverified 2`]
"context": "Participation",
"description": "@johndoetw participates on behalf of an unverified entity",
"isNothing": false,
"longDescription": "@johndoetw is part of the contoso GitHub organization, but it has not yet been verified. Hold tight while we sort this out on our end!",
"longDescription": "@johndoetw is part of the contoso GitHub organization, but it has not yet been verified. Hold tight while we sort this out on our end! If you are a spec editor, follow <a href="https://github.com/whatwg/participate.whatwg.org#process-for-editors">these instructions</a> to verify this organization.",
"state": "pending",
"target_url": "https://participate.whatwg.org/agreement-status?user=johndoetw&repo=console&pull=120",
}
Expand Down
3 changes: 2 additions & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"serverURL": "https://participate.whatwg.org/",
"statusPath": "/agreement-status",
"steeringGroupEmail": "[email protected]",
"specOrg": "whatwg"
"specOrg": "whatwg",
"verifyInstructionsURL": "https://github.com/whatwg/participate.whatwg.org#process-for-editors"
}
6 changes: 3 additions & 3 deletions lib/get-user-status.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ function statusIndividualUnverified(submitterGitHubID, targetURL) {
context: "Participation",

isNothing: false,
longDescription: html`@${submitterGitHubID} has signed up to participate as an individual, but has not yet been verified. Hold tight while we sort this out on our end!`
longDescription: html`@${submitterGitHubID} has signed up to participate as an individual, but has not yet been verified. Hold tight while we sort this out on our end! If you are a spec editor, follow <a href="${config.verifyInstructionsURL}">these instructions</a> to verify this individual.`
};
}

Expand All @@ -129,7 +129,7 @@ function statusEntity(submitterGitHubID, repoName, targetURL, entity) {
}

function statusEntitiesUnverified(submitterGitHubID, targetURL, entities) {
const { orgs, word, pronoun, haveVerb } = entityVerbiage(entities);
const { orgs, word, pronoun, pronoun2, haveVerb } = entityVerbiage(entities);

return {
state: "pending",
Expand All @@ -138,7 +138,7 @@ function statusEntitiesUnverified(submitterGitHubID, targetURL, entities) {
context: "Participation",

isNothing: false,
longDescription: html`@${submitterGitHubID} is part of the ${orgs} GitHub ${word}, but ${pronoun} ${haveVerb} not yet been verified. Hold tight while we sort this out on our end!`
longDescription: html`@${submitterGitHubID} is part of the ${orgs} GitHub ${word}, but ${pronoun} ${haveVerb} not yet been verified. Hold tight while we sort this out on our end! If you are a spec editor, follow <a href="${config.verifyInstructionsURL}">these instructions</a> to verify ${pronoun2} ${word}.`
};
}

Expand Down

0 comments on commit fcd07ac

Please sign in to comment.