# activity_indicator: Show extension installation and updates \(\#37374\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a96015b3c5593368730cb5a97956d1e8960b4578

Requested commit: a96015b3c5593368730cb5a97956d1e8960b4578

Commit: a96015b3c5593368730cb5a97956d1e8960b4578

Tree: 99c7ddb9df77dc2a05a3de8ae27773c770a718ee

Author: Finn Evers

Committer: GitHub

## Message

```
activity_indicator: Show extension installation and updates (#37374)

This PR fixes an issue where extension operations would never show in
the activity indicator despite this being implemented for ages. This
happened because we were always returning `None` whenever the app has a
global auto updater, which is always the case, so the code path for
showing extension updates in the indicator could never be hit despite
existing prior. Also slightly improves the messages shown for ongoing
extension operations, as these were previously context unaware.

While I was at this, I also quickly took a stab at cleaning up some
remotely related stuff, namely:
- The `AnimationExt` trait is now by default only implemented for
anything that also implements `IntoElement`. This prevents
`with_animation` from showing up for e.g. `u32` within the suggestions
(finally).
- Commonly used animations are now implemented in the
`CommonAnimationExt` trait within the `ui` crate so the needed code does
not always need to be copied and element IDs for the animations are
truly unique.

Relevant change here regarding the original issue is the change from the
`return match` to just a `match` within the activitiy indicator, which
solved the issue at hand.

If we find this to be too noisy at some point, we can easily revisit,
but I think this holds important enough information to be shown in the
activity indicator, especially whilst developing extensions.

Release Notes:

- Extension installation and updates will now be shown in the activity
indicator.
```

## Parents

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

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