Skip to content

Fix leftover integration renaming on the UI #1291

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/ui/common/src/components/integrations/dialogs/dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -430,8 +430,8 @@ const IntegrationDialog: React.FC<Props> = ({
spellCheck={false}
required={true}
label="Name*"
description="Provide a unique name to refer to this integration."
placeholder={'my_' + formatService(service) + '_integration'}
description="Provide a unique name to refer to this resource."
placeholder={'my_' + formatService(service) + '_resource'}
onChange={(event) => {
setName(event.target.value);
setShouldShowNameError(false);
Expand All @@ -447,7 +447,7 @@ const IntegrationDialog: React.FC<Props> = ({
<DialogContent>
{editMode && numWorkflows > 0 && (
<Alert sx={{ mb: 2 }} severity="info">
{`Changing this integration will automatically update ${numWorkflows} ${
{`Changing this resource will automatically update ${numWorkflows} ${
numWorkflows === 1 ? 'workflow' : 'workflows'
}.`}
</Alert>
Expand All @@ -466,9 +466,9 @@ const IntegrationDialog: React.FC<Props> = ({

{shouldShowNameError && (
<Alert sx={{ mt: 2 }} severity="error">
<AlertTitle>Naming Error</AlertTitle>A connected integration already
<AlertTitle>Naming Error</AlertTitle>A connected resource already
exists with this name. Please provide a unique name for your
integration.
resource.
</Alert>
)}

Expand Down