diff --git a/js_modules/dagster-ui/packages/ui-core/src/assets/LaunchAssetChoosePartitionsDialog.tsx b/js_modules/dagster-ui/packages/ui-core/src/assets/LaunchAssetChoosePartitionsDialog.tsx index e33a4f3174b77..cf6cade712b62 100644 --- a/js_modules/dagster-ui/packages/ui-core/src/assets/LaunchAssetChoosePartitionsDialog.tsx +++ b/js_modules/dagster-ui/packages/ui-core/src/assets/LaunchAssetChoosePartitionsDialog.tsx @@ -455,7 +455,7 @@ const LaunchAssetChoosePartitionsDialogBody: React.FC = ({ } > = ({ {target.type === 'pureWithAnchorAsset' && ( @@ -493,7 +493,7 @@ const LaunchAssetChoosePartitionsDialogBody: React.FC = ({ @@ -552,7 +552,7 @@ const LaunchAssetChoosePartitionsDialogBody: React.FC = ({ } isInitiallyOpen={false} > - + = ({ isInitiallyOpen={true} > {target.type === 'job' && ( - + = ({ )} - + {previewCount > 0 && ( } > - + {alerts} diff --git a/js_modules/dagster-ui/packages/ui-core/src/assets/useReportEventsModal.tsx b/js_modules/dagster-ui/packages/ui-core/src/assets/useReportEventsModal.tsx index a20e052298e31..919ff9d24cc03 100644 --- a/js_modules/dagster-ui/packages/ui-core/src/assets/useReportEventsModal.tsx +++ b/js_modules/dagster-ui/packages/ui-core/src/assets/useReportEventsModal.tsx @@ -49,12 +49,14 @@ export function useReportEventsModal(asset: Asset | null, onEventReported: () => const dropdownOptions = React.useMemo( () => [ { - label: 'Report materialization event', + label: asset?.isPartitioned + ? 'Report materialization events' + : 'Report materialization event', icon: , onClick: () => setIsOpen(true), }, ], - [], + [asset?.isPartitioned], ); const element = asset ? ( @@ -196,7 +198,7 @@ const ReportEventDialogBody: React.FC<{ diff --git a/js_modules/dagster-ui/packages/ui-core/src/ui/ToggleableSection.tsx b/js_modules/dagster-ui/packages/ui-core/src/ui/ToggleableSection.tsx index 874377d6c917d..d83df157cace4 100644 --- a/js_modules/dagster-ui/packages/ui-core/src/ui/ToggleableSection.tsx +++ b/js_modules/dagster-ui/packages/ui-core/src/ui/ToggleableSection.tsx @@ -21,7 +21,7 @@ export const ToggleableSection = ({ background={background ?? Colors.Gray50} border="bottom" flex={{alignItems: 'center', direction: 'row'}} - padding={{vertical: 12, horizontal: 24}} + padding={{vertical: 12, right: 20, left: 16}} style={{cursor: 'pointer'}} >