ZIm/crates/assistant2/src
Agus Zubiaga 56d20fc0a3
Reuse prompt editor across buffer and terminal assist (#22188)
Builds on https://github.com/zed-industries/zed/pull/22160 and extracts
the rest of `PromptEditor` so it can be shared across terminal and
inline assistants. This will help avoid the UI drifting as we have
already observed.

Note: This is mostly a mechanical refactor. I imagine some things could
be factored in a better way by someone with more context, but I think
this is a good start.

Release Notes:

- N/A

---------

Co-authored-by: Richard Feldman <oss@rtfeldman.com>
2024-12-18 16:12:54 -05:00
..
context_picker assistant2: Wire up basic @-mention interaction for context (#22197) 2024-12-18 13:29:39 -05:00
ui assistant2: Uniquely identify remove buttons on ContextPills (#22115) 2024-12-16 17:57:05 -05:00
active_thread.rs assistant2: Add stray visual adjustments (#22111) 2024-12-16 19:23:42 -03:00
assistant.rs Reuse prompt editor across buffer and terminal assist (#22188) 2024-12-18 16:12:54 -05:00
assistant_panel.rs assistant2: Fix focus issues with opening history (#22169) 2024-12-17 18:07:28 -05:00
assistant_settings.rs assistant2: Add ability to resize the panel (#22113) 2024-12-16 17:35:56 -05:00
buffer_codegen.rs Reuse prompt editor across buffer and terminal assist (#22188) 2024-12-18 16:12:54 -05:00
context.rs assistant2: Sketch in directory context picker (#22148) 2024-12-17 13:02:46 -05:00
context_picker.rs assistant2: Wire up basic @-mention interaction for context (#22197) 2024-12-18 13:29:39 -05:00
context_store.rs assistant2: Wire up context picker with inline assist (#22106) 2024-12-16 15:46:28 -05:00
context_strip.rs assistant2: Wire up basic @-mention interaction for context (#22197) 2024-12-18 13:29:39 -05:00
inline_assistant.rs Reuse prompt editor across buffer and terminal assist (#22188) 2024-12-18 16:12:54 -05:00
inline_prompt_editor.rs Reuse prompt editor across buffer and terminal assist (#22188) 2024-12-18 16:12:54 -05:00
message_editor.rs assistant2: Reduce message editor's maximum height (#22205) 2024-12-18 16:11:31 -05:00
prompts.rs Inline terminal assistant v2 (#21888) 2024-12-12 11:06:09 -05:00
streaming_diff.rs Inline assistant v2 (#21828) 2024-12-11 14:32:30 -05:00
terminal_codegen.rs Reuse prompt editor across buffer and terminal assist (#22188) 2024-12-18 16:12:54 -05:00
terminal_inline_assistant.rs Reuse prompt editor across buffer and terminal assist (#22188) 2024-12-18 16:12:54 -05:00
thread.rs assistant2: Wire up context picker with inline assist (#22106) 2024-12-16 15:46:28 -05:00
thread_history.rs assistant2: Add spacing between historical thread entries (#22140) 2024-12-17 11:03:09 -05:00
thread_store.rs assistant2: Sketch in sending file context to model (#21829) 2024-12-10 16:35:53 -05:00
ui.rs assistant2: Sketch in sending file context to model (#21829) 2024-12-10 16:35:53 -05:00