дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-09 19:25:54 +02:00
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
Цей коміт міститься в:
1 джерело
e017154c75
коміт
fd5908e224
5 files changed
+243
-7
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Заблокувати користувача