@windyroad/itil 2.1.5 → 2.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -542,8 +542,13 @@ function badgeClass(rel) {
|
|
|
542
542
|
* "closes ship-quota-pacing-surface-to-prevent-weekly-quota-exhaustion-advisory-or-blocking-nudge-when-burn-rate-exceeds-sustainable-pace-so-users-retain-claude-tokens-for-non-claude-code-surfaces-chat-cowork-for-the-full-week-problem, quota-pacing-shipped-without-a-grounded-jtbd-persona-usm-rfc-story-lineage-governance-artefacts-are-wrong-orphaned-or-missing-problem" — the label and the trace contradicting each other.
|
|
543
543
|
*/
|
|
544
544
|
function rowLabel(rel) {
|
|
545
|
-
|
|
546
|
-
|
|
545
|
+
const status = String(rel.status || '').toLowerCase();
|
|
546
|
+
if (rel.rfc) {
|
|
547
|
+
if (status === 'delivered') return `Delivered: ${rel.rfc}`;
|
|
548
|
+
if (status === 'proposed') return `Proposed: ${rel.rfc}`;
|
|
549
|
+
return rel.rfc;
|
|
550
|
+
}
|
|
551
|
+
switch (status) {
|
|
547
552
|
case 'delivered': return 'Delivered, pre-RFC';
|
|
548
553
|
// No glyph here \u2014 badge() prepends the one for the class, aria-hidden, as
|
|
549
554
|
// the non-colour channel. A second copy in the label put "warning" into the
|