Skip to content

Commit cf286d4

Browse files
jamiedemariaJong wan Hur
authored andcommitted
[ui] summarize run menu item (dagster-io#32782)
Adds the summarize button in oss with the no-op implementation
1 parent b3e9ff4 commit cf286d4

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import {RunStatus} from '../graphql/types';
2+
3+
interface Props {
4+
run: {id: string; status: RunStatus};
5+
}
6+
7+
// eslint-disable-next-line unused-imports/no-unused-vars
8+
export const AISummaryForRunMenuItem = ({run}: Props) => null;

js_modules/dagster-ui/packages/ui-core/src/runs/RunActionsMenu.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import {
1717
import uniq from 'lodash/uniq';
1818
import * as React from 'react';
1919
import {Link} from 'react-router-dom';
20+
import {AISummaryForRunMenuItem} from 'shared/runs/AISummaryForRunMenuItem.oss';
2021
import {RunMetricsDialog} from 'shared/runs/RunMetricsDialog.oss';
2122
import styled from 'styled-components';
2223

@@ -122,6 +123,7 @@ export const RunActionsMenu = React.memo(({run, onAddTag, anchorLabel}: Props) =
122123
<Popover
123124
content={
124125
<Menu>
126+
<AISummaryForRunMenuItem run={run} />
125127
<MenuItem
126128
tagName="button"
127129
style={{minWidth: 200}}

0 commit comments

Comments
 (0)