Move Scenes into Automations tab, smaller Capture button, scene crosslinks

- Merge Scenes tab into Automations tab as a second CardSection below automations
- Make dashboard Capture button match Stop All sizing
- Dashboard scene cards navigate to automations tab on click (crosslink)
- Add scene steps to automations tutorial
- Fix tour.tgt.devices to say "LED controllers" instead of "WLED controllers"
- Update command palette and navigation for new scene location

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-28 18:16:21 +03:00
parent 21248e2dc9
commit 39b31aec34
11 changed files with 39 additions and 86 deletions

View File

@@ -83,7 +83,6 @@ import {
expandAllAutomationSections, collapseAllAutomationSections,
} from './features/automations.js';
import {
loadScenes, expandAllSceneSections, collapseAllSceneSections,
openScenePresetCapture, editScenePreset, saveScenePreset, closeScenePresetEditor,
activateScenePreset, recaptureScenePreset, deleteScenePreset,
} from './features/scene-presets.js';
@@ -312,9 +311,6 @@ Object.assign(window, {
collapseAllAutomationSections,
// scene presets
loadScenes,
expandAllSceneSections,
collapseAllSceneSections,
openScenePresetCapture,
editScenePreset,
saveScenePreset,
@@ -438,9 +434,9 @@ document.addEventListener('keydown', (e) => {
return;
}
// Tab shortcuts: Ctrl+1..5 (skip when typing in inputs)
// Tab shortcuts: Ctrl+1..4 (skip when typing in inputs)
if (!inInput && e.ctrlKey && !e.altKey && !e.shiftKey && !e.metaKey) {
const tabMap = { '1': 'dashboard', '2': 'automations', '3': 'targets', '4': 'streams', '5': 'scenes' };
const tabMap = { '1': 'dashboard', '2': 'automations', '3': 'targets', '4': 'streams' };
const tab = tabMap[e.key];
if (tab) {
e.preventDefault();