Fix automation badge overflow, dashboard crosslinks, compact numbers, icon grids, OpenRGB brightness

UI fixes:
- Automation card badge moved to flex layout — title truncates, badge stays visible
- Automation condition pills max-width increased to 280px
- Dashboard crosslinks fixed: pass correct sub-tab key (led-targets not led)
- navigateToCard only skips data load when tab already has cards in DOM
- Badge gets white-space:nowrap + flex-shrink:0 to prevent wrapping

New features:
- formatCompact() for large frame/error counters (1.2M, 45.2K) with hover title
- Log filter and log level selects replaced with IconSelect grids
- OpenRGB devices now support software brightness control

OpenRGB improvements:
- Added brightness_control capability (uses software brightness fallback)
- Change-threshold dedup compares raw pixels before brightness scaling

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-17 01:29:17 +03:00
parent 304fa24389
commit 29b43b028d
16 changed files with 143 additions and 35 deletions

View File

@@ -1429,6 +1429,11 @@
"settings.log_level.save": "应用",
"settings.log_level.saved": "日志级别已更改",
"settings.log_level.save_error": "更改日志级别失败",
"settings.log_level.desc.debug": "详细开发输出",
"settings.log_level.desc.info": "正常运行消息",
"settings.log_level.desc.warning": "潜在问题",
"settings.log_level.desc.error": "仅显示错误",
"settings.log_level.desc.critical": "仅显示致命错误",
"settings.auto_backup.label": "自动备份",
"settings.auto_backup.hint": "自动定期创建所有配置的备份。当达到最大数量时,旧备份会被自动清理。",
"settings.auto_backup.enable": "启用自动备份",
@@ -1473,6 +1478,10 @@
"settings.logs.filter.info": "Info+",
"settings.logs.filter.warning": "Warning+",
"settings.logs.filter.error": "仅错误",
"settings.logs.filter.all_desc": "显示所有日志消息",
"settings.logs.filter.info_desc": "Info、警告和错误",
"settings.logs.filter.warning_desc": "仅警告和错误",
"settings.logs.filter.error_desc": "仅错误",
"device.error.power_off_failed": "关闭设备失败",
"device.removed": "设备已移除",
"device.error.remove_failed": "移除设备失败",