{
e.stopPropagation();
- console.log('toggling open');
toggleOpen();
}}
style={{cursor: 'pointer'}}
diff --git a/js_modules/dagster-ui/packages/ui-core/src/assets/LaunchAssetObservationButton.tsx b/js_modules/dagster-ui/packages/ui-core/src/assets/LaunchAssetObservationButton.tsx
index b73a39a8737f1..6f776ee048011 100644
--- a/js_modules/dagster-ui/packages/ui-core/src/assets/LaunchAssetObservationButton.tsx
+++ b/js_modules/dagster-ui/packages/ui-core/src/assets/LaunchAssetObservationButton.tsx
@@ -43,7 +43,7 @@ export const LaunchAssetObservationButton: React.FC<{
const scopeAssets = 'selected' in scope ? scope.selected : scope.all;
if (!scopeAssets.length) {
- return
;
+ return <>>;
}
const count = scopeAssets.length > 1 ? ` (${scopeAssets.length})` : '';
diff --git a/js_modules/dagster-ui/packages/ui-core/src/ui/GraphQueryInput.tsx b/js_modules/dagster-ui/packages/ui-core/src/ui/GraphQueryInput.tsx
index c12411b9a59d6..1a685963a3042 100644
--- a/js_modules/dagster-ui/packages/ui-core/src/ui/GraphQueryInput.tsx
+++ b/js_modules/dagster-ui/packages/ui-core/src/ui/GraphQueryInput.tsx
@@ -11,6 +11,11 @@ import {
Popover,
TextInput,
Tooltip,
+ Dialog,
+ DialogFooter,
+ DialogBody,
+ Table,
+ Tag,
} from '@dagster-io/ui-components';
import isEqual from 'lodash/isEqual';
import uniq from 'lodash/uniq';
@@ -34,6 +39,7 @@ interface GraphQueryInputProps {
popoverPosition?: PopoverPosition;
className?: string;
disabled?: boolean;
+ type?: 'asset_graph';
linkToPreview?: {
repoName: string;
@@ -320,6 +326,7 @@ export const GraphQueryInput = React.memo(
disabled={props.disabled}
value={pendingValue}
icon="op_selector"
+ rightElement={props.type === 'asset_graph' ?
: undefined}
strokeColor={intentToStrokeColor(props.intent)}
autoFocus={props.autoFocus}
placeholder={placeholderTextForItems(props.placeholder, props.items)}
@@ -423,6 +430,116 @@ export const GraphQueryInput = React.memo(
isEqual(prevProps.presets, nextProps.presets),
);
+const InfoIconDialog = () => {
+ const [isOpen, setIsOpen] = React.useState(false);
+ return (
+ <>
+
+
{
+ setIsOpen(true);
+ }}
+ >
+
+
+ >
+ );
+};
+
+const CustomTable = styled(Table)`
+ border-left: none;
+
+ &&& tr {
+ &:last-child td {
+ box-shadow: inset 1px 1px 0 rgba(233, 232, 232, 1) !important;
+ }
+ &:last-child td:first-child,
+ td:first-child,
+ th:first-child {
+ vertical-align: middle;
+ box-shadow: inset 0 1px 0 ${Colors.KeylineGray} !important;
+ }
+ }
+ border: 1px solid ${Colors.KeylineGray};
+ border-top: none;
+ margin-bottom: 12px;
+`;
+
const OpInfoWrap = styled.div`
width: 350px;
padding: 10px 16px 10px 16px;