Add auto-start targets feature with dashboard section
- Add auto_start boolean field to PictureTarget model (persisted per-target) - Wire auto_start through API schemas, routes, and store - Auto-start targets on server boot in main.py lifespan - Add star toggle button on target cards (next to delete button) - Add auto-start section on dashboard between performance and profiles - Remove auto-start section from profiles tab Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -552,6 +552,10 @@
|
||||
"profiles.error.name_required": "Name is required",
|
||||
"profiles.toggle_all.start": "Start all targets",
|
||||
"profiles.toggle_all.stop": "Stop all targets",
|
||||
"autostart.title": "Auto-start Targets",
|
||||
"autostart.toggle.enabled": "Auto-start enabled",
|
||||
"autostart.toggle.disabled": "Auto-start disabled",
|
||||
"autostart.goto_target": "Go to target",
|
||||
"time.hours_minutes": "{h}h {m}m",
|
||||
"time.minutes_seconds": "{m}m {s}s",
|
||||
"time.seconds": "{s}s",
|
||||
|
||||
@@ -552,6 +552,10 @@
|
||||
"profiles.error.name_required": "Введите название",
|
||||
"profiles.toggle_all.start": "Запустить все цели",
|
||||
"profiles.toggle_all.stop": "Остановить все цели",
|
||||
"autostart.title": "Автозапуск целей",
|
||||
"autostart.toggle.enabled": "Автозапуск включён",
|
||||
"autostart.toggle.disabled": "Автозапуск отключён",
|
||||
"autostart.goto_target": "Перейти к цели",
|
||||
"time.hours_minutes": "{h}ч {m}м",
|
||||
"time.minutes_seconds": "{m}м {s}с",
|
||||
"time.seconds": "{s}с",
|
||||
|
||||
Reference in New Issue
Block a user