Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix inconsistencies in "Transform" vs "Generate" tooltips for assistant v2 #22160

Merged
merged 3 commits into from
Dec 18, 2024

Conversation

rtfeldman
Copy link
Contributor

Also makes the inline assistant and inline terminal assistant share a bunch more code.

Release Notes:

  • N/A

rtfeldman and others added 2 commits December 17, 2024 15:00
Also moves a bunch of duplicated code into inline_prompt_editor.rs

Co-authored-by: Agus <[email protected]>
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Dec 17, 2024
@rtfeldman rtfeldman changed the title Fix inconsistencies in "Transform" vs "Generate" tooltips Fix inconsistencies in "Transform" vs "Generate" tooltips for assistant v2 Dec 17, 2024
@rtfeldman rtfeldman merged commit 4bfc107 into main Dec 18, 2024
12 checks passed
@rtfeldman rtfeldman deleted the restyle-inline-assist-v2 branch December 18, 2024 12:10
rtfeldman added a commit that referenced this pull request Dec 18, 2024
Builds on #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 <[email protected]>
helgemahrt pushed a commit to helgemahrt/zed that referenced this pull request Dec 18, 2024
…nt v2 (zed-industries#22160)

Also makes the inline assistant and inline terminal assistant share a
bunch more code.

Release Notes:

- N/A

---------

Co-authored-by: Agus <[email protected]>
Co-authored-by: Agus Zubiaga <[email protected]>
helgemahrt pushed a commit to helgemahrt/zed that referenced this pull request Dec 18, 2024
…#22188)

Builds on zed-industries#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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants