# agent: Add animation in the edit file tool card until a diff is assigned \(\#29773\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 225deb6785ad49734cb1835a9c1de79a33da2ca2

Requested commit: 225deb6785ad49734cb1835a9c1de79a33da2ca2

Commit: 225deb6785ad49734cb1835a9c1de79a33da2ca2

Tree: 62f3e060cc9bbf03532f1f1ba8a166368d6f321d

Author: Max Brunsfeld

Committer: GitHub

## Message

```
agent: Add animation in the edit file tool card until a diff is assigned (#29773)

This PR prevents this edit card from being shown expanded but empty,
like this:

<img width="590" alt="Screenshot 2025-05-01 at 7 38 47 PM"
src="https://github.com/user-attachments/assets/147d3d73-05b9-4493-8145-0ee915f12cd9"
/>

Now, we will show an animation until it has a diff computed.


https://github.com/user-attachments/assets/52900cdf-ee3d-4c3b-88c7-c53377543bcf

Release Notes:

- N/A

---------

Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
```

## Parents

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

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