Introduce Tabs to Assistant Panel (#13783)

<img width="1652" alt="image"
src="https://github.com/zed-industries/zed/assets/482957/8397ea87-51aa-4b69-85c7-bf963fe2b08a">

Release Notes:

- N/A
This commit is contained in:
Antonio Scandurra 2024-07-04 10:11:24 +02:00 committed by GitHub
parent ed09bb949c
commit 818e6e53d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 658 additions and 504 deletions

2
Cargo.lock generated
View File

@ -374,6 +374,7 @@ dependencies = [
"anyhow",
"assistant_slash_command",
"async-watch",
"breadcrumbs",
"cargo_toml",
"chrono",
"client",
@ -383,7 +384,6 @@ dependencies = [
"editor",
"env_logger",
"feature_flags",
"file_icons",
"fs",
"futures 0.3.28",
"fuzzy",

View File

@ -17,6 +17,7 @@ anthropic = { workspace = true, features = ["schemars"] }
anyhow.workspace = true
assistant_slash_command.workspace = true
async-watch.workspace = true
breadcrumbs.workspace = true
cargo_toml.workspace = true
chrono.workspace = true
client.workspace = true
@ -24,7 +25,6 @@ collections.workspace = true
command_palette_hooks.workspace = true
editor.workspace = true
feature_flags.workspace = true
file_icons.workspace = true
fs.workspace = true
futures.workspace = true
fuzzy.workspace = true

View File

@ -49,7 +49,8 @@ actions!(
ResetKey,
InlineAssist,
InsertActivePrompt,
ToggleHistory,
DeployHistory,
DeployPromptLibrary,
ApplyEdit,
ConfirmCommand,
ToggleModelSelector

File diff suppressed because it is too large Load Diff

View File

@ -79,6 +79,6 @@ impl RenderOnce for ModelSelector {
Tooltip::for_action("Change Model", &ToggleModelSelector, cx)
}),
)
.anchor(gpui::AnchorCorner::BottomRight)
.attach(gpui::AnchorCorner::BottomLeft)
}
}