diff --git a/ui/tracer/src/AddTargetsDialog.tsx b/ui/tracer/src/AddTargetsDialog.tsx new file mode 100644 index 00000000..5adbffa9 --- /dev/null +++ b/ui/tracer/src/AddTargetsDialog.tsx @@ -0,0 +1,80 @@ +import { + Button, + ButtonGroup, + Card, + CardList, + Dialog, + DialogBody, + DialogFooter, + FormGroup, + InputGroup, + Menu, + MenuItem, + Popover +} from "@blueprintjs/core"; + +export interface AddTargetsProps { + isOpen: boolean; + onClose: CloseEventHandler; +} + +export type CloseEventHandler = () => void; + +export default function AddTargetsDialog({ isOpen, onClose }: AddTargetsProps) { + const kindMenu = ( + + + + + + + + } + placement="bottom-end" + > + + + ); + + const actions = ( + + + + + ); + + const candidates = false ? ( + + + + libc.so!open + + + +
{connectionError}
+ setAddingTargets(false)} /> + +
+ ); } diff --git a/ui/tracer/src/HandlerList.css b/ui/tracer/src/HandlerList.css index ef2ca741..97b0af56 100644 --- a/ui/tracer/src/HandlerList.css +++ b/ui/tracer/src/HandlerList.css @@ -1,3 +1,3 @@ -.handlers { - min-width: 140px; +.handler-list { + min-width: 200px; } diff --git a/ui/tracer/src/HandlerList.tsx b/ui/tracer/src/HandlerList.tsx index 591c89aa..1688efce 100644 --- a/ui/tracer/src/HandlerList.tsx +++ b/ui/tracer/src/HandlerList.tsx @@ -53,7 +53,7 @@ export default function HandlerList({ handlers, selectedScope, onScopeSelect, se return (