# ui: Improve the \`end_hover\` method API in the \`ListItem\` component \(\#52862\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 22c123868af5109309c36cff293e525633039d90

Requested commit: 22c123868af5109309c36cff293e525633039d90

Commit: 22c123868af5109309c36cff293e525633039d90

Tree: fdbc5027e522f47ef2970e1b81aa7f4f75545a4e

Author: Danilo Leal

Committer: GitHub

## Message

```
ui: Improve the `end_hover` method API in the `ListItem` component (#52862)

This PR changes the API for the `ListItem`'s `end_hover` slot so that
whatever is in there is always part of the flex stack, as opposed to an
absolutely-positioned element. Additionally, I'm also improving the API
for swapping content between the default state and the hovered state
(e.g., list items where by default we render X, but when you hover, we
show something else). Lastly, I'm adding buttons to some Git picker
items that were only previously available through modal footer buttons.

Release Notes:

- N/A
```

## Parents

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

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