feat(services): multi-selection and batch actions (#386)

The Services tree dropped the shared Tree's selection set and resolved actions for the lead row only. It now keeps the full selection (Ctrl/Cmd-click, Shift-click ranges, Shift+arrows); toolbar and context-menu actions common to the selection run on every selected service, skipping disabled targets and descendants of a selected group. Entries that open a dialog are disabled for a multi-selection.

Fixes #376
Цей коміт міститься в:
l0ng-ai authored and GitHub committed 2026-10-30 17:48:35 +08:00
1 джерело e017154c75
коміт fd5908e224
5 files changed
+243 -7

No files matched your search

+1
Переглянути файл
@@ -228,6 +228,7 @@ function actions(item: ServiceTreeItem): ServiceItemAction[] {
function menu(item: ServiceTreeItem): MenuItem[] {
const items: MenuItem[] = actions(item).map((a) => ({
id: a.id,
label: a.title,
icon: a.icon,
disabled: a.disabled,