feat(16-01): add selectAll() to SelectionController and dispatch shortcut:select-all event

- Add selectAll() method to SelectionController that selects all items via host interface
- Change app.selectAll dispatch from document.execCommand('selectAll') to CustomEvent('shortcut:select-all')
This commit is contained in:
2026-03-07 10:18:08 -05:00
parent 13321b531d
commit f5677628ef
2 changed files with 21 additions and 1 deletions
@@ -270,7 +270,9 @@ async function dispatch(action: string): Promise<void> {
// App actions
case 'app.selectAll':
document.execCommand('selectAll');
document.dispatchEvent(
new CustomEvent('shortcut:select-all'),
);
break;
// Panel-specific: track list