# Fix \`WindowContext::available_actions\` missing some actions \(\#3752\) · gitcafe/zed

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

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

Visibility: public

Requested revision: e4904e049fb04e028dc2225465bd3a7a4dabec99

Requested commit: e4904e049fb04e028dc2225465bd3a7a4dabec99

Commit: e4904e049fb04e028dc2225465bd3a7a4dabec99

Tree: b031fcb4a0a8175ef9617be96230198dcd85cc77

Author: Antonio Scandurra

Committer: GitHub

## Message

```
Fix `WindowContext::available_actions` missing some actions (#3752)

This pull request also allows turning an `ArenaBox` into an `ArenaRef`
when non-mutable access is required, which makes `ArenaRef: Clone`. This
fixes a bug that prevented the command palette from reading all the
available actions while the `command_palette::Toggle` action was being
dispatched.

Release Notes:

- N/A
```

## Parents

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

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

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