feat: 添加 UI 组件增强与测试覆盖

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
unraid
2026-04-22 22:38:10 +08:00
parent 23bb09d240
commit 23fcbf9004
13 changed files with 1332 additions and 1299 deletions

View File

@@ -3,6 +3,7 @@ import {
EFFORT_LOW,
EFFORT_MAX,
EFFORT_MEDIUM,
EFFORT_XHIGH,
} from '../constants/figures.js'
import {
type EffortLevel,
@@ -32,6 +33,8 @@ export function effortLevelToSymbol(level: EffortLevel): string {
return EFFORT_MEDIUM
case 'high':
return EFFORT_HIGH
case 'xhigh':
return EFFORT_XHIGH
case 'max':
return EFFORT_MAX
default: