feat(panel): scale consumption bars by share percentage and unify 20-color deterministic model palette

- Scale Top Models and Client Sources horizontal bars by actual share percentage instead of always filling 100%, keeping Overview at 100%
- Add zero-hardcode deterministic 20-stop perceptual color ring (FNV-1a + Murmur3 with natural-slot reservation) so identical models receive consistent distinct colors across machines and sections
- Aggregate per-model breakdowns across Client Sources, Monthly Breakdown, and active Usage Trend buckets, folding <1.5% long-tail models into neutral 'Others (N)'
- Add per-model color dots after Top Models names, expand Usage Trend SVG height to 184px (and heatmap cell floor to 11px), and render unified model breakdown hover popovers across Usage Trend, Client Sources, and Monthly Breakdown
This commit is contained in:
fish
2026-11-19 10:43:31 +09:00
parent 88b7182906
commit 70629dcd74
14 changed files with 2564 additions and 329 deletions
+3
View File
@@ -238,6 +238,9 @@ export const I18N_MESSAGES_ZH_CN = Object.freeze({
'cons.clientSources': '客户端来源',
'cons.monthlyTitle': '月度统计',
'cons.monthLabel': '{m}月',
'cons.monthFullLabel': '{year}年 {m}月',
'cons.hoverModelsHint': '悬停查看模型',
'cons.otherModelsCount': '其他 ({count})',
'cons.legInput': '输入',
'cons.legCache': '缓存',
'cons.legOutput': '输出',