Add KC target test button, API docs header link, and UI polish
- Add POST /api/v1/picture-targets/{target_id}/test endpoint for single-frame
color extraction preview on Key Colors targets
- Add test button on KC target cards that opens lightbox with spinner,
displays captured frame with rectangle overlays and color swatches
- Add API docs link in WebUI header
- Swap confirm dialog button colors (No=red, Yes=neutral)
- Remove type badges from WLED and KC target cards
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"app.title": "LED Grab",
|
||||
"app.version": "Версия:",
|
||||
"app.api_docs": "Документация API",
|
||||
"theme.toggle": "Переключить тему",
|
||||
"locale.change": "Изменить язык",
|
||||
"auth.login": "Войти",
|
||||
@@ -370,6 +371,8 @@
|
||||
"kc.error.no_pattern": "Пожалуйста, выберите шаблон паттерна",
|
||||
"kc.error.required": "Пожалуйста, заполните все обязательные поля",
|
||||
"kc.colors.none": "Цвета пока не извлечены",
|
||||
"kc.test": "Тест",
|
||||
"kc.test.error": "Ошибка теста",
|
||||
"targets.section.pattern_templates": "📄 Шаблоны Паттернов",
|
||||
"pattern.add": "📄 Добавить Шаблон Паттерна",
|
||||
"pattern.edit": "📄 Редактировать Шаблон Паттерна",
|
||||
|
||||
Reference in New Issue
Block a user