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
|
@ -193,7 +193,7 @@ pub struct Pane {
|
|||
last_focus_handle_by_item: HashMap<EntityId, WeakFocusHandle>,
|
||||
nav_history: NavHistory,
|
||||
toolbar: View<Toolbar>,
|
||||
new_item_menu: Option<View<ContextMenu>>,
|
||||
pub new_item_menu: Option<View<ContextMenu>>,
|
||||
split_item_menu: Option<View<ContextMenu>>,
|
||||
// tab_context_menu: View<ContextMenu>,
|
||||
pub(crate) workspace: WeakView<Workspace>,
|
||||
|
@ -1747,7 +1747,7 @@ impl Pane {
|
|||
)
|
||||
}
|
||||
|
||||
fn render_menu_overlay(menu: &View<ContextMenu>) -> Div {
|
||||
pub fn render_menu_overlay(menu: &View<ContextMenu>) -> Div {
|
||||
div().absolute().bottom_0().right_0().size_0().child(
|
||||
deferred(
|
||||
anchored()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue