kestra-io/kestra

Prevent dragging folders/files away from sidebar

开放

#9,497 创建于 2025年6月12日

 (18 条评论) (0 个反应) (0 位负责人)Java (2,579 个派生)batch import
area/frontendgood first issue

仓库指标

星标
 (26,854 个星标)
PR 合并指标
 (平均合并 1天 19小时) (30 天内合并 495 个 PR)

描述

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.

贡献者指南