MCPcopy
hub / github.com/github/awesome-copilot / sevName

Function sevName

extensions/java-modernization-studio/renderer.mjs:506–508  ·  view source on GitHub ↗
(sev)

Source from the content-addressed store, hash-verified

504 return '<span class="badge ' + sevBadgeClass(sev) + '">' + esc(sev) + " · " + (n || 0) + "</span>";
505 }
506 function sevName(sev) {
507 return { P0: "P0 · Blockers", P1: "P1 · High priority", P2: "P2 · Medium priority", P3: "P3 · Low / platform" }[sev] || sev;
508 }
509 function fmtDate(iso) {
510 try {
511 const d = new Date(iso);

Callers 1

assessmentTabFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected