MCPcopy Index your code
hub / github.com/codeaashu/claude-code / effortLevelToSymbol

Function effortLevelToSymbol

src/components/EffortIndicator.ts:27–42  ·  view source on GitHub ↗
(level: EffortLevel)

Source from the content-addressed store, hash-verified

25}
26
27export function effortLevelToSymbol(level: EffortLevel): string {
28 switch (level) {
29 case 'low':
30 return EFFORT_LOW
31 case 'medium':
32 return EFFORT_MEDIUM
33 case 'high':
34 return EFFORT_HIGH
35 case 'max':
36 return EFFORT_MAX
37 default:
38 // Defensive: level can originate from remote config. If an unknown
39 // value slips through, render the high symbol rather than undefined.
40 return EFFORT_HIGH
41 }
42}
43

Callers 3

EffortIndicatorSymbolFunction · 0.85
EffortLevelIndicatorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected