kestra-io/kestra

Prevent dragging folders/files away from sidebar

Offen

#9.497 geöffnet am 12.06.2025

 (18 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (2.579 Forks)batch import
area/frontendgood first issue

Repository-Metriken

Stars
 (26.854 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 1T 19h) (495 gemergte PRs in 30 T)

Beschreibung

Follow up of https://github.com/kestra-io/kestra/issues/8924.

https://github.com/user-attachments/assets/9c41e975-c47c-443b-9718-e91984a662cd

One of the points from the original issue (https://github.com/kestra-io/kestra/issues/8924) has been resolved, but one item still remains.

When the file explorer tab is open and files/folders are draggable for rearrangement, we need to make it clear that they can only be dropped onto the sidebar - not elsewhere.

The best approach would be to change the cursor to cursor: not-allowed; when the dragged item leaves the valid drop target area.

Contributor Guide