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:
Piotr Osiewicz 2024-04-23 16:27:18 +02:00 committed by GitHub
parent bcbf2f2fd3
commit 2ee257a562
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 46 additions and 120 deletions

View file

@ -31,10 +31,11 @@ pub struct Spawn {
}
impl Spawn {
pub(crate) fn modal() -> Self {
pub fn modal() -> Self {
Self { task_name: None }
}
}
/// Rerun last task
#[derive(PartialEq, Clone, Deserialize, Default)]
pub struct Rerun {