# project_panel: Highlight containing folder which would be the target of the drop operation \(\#31976\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/d8195a8fd768cb4d3dfd5f2e90c008f63edb58c6)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: d8195a8fd768cb4d3dfd5f2e90c008f63edb58c6

Requested commit: d8195a8fd768cb4d3dfd5f2e90c008f63edb58c6

Commit: d8195a8fd768cb4d3dfd5f2e90c008f63edb58c6

Tree: 46bc9bcbc43f6816f6b73c47f8384dfded2bcecf

Author: Smit Barmase

Committer: GitHub

## Message

```
project_panel: Highlight containing folder which would be the target of the drop operation (#31976)

Part of https://github.com/zed-industries/zed/issues/14496

This PR adds highlighting on the containing folder which would be the
target of the drop operation. It only highlights those directories where
actual drop is possible, i.e. same directory where drag started is not
highlighted.

- [x] Tests


https://github.com/user-attachments/assets/46528467-e07a-4574-a8d5-beab25e70162

Release Notes:

- Improved project panel to show a highlight on the containing folder
which would be the target of the drop operation.
```

## Parents

- [2645591cd5f4f13cc0e180e53068d940ce34505b](https://git.cafe/gitcafe/zed/commit/2645591cd5f4f13cc0e180e53068d940ce34505b?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/d8195a8fd768cb4d3dfd5f2e90c008f63edb58c6?format=markdown)
