MCPcopy Create free account
hub / github.com/CopilotKit/OpenTag / priorityGlyph

Function priorityGlyph

app/components/_status.ts:19–26  ·  view source on GitHub ↗
(priority?: string)

Source from the content-addressed store, hash-verified

17
18/** Unicode glyph for a Linear priority label, or "" for none/unknown. */
19export function priorityGlyph(priority?: string): string {
20 const p = (priority ?? "").toLowerCase();
21 if (p.includes("urgent")) return "🚨";
22 if (p.includes("high")) return "🔴";
23 if (p.includes("medium")) return "🟠";
24 if (p.includes("low")) return "⚪";
25 return "";
26}
27
28/** Brand + semantic accent colors for the attachment left-border. */
29export const ACCENT = {

Callers 1

IssueCardFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected