title_bar: Remove dependency on feedback
(#21013)
This PR removes the `title_bar` crate's dependency on the `feedback`
crate.
The `feedback::GiveFeedback` action now resides at
`zed_actions::feedback::GiveFeedback`.
`title_bar` now no longer depends on `editor` 🥳
Release Notes:
- N/A
This commit is contained in:
parent
614b3b979b
commit
2868b67286
8 changed files with 16 additions and 11 deletions
|
@ -19,7 +19,6 @@ test-support = [
|
|||
"call/test-support",
|
||||
"client/test-support",
|
||||
"collections/test-support",
|
||||
"editor/test-support",
|
||||
"gpui/test-support",
|
||||
"http_client/test-support",
|
||||
"project/test-support",
|
||||
|
@ -31,7 +30,6 @@ test-support = [
|
|||
auto_update.workspace = true
|
||||
call.workspace = true
|
||||
client.workspace = true
|
||||
feedback.workspace = true
|
||||
feature_flags.workspace = true
|
||||
gpui.workspace = true
|
||||
notifications.workspace = true
|
||||
|
@ -54,7 +52,6 @@ windows.workspace = true
|
|||
call = { workspace = true, features = ["test-support"] }
|
||||
client = { workspace = true, features = ["test-support"] }
|
||||
collections = { workspace = true, features = ["test-support"] }
|
||||
editor = { workspace = true, features = ["test-support"] }
|
||||
gpui = { workspace = true, features = ["test-support"] }
|
||||
http_client = { workspace = true, features = ["test-support"] }
|
||||
notifications = { workspace = true, features = ["test-support"] }
|
||||
|
|
|
@ -116,7 +116,10 @@ impl Render for ApplicationMenu {
|
|||
url: "https://zed.dev/docs".into(),
|
||||
}),
|
||||
)
|
||||
.action("Give Feedback", Box::new(feedback::GiveFeedback))
|
||||
.action(
|
||||
"Give Feedback",
|
||||
Box::new(zed_actions::feedback::GiveFeedback),
|
||||
)
|
||||
.action("Check for Updates", Box::new(auto_update::Check))
|
||||
.action("View Telemetry", Box::new(zed_actions::OpenTelemetryLog))
|
||||
.action(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue