fix(agents): preserve Shift selection and add bulk task actions (#283)

Цей коміт міститься в:
l0ng-ai authored and GitHub committed 2026-10-29 20:53:02 +08:00
1 джерело b1347dd331
коміт aac924517c
6 files changed
+352 -36

No files matched your search

+1
Переглянути файл
@@ -267,6 +267,7 @@ export function Tree<T>(props: TreeProps<T>) {
commitSelection(next, row.key);
} else {
const a = anchor != null ? (indexOfKey.get(anchor) ?? i) : leadIndex >= 0 ? leadIndex : i;
setAnchor(rows[a]!.key);
const [s, e] = a < i ? [a, i] : [i, a];
const next = new Set<string>();
for (let j = s; j <= e; j++) if (!rows[j]!.loading) next.add(rows[j]!.key);