Fix Toggle All button state, stop icons, and Disable tooltip

- Fix Toggle All button always showing Start: /picture-targets list
  endpoint does not include processing state; now fetches
  /picture-targets/{id}/state per-target in parallel in both
  loadProfiles() and toggleProfileTargets()
- Replace pause icons (⏸) with stop icons (⏹) in dashboard
- Change profile automation toggle tooltip from 'Disabled' (status)
  to 'Disable' (action); add profiles.action.disable i18n key

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-20 22:35:24 +03:00
parent 8cf7678e2b
commit 0a000cc44c
5 changed files with 71 additions and 13 deletions

View File

@@ -72,7 +72,7 @@ import {
import {
loadProfiles, openProfileEditor, closeProfileEditorModal,
saveProfileEditor, addProfileCondition,
toggleProfileEnabled, deleteProfile,
toggleProfileEnabled, toggleProfileTargets, deleteProfile,
} from './features/profiles.js';
// Layer 5: device-discovery, targets
@@ -244,6 +244,7 @@ Object.assign(window, {
saveProfileEditor,
addProfileCondition,
toggleProfileEnabled,
toggleProfileTargets,
deleteProfile,
// device-discovery