Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display errata #87

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions issue-metadata.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ <h3>Testing and Implementations</h3>
<section id='specifications'>
<h3>Specifications</h3>
<dl>
<dt>editorial</dt>
<dd>The reported issue can be addressed with an editorial change. This tag could be combined with others (except <code>substantive</code>).</dd>
<dt>substantive</dt>
<dd>The reported issue will only be addressed with a substantive change. This tag could be combined with others (except <code>editorial</code>).</dd>
<dt>bug</dt>
Expand Down Expand Up @@ -157,6 +155,7 @@ <h2>Wide Review</h2>
<p> For each comment, please fill a "type" <a href="#type">with above labels</a></p>

<p>2-Once the WG has processed all comments, the next steps are to get approval from the commenter</p>
<dl>
<dt>WR-response-drafted</dt>
<dd>Response to commenter drafted by WG</dd>
<dt>WR-response-sent</dt>
Expand All @@ -169,7 +168,7 @@ <h2>Wide Review</h2>
<dd>Response partially agreed by commenter (needs more discussion)</dd>
<dt>WR-commenter-no-response</dt>
<dd>No Response received from commenter within the stated period </dd>
</dl>
</dl>

<p>For more information please refer to the <a href="https://www.w3.org/wiki/TimedText/TTML2_Wide_Review"> TTWG wiki Wide Review page</a></p>.

Expand Down Expand Up @@ -215,6 +214,18 @@ <h2 id="projects">Projects</h2>
}
}
})
// populate specification labels
fetch("specification-labels.json").then(res => res.json()).then(labels => {
const dl = document.querySelector("#specifications dl");
let entries = "";
labels.forEach(label => {
entries+= `<dt id='${label.name}' style='background-color: #${label.color}'>${label.name}</a></dt>
<dd>${label.longdesc}</dd>`;
})
const frag = document.createDocumentFragment();
frag.innerHTML = entries;
dl.appendChild(frag);
})
</script>
</body>
</html>
20 changes: 20 additions & 0 deletions specification-labels.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[
{
"name": "erratum",
"longdesc": "An issue was accepted as an erratum and be listed on the errata page of the Recommendation.",
"description": "Erratum for a W3C Recommendation",
"color": "0052cc"
},
{
"name": "erratum-raised",
"longdesc": "An issue is raised for a possible erratum. If it is accepted as a genuine erratum, the label 'errata' should replace it.",
"description": "Raised to become an Errata later",
"color": "0052cc"
},
{
"name": "editorial",
"longdesc": "By default, an issue is considered substantive unless indicated otherwise. If the reported issue can be addressed with an editorial change, use this label.",
"description": "This is an editorial issue.",
"color": "c5def5"
}
]