task_ui: Move status indicator into tab bar of terminal panel (#10846)
I'm not a huge fan of this change (& I expect the placement to change). The plan is to have the button in a toolbar of terminal panel, but I'm not sure if occupying a whole line of vertical space for a single button is worth it; I suppose we might want to put more of tasks ui inside of that toolbar. Release Notes: - Removed task status indicator and added "Spawn task" action to terminal panel context menu.
This commit is contained in:
parent
bcbf2f2fd3
commit
2ee257a562
9 changed files with 46 additions and 120 deletions
|
@ -8,7 +8,7 @@ use anyhow::Context;
|
|||
use editor::Editor;
|
||||
use gpui::{AppContext, ViewContext, WindowContext};
|
||||
use language::{BasicContextProvider, ContextProvider, Language};
|
||||
use modal::{Spawn, TasksModal};
|
||||
use modal::TasksModal;
|
||||
use project::{Location, TaskSourceKind, WorktreeId};
|
||||
use task::{ResolvedTask, TaskContext, TaskTemplate, TaskVariables};
|
||||
use util::ResultExt;
|
||||
|
@ -16,9 +16,8 @@ use workspace::Workspace;
|
|||
|
||||
mod modal;
|
||||
mod settings;
|
||||
mod status_indicator;
|
||||
|
||||
pub use status_indicator::TaskStatusIndicator;
|
||||
pub use modal::Spawn;
|
||||
|
||||
pub fn init(cx: &mut AppContext) {
|
||||
settings::TaskSettings::register(cx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue