zed/crates/assistant2
Marshall Bowers f11a7811f3
assistant2: Use composer for editing inline messages (#11222)
This PR updates the assistant to render historical user messages the
same as ones from the assistant.

Double-clicking on a message will open a composer inline for editing.
Pressing `Esc` will cancel the edit.

We don't yet restore the previous state of the message upon canceling.

<img width="401" alt="Screenshot 2024-04-30 at 4 04 01 PM"
src="https://github.com/zed-industries/zed/assets/1486634/5f253fa8-6578-4054-be30-c495e326d700">

<img width="401" alt="Screenshot 2024-04-30 at 4 04 28 PM"
src="https://github.com/zed-industries/zed/assets/1486634/edf25cea-d97e-44d2-8772-3690eac017a4">


Release Notes:

- N/A
2024-04-30 16:12:20 -04:00
..
examples Fix some semantic index issues (#11216) 2024-04-30 10:55:38 -07:00
src assistant2: Use composer for editing inline messages (#11222) 2024-04-30 16:12:20 -04:00
Cargo.toml assistant2: Add the ability to collapse chat messages (#11194) 2024-04-29 19:25:58 -04:00
LICENSE-GPL New revision of the Assistant Panel (#10870) 2024-04-23 16:23:26 -07:00