Marshall Bowers
c04997787e
Fix assistant panel header when viewing conversation history ( #4160 )
...
This PR fixes the assistant panel header when in the conversation
history view to hide the irrelevant tools and/or the slots where they
would go.
Release Notes:
- Improved the assistant panel header when viewing conversation history.
2024-01-19 11:00:22 -05:00
Marshall Bowers
e0c6805a27
Style the reset key state for the assistant panel ( #4136 )
...
This PR styles the reset key state for the assistant panel.
Community issue: https://github.com/zed-industries/community/issues/2429
<img width="641" alt="Screenshot 2024-01-18 at 4 28 32 PM"
src="https://github.com/zed-industries/zed/assets/1486634/57377804-2867-45d3-906c-353130ec78e6 ">
Release Notes:
- Fixed the reset key screen for the assistant panel.
2024-01-18 16:38:14 -05:00
Mikayla Maki
607f2a7ba5
Add typo detection to CI ( #4107 )
...
Adding the typos crate to our CI will take some doing, as we have
several tests which rely on typos in various ways (e.g. checking state
as the user types), but I thought I'd take a first stab at fixing what
it finds.
Release Notes:
- N/A
2024-01-17 17:13:47 -08:00
Piotr Osiewicz and Kirill
f4f65e9c2c
Editor docs ( #4097 )
...
Release Notes:
- N/A
---------
Co-authored-by: Kirill <kirill@zed.dev >
2024-01-18 00:48:37 +01:00
Mikayla Maki
325d7f44b1
Merge branch 'main' into fix-typos
2024-01-17 14:36:03 -08:00
Mikayla
0b43bd7c14
Fix typos detected by crate-ci/typos
2024-01-17 14:31:21 -08:00
Marshall Bowers
c86dca2ca6
Decrease the size of timestamps in the assistant conversation editor ( #4101 )
...
This PR decreases the size of the timestamps in the assistant's
conversation editor.
Ideally we'd want to align the baseline of the timestamp text with the
text in the sender button. I spent a while trying to do this, but it
seems like it may be pretty tricky.
Release Notes:
- Decreased the size of timestamps in the assistant panel conversation
editor.
2024-01-17 15:45:17 -05:00
Kirill Bulatov and Piotr
f2854eba26
Start adding project search listeners to workspace
...
co-authored-by: Piotr <piotr@zed.dev >
To be able to trigger them from search multibuffer excerpts.
2024-01-17 22:08:40 +02:00
Thorsten Ball and Marshall
84220a83eb
Fix unaligned close button in tab bar
...
Co-authored-by: Marshall <marshall@zed.dev >
2024-01-15 18:16:41 +01:00
Marshall Bowers
dc67b7bcaa
Rename h_stack and v_stack to h_flex and v_flex, respectively ( #4053 )
...
This PR renames the `h_stack` and `v_stack` to `h_flex` and `v_flex`,
respectively.
We were previously using `h_stack` and `v_stack` to match SwiftUI, but
`h_flex` and `v_flex` fit better with the web/flexbox terminology that
the rest of GPUI uses.
Additionally, we were already calling the utility functions used to
implement `h_stack` and `v_stack` by the new names.
Release Notes:
- N/A
2024-01-15 11:34:06 -05:00
Conrad Irwin
d1d9c3fca6
Remove unused imports
2024-01-13 22:44:47 -07:00
Conrad Irwin
d6d8d41808
Move settings subscription to dock
...
Reduces likelihood of panels being unable to move themselves
2024-01-13 22:41:26 -07:00
Marshall Bowers
84dd2c6954
Rename IconElement to just Icon ( #3974 )
...
This PR renames the `IconElement` component to just `Icon`.
This better matches the rest of our components, as `IconElement` was the
only one using this naming convention.
The `Icon` enum has been renamed to `IconName` to free up the name.
I was trying to come up with a way that would allow rendering an
`Icon::Zed` directly (and thus make the `IconElement` a hidden part of
the API), but I couldn't come up with a way to do this cleanly.
Release Notes:
- N/A
2024-01-09 10:11:20 -05:00
Piotr Osiewicz and Marshall Bowers
f90b05b716
Display setting documentation in settings.json ( #3936 )
...
Let this screenshot of settings.json speak for itself:

Release Notes:
- Added code completion & on-hover documentation to Zed's settings.json
file.
---------
Co-authored-by: Marshall Bowers <elliott.codes@gmail.com >
2024-01-08 19:30:18 +01:00
Marshall Bowers
1113a092de
Use filled button style for role indicator in assistant panel
...
This fixes the left side of the button getting clipped on hover.
2024-01-08 10:52:12 -05:00
Marshall Bowers
e6796db5bc
Use info color for assistant role indicator
2024-01-08 10:51:20 -05:00
Joseph T. Lyons
86ea6562cd
WIP
2024-01-06 14:41:35 -05:00
Nathan Sobo
83f1178c91
Implement From<Rgba> for Fill
2024-01-05 17:33:22 -07:00
Nathan Sobo
81614f9674
Align the assistant message headers with the editable message content
...
Since the message headers are buttons, we need to shift them relatively to
compensate for the fact that the background is only visible when hovered.
I'm ok with the background not being aligned so long as the unhovered text is.
2024-01-05 17:23:10 -07:00
Conrad Irwin
455d60f20a
Merge branch 'main' into channel-guests
2024-01-05 10:05:59 -07:00
Marshall Bowers
8bd88e9086
Respect the setting to show/hide the assistant and chat panels ( #3909 )
...
This PR makes it so we respect the setting to show/hide the assistant
and chat panels.
Resolves https://github.com/zed-industries/community/issues/2370 .
Release Notes:
- Fixed an issue where the settings to show/hide certain panels were not
respected.
2024-01-05 11:17:29 -05:00
Piotr Osiewicz
727d9588d8
Add DivRegistrar to reduce code duplication
2024-01-05 00:10:23 +01:00
Piotr Osiewicz
3d98797c02
Use Registrar in Assistant Panel.
...
This fixes various actions like "Activate regex mode" that were dispatched onto main pane instead of assistant search bar.
2024-01-05 00:10:23 +01:00
Antonio Scandurra
561e967bbe
Re-enable key bindings for AssistantPanel
2024-01-04 16:37:13 +01:00
Joseph T. Lyons
597b99e9d7
Move telemetry settings check into telemetry module
2024-01-04 01:13:21 -05:00
Nate Butler
7ce0aefb36
Use theme colors for muted/speaking indicators
2024-01-03 23:19:47 -05:00
Conrad Irwin
4260ed27f6
Track read_only per project and buffer
...
This uses a new enum to avoid confusing booleans
2024-01-03 19:31:43 -07:00
Max Brunsfeld and Mikayla
75f0670dd6
Remove 2 suffix from gpui
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 12:59:39 -08:00
Max Brunsfeld and Mikayla
ee573f7906
Remove 2 suffix for theme
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 12:41:01 -08:00
Max Brunsfeld and Mikayla
e2be87c688
Remove 2 suffix for ui, storybook, text
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 12:33:51 -08:00
Max Brunsfeld and Mikayla
2e155121f8
Remove 2 suffix for collab, rope, settings, menu
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 12:29:16 -08:00
Max Brunsfeld and Mikayla
7173f4a82b
Remove 2 suffix for fs, db, semantic_index, prettier
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 12:09:42 -08:00
Max Brunsfeld and Mikayla
f8cb050345
Remove 2 suffix for client, call, channel
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 12:02:14 -08:00
Max Brunsfeld and Mikayla
8e704c8a47
Remove 2 suffix for lsp, language, fuzzy
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 11:58:02 -08:00
Max Brunsfeld and Mikayla
cdafb2d039
Remove 2 suffix for project
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 11:53:34 -08:00
Max Brunsfeld and Mikayla
e0b840925f
Remove 2 suffix for ai, zed_actions, install_ci, feature_flags
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 11:48:46 -08:00
Max Brunsfeld and Mikayla
74e6eb908f
Remove 2 suffix for assistant, journal
...
Co-authored-by: Mikayla <mikayla@zed.dev >
2024-01-03 11:14:01 -08:00
Nate Butler and Joseph T. Lyons
1e92212052
Add some text to clarify no api key state
...
Co-Authored-By: Joseph T. Lyons <19867440+JosephTLyons@users.noreply.github.com >
2023-11-30 11:20:51 -05:00
Joseph T. Lyons
e000d61ca8
Add timestamp delta to telemetry events
2023-11-19 21:52:28 -05:00
Joseph T. Lyons
e90f157320
Add gpt-4-1106-preview model
2023-11-14 08:28:57 -05:00
KCaverly
77ba43fdf7
moved from Boxes to Arcs for shared access of completion providers across the assistant panel and inline assistant
2023-11-02 10:08:47 -04:00
KCaverly
04b7f427e8
authenticate with completion provider on new inline assists
2023-11-02 09:34:18 -04:00
Kyle Caverly
eb26a3eb3d
added parsing support for <|S| |E|> spans ( #3184 )
...
added parsing support for <|S| and |E|> spans for inline generation
2023-11-01 10:26:01 -04:00
KCaverly
d861749e52
added parsing support for <|S| |E|> spans
2023-10-30 13:32:47 -04:00
KCaverly
760a96677d
Merge branch 'main' of github.com:zed-industries/zed into model_cleanup
2023-10-30 11:07:29 -04:00
KCaverly
540806057a
clean up warnings and fix tests in the ai crate
2023-10-30 11:07:24 -04:00
KCaverly
0a4b9cc4c3
moved authentication for the semantic index into the EmbeddingProvider
2023-10-30 10:02:27 -04:00
KCaverly
f8890718e0
replace api_key with ProviderCredential throughout the AssistantPanel
2023-10-28 18:16:45 -04:00
KCaverly
7711979af8
added credential provider to completion provider
2023-10-28 16:35:43 -04:00
KCaverly
3e6c21e568
moved TestCompletionProvider into ai
2023-10-27 12:26:01 +02:00