Skip to content
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

Remove Start Workflow input preview, add error alert for invalid input #2338

Merged
merged 3 commits into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Translate
  • Loading branch information
Alex-Tideman committed Sep 20, 2024
commit b713ef71baa5a6daaf614239e29e6776d9673ec4
1 change: 1 addition & 0 deletions src/lib/i18n/locales/en/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,5 @@ export const Strings = {
attempt: 'Attempt',
message: 'Message',
'upload-json': 'Upload JSON',
'input-valid-json': 'Input must be valid JSON',
} as const;
2 changes: 1 addition & 1 deletion src/lib/pages/start-workflow.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@
/>
{/key}
{#if !inputValid}
<Alert intent="error" title="Input must be valid JSON" />
<Alert intent="error" title={translate('common.input-valid-json')} />
{/if}
</div>
</div>
Expand Down
Loading