Skip to content

Commit

Permalink
change non-executable to external
Browse files Browse the repository at this point in the history
  • Loading branch information
schrockn committed Oct 9, 2023
1 parent d7147cc commit ee554fb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ const DescriptionAnnotations: React.FC<{
{assetNode.isSource ? (
<Caption style={{lineHeight: '16px'}}>Source Asset</Caption>
) : !assetNode.isExecutable ? (
<Caption style={{lineHeight: '16px'}}>Non-executable Asset</Caption>
<Caption style={{lineHeight: '16px'}}>External Asset</Caption>
) : undefined}
</Box>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export function executionDisabledMessageForAssets(
: assets.every((a) => a.isSource)
? 'Source assets cannot be materialized'
: assets.every((a) => !a.isExecutable)
? 'Non-executable assets cannot be materialized'
? 'External assets cannot be materialized'
: null;
}

Expand Down Expand Up @@ -412,7 +412,7 @@ async function stateForLaunchingAssets(
if (assets.some((x) => !x.isExecutable)) {
return {
type: 'error',
error: 'One or more non-executable assets are selected.',
error: 'One or more external assets are selected.',
};
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ describe('LaunchAssetExecutionButton', () => {
expect(button).toBeDisabled();

userEvent.hover(button);
expect(await screen.findByText('Non-executable assets cannot be materialized')).toBeDefined();
expect(await screen.findByText('External assets cannot be materialized')).toBeDefined();
});
});

Expand Down

0 comments on commit ee554fb

Please sign in to comment.