debugger: Add tooltips to the new process modal (#31953)
Closes #ISSUE Release Notes: - N/A
This commit is contained in:
parent
b798392050
commit
55d91bce53
1 changed files with 6 additions and 2 deletions
|
@ -29,8 +29,8 @@ use ui::{
|
||||||
ContextMenu, Disableable, DropdownMenu, FluentBuilder, Icon, IconName, IconSize,
|
ContextMenu, Disableable, DropdownMenu, FluentBuilder, Icon, IconName, IconSize,
|
||||||
IconWithIndicator, Indicator, InteractiveElement, IntoElement, Label, LabelCommon as _,
|
IconWithIndicator, Indicator, InteractiveElement, IntoElement, Label, LabelCommon as _,
|
||||||
ListItem, ListItemSpacing, ParentElement, RenderOnce, SharedString, Styled, StyledExt,
|
ListItem, ListItemSpacing, ParentElement, RenderOnce, SharedString, Styled, StyledExt,
|
||||||
StyledTypography, ToggleButton, ToggleState, Toggleable, Window, div, h_flex, px, relative,
|
StyledTypography, ToggleButton, ToggleState, Toggleable, Tooltip, Window, div, h_flex, px,
|
||||||
rems, v_flex,
|
relative, rems, v_flex,
|
||||||
};
|
};
|
||||||
use util::ResultExt;
|
use util::ResultExt;
|
||||||
use workspace::{ModalView, Workspace, pane};
|
use workspace::{ModalView, Workspace, pane};
|
||||||
|
@ -643,6 +643,7 @@ impl Render for NewProcessModal {
|
||||||
this.mode_focus_handle(cx).focus(window);
|
this.mode_focus_handle(cx).focus(window);
|
||||||
cx.notify();
|
cx.notify();
|
||||||
}))
|
}))
|
||||||
|
.tooltip(Tooltip::text("Run predefined task"))
|
||||||
.first(),
|
.first(),
|
||||||
)
|
)
|
||||||
.child(
|
.child(
|
||||||
|
@ -658,6 +659,7 @@ impl Render for NewProcessModal {
|
||||||
this.mode_focus_handle(cx).focus(window);
|
this.mode_focus_handle(cx).focus(window);
|
||||||
cx.notify();
|
cx.notify();
|
||||||
}))
|
}))
|
||||||
|
.tooltip(Tooltip::text("Start a predefined debug scenario"))
|
||||||
.middle(),
|
.middle(),
|
||||||
)
|
)
|
||||||
.child(
|
.child(
|
||||||
|
@ -682,6 +684,7 @@ impl Render for NewProcessModal {
|
||||||
this.mode_focus_handle(cx).focus(window);
|
this.mode_focus_handle(cx).focus(window);
|
||||||
cx.notify();
|
cx.notify();
|
||||||
}))
|
}))
|
||||||
|
.tooltip(Tooltip::text("Attach the debugger to a running process"))
|
||||||
.middle(),
|
.middle(),
|
||||||
)
|
)
|
||||||
.child(
|
.child(
|
||||||
|
@ -697,6 +700,7 @@ impl Render for NewProcessModal {
|
||||||
this.mode_focus_handle(cx).focus(window);
|
this.mode_focus_handle(cx).focus(window);
|
||||||
cx.notify();
|
cx.notify();
|
||||||
}))
|
}))
|
||||||
|
.tooltip(Tooltip::text("Launch a new process with a debugger"))
|
||||||
.last(),
|
.last(),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue