Skip to content

Commit

Permalink
feedback + rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
salazarm committed Oct 6, 2023
1 parent fa542cc commit 16b856b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ export const AutomaterializationEvaluationHistoryTable = ({
<th>Status</th>
<th>Duration</th>
<th>Result</th>
<th></th>
</tr>
</thead>
<tbody>
Expand Down Expand Up @@ -173,15 +172,6 @@ export const AutomaterializationEvaluationHistoryTable = ({
' - '
)}
</td>
<td>
<Button
onClick={() => {
setSelectedTick(tick);
}}
>
View details
</Button>
</td>
</tr>
))}
</tbody>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,11 @@ export const AutomaterializationTickDetailDialog = React.memo(
<Subtitle2>Status</Subtitle2>
<Box flex={{direction: 'row', gap: 4, alignItems: 'center'}}>
<Tag intent={intent}>
{tick?.requestedAssetMaterializationCount ?? 0} requested
{tick?.status === InstigationTickStatus.STARTED ? (
'Evaluating…'
) : (
<>{tick?.requestedAssetMaterializationCount ?? 0} requested</>
)}
</Tag>
{tick?.error ? (
<ButtonLink
Expand All @@ -246,13 +250,17 @@ export const AutomaterializationTickDetailDialog = React.memo(
</Box>
</div>
</Box>
<Box
padding={{vertical: 12, horizontal: 24}}
border={filteredAssetKeys.length > 0 ? undefined : 'bottom'}
>
<Subtitle2>Materializations requested</Subtitle2>
</Box>
{content}
{tick?.status === InstigationTickStatus.STARTED ? null : (
<>
<Box
padding={{vertical: 12, horizontal: 24}}
border={filteredAssetKeys.length > 0 ? undefined : 'bottom'}
>
<Subtitle2>Materializations requested</Subtitle2>
</Box>
{content}
</>
)}
</div>
}
/>
Expand Down

0 comments on commit 16b856b

Please sign in to comment.