Files
oak-gpui/crates
Marshall BowersandMax 8ff8dbdb2b assistant_context_editor: Fix patch block not rendering due to window reborrow (#24461)
This PR fixes an issue where the Assistant patch block was not being
rendered when using "Suggest Edits".

The issue was that the `BlockContext` already has a borrow of the
`Window`, so we can't use `update_in` to reborrow the window.

The fix is to reuse the existing `&mut Window` reference from the
`BlockContext` so we don't need to `update_in`.

Closes #24169.

Release Notes:

- Assistant: Fixed an issue where the patch block was not being rendered
when using "Suggest Edits".

---------

Co-authored-by: Max <max@zed.dev>
2025-02-07 18:03:19 +00:00
..
2025-02-07 02:14:57 +00:00
2025-01-27 13:40:59 -05:00
2025-02-07 02:14:57 +00:00
2025-02-03 13:18:50 -07:00
2025-02-03 13:18:50 -07:00
2025-02-07 02:14:57 +00:00
2025-02-07 02:14:57 +00:00
2025-02-06 21:45:03 +00:00