Skip to content

Commit

Permalink
Improve and complete WICG spec report
Browse files Browse the repository at this point in the history
  • Loading branch information
dontcallmedom committed Feb 3, 2025
1 parent 83b34f1 commit 9bf66dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion cg-transitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,8 @@
"repo": "WICG/digital-credentials",
"date": "2024-04-16",
"wgshortname": "w3c/fedid",
"notice": "https://lists.w3.org/Archives/Member/w3c-ac-members/2024AprJun/0009.html"
"notice": "https://lists.w3.org/Archives/Member/w3c-ac-members/2024AprJun/0009.html",
"status": "pending"
},
{
"repo": "WICG/contact-api",
Expand Down
4 changes: 3 additions & 1 deletion report-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ for (const spec of report.wicg.specs.sort((a, b) => a.lastModified.localeCompare
transitionLink.href = spec.transition.notice;
transitionLink.append(`${spec.transition.status || ""} to ${spec.transition.wgshortname} (${spec.transition.date})`);
transitionTd.append(transitionLink);
if (spec.transition.date && (spec.transition.status === "pending" || spec.transition.status === "started")) {
if (spec.transition.status === "complete") {
addWarning(transitionTd, "Transition complete, needs archiving");
} else if (spec.transition.date && (spec.transition.status === "pending" || spec.transition.status === "started")) {
if (age(spec.transition.date) > 365) {
addWarning(transitionTd, "Incomplete transition for more than a year");
}
Expand Down

0 comments on commit 9bf66dd

Please sign in to comment.