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

Function sevChip

extensions/java-modernization-studio/renderer.mjs:503–505  ·  view source on GitHub ↗
(sev, n)

Source from the content-addressed store, hash-verified

501 return { P0: "b-red", P1: "b-amber", P2: "b-blue", P3: "b-gray" }[sev] || "b-gray";
502 }
503 function sevChip(sev, n) {
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 }

Callers 2

overviewTabFunction · 0.85
assessmentTabFunction · 0.85

Calls 2

sevBadgeClassFunction · 0.85
escFunction · 0.85

Tested by

no test coverage detected