From dfafcb0f6ab52ab333ef50ff58a9c660133eaba8 Mon Sep 17 00:00:00 2001 From: David Liu Date: Fri, 22 Nov 2024 13:06:54 -0500 Subject: [PATCH] initial design tweaks --- .../VirtualizedAutomationScheduleRow.tsx | 15 ------------- .../VirtualizedAutomationSensorRow.tsx | 21 ------------------- .../src/ticks/EvaluateTickButtonSchedule.tsx | 2 +- .../src/ticks/EvaluateTickButtonSensor.tsx | 2 +- 4 files changed, 2 insertions(+), 38 deletions(-) diff --git a/js_modules/dagster-ui/packages/ui-core/src/automation/VirtualizedAutomationScheduleRow.tsx b/js_modules/dagster-ui/packages/ui-core/src/automation/VirtualizedAutomationScheduleRow.tsx index e4a8568d1f974..3132b7f265084 100644 --- a/js_modules/dagster-ui/packages/ui-core/src/automation/VirtualizedAutomationScheduleRow.tsx +++ b/js_modules/dagster-ui/packages/ui-core/src/automation/VirtualizedAutomationScheduleRow.tsx @@ -8,7 +8,6 @@ import { } from '@dagster-io/ui-components'; import {forwardRef, useMemo} from 'react'; import {Link} from 'react-router-dom'; -import styled from 'styled-components'; import {AutomationTargetList} from './AutomationTargetList'; import {AutomationRowGrid} from './VirtualizedAutomationRow'; @@ -25,7 +24,6 @@ import { ScheduleAssetSelectionQuery, ScheduleAssetSelectionQueryVariables, } from '../schedules/types/ScheduleAssetSelectionsQuery.types'; -import {EvaluateTickButtonSchedule} from '../ticks/EvaluateTickButtonSchedule'; import {TickStatusTag} from '../ticks/TickStatusTag'; import {RowCell} from '../ui/VirtualizedTable'; import {SINGLE_SCHEDULE_QUERY} from '../workspace/VirtualizedScheduleRow'; @@ -164,13 +162,6 @@ export const VirtualizedAutomationScheduleRow = forwardRef( - - - @@ -242,9 +233,3 @@ export const VirtualizedAutomationScheduleRow = forwardRef( ); }, ); - -const EvaluateTickButtonScheduleWrapper = styled.div` - button { - height: 24px; - } -`; diff --git a/js_modules/dagster-ui/packages/ui-core/src/automation/VirtualizedAutomationSensorRow.tsx b/js_modules/dagster-ui/packages/ui-core/src/automation/VirtualizedAutomationSensorRow.tsx index 599551ffca9e5..1d37a69a14f41 100644 --- a/js_modules/dagster-ui/packages/ui-core/src/automation/VirtualizedAutomationSensorRow.tsx +++ b/js_modules/dagster-ui/packages/ui-core/src/automation/VirtualizedAutomationSensorRow.tsx @@ -8,7 +8,6 @@ import { } from '@dagster-io/ui-components'; import {forwardRef, useMemo} from 'react'; import {Link} from 'react-router-dom'; -import styled from 'styled-components'; import {AutomationTargetList} from './AutomationTargetList'; import {AutomationRowGrid} from './VirtualizedAutomationRow'; @@ -22,7 +21,6 @@ import { SensorAssetSelectionQuery, SensorAssetSelectionQueryVariables, } from '../sensors/types/SensorRoot.types'; -import {EvaluateTickButtonSensor} from '../ticks/EvaluateTickButtonSensor'; import {TickStatusTag} from '../ticks/TickStatusTag'; import {RowCell} from '../ui/VirtualizedTable'; import {SENSOR_TYPE_META, SINGLE_SENSOR_QUERY} from '../workspace/VirtualizedSensorRow'; @@ -163,19 +161,6 @@ export const VirtualizedAutomationSensorRow = forwardRef( - {sensorData ? ( - - - - ) : ( -
- )} @@ -235,9 +220,3 @@ export const VirtualizedAutomationSensorRow = forwardRef( ); }, ); - -const EvaluateTickButtonSensorWrapper = styled.div` - button { - height: 24px; - } -`; diff --git a/js_modules/dagster-ui/packages/ui-core/src/ticks/EvaluateTickButtonSchedule.tsx b/js_modules/dagster-ui/packages/ui-core/src/ticks/EvaluateTickButtonSchedule.tsx index 1929282a95139..a579e66913f41 100644 --- a/js_modules/dagster-ui/packages/ui-core/src/ticks/EvaluateTickButtonSchedule.tsx +++ b/js_modules/dagster-ui/packages/ui-core/src/ticks/EvaluateTickButtonSchedule.tsx @@ -24,7 +24,7 @@ export const EvaluateTickButtonSchedule = ({ setShowTestTickDialog(true); }} > - Evaluate tick + Preview tick result setShowTestTickDialog(true)} > - Evaluate tick + Preview tick result