chore: Sever terminal_view <-> tasks_ui dependency (#20946)
Closes #ISSUE Release Notes: - N/A
This commit is contained in:
parent
cbba44900d
commit
536d7e5355
8 changed files with 56 additions and 53 deletions
|
@ -24,7 +24,6 @@ itertools.workspace = true
|
|||
language.workspace = true
|
||||
project.workspace = true
|
||||
task.workspace = true
|
||||
tasks_ui.workspace = true
|
||||
search.workspace = true
|
||||
serde.workspace = true
|
||||
serde_json.workspace = true
|
||||
|
|
|
@ -218,7 +218,7 @@ impl TerminalPanel {
|
|||
// context menu will be gone the moment we spawn the modal.
|
||||
.action(
|
||||
"Spawn task",
|
||||
tasks_ui::Spawn::modal().boxed_clone(),
|
||||
zed_actions::Spawn::modal().boxed_clone(),
|
||||
)
|
||||
});
|
||||
|
||||
|
|
|
@ -1044,8 +1044,8 @@ impl Item for TerminalView {
|
|||
.shape(ui::IconButtonShape::Square)
|
||||
.tooltip(|cx| Tooltip::text("Rerun task", cx))
|
||||
.on_click(move |_, cx| {
|
||||
cx.dispatch_action(Box::new(tasks_ui::Rerun {
|
||||
task_id: Some(task_id.clone()),
|
||||
cx.dispatch_action(Box::new(zed_actions::Rerun {
|
||||
task_id: Some(task_id.0.clone()),
|
||||
allow_concurrent_runs: Some(true),
|
||||
use_new_terminal: Some(false),
|
||||
reevaluate_context: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue