diff --git a/frontend/src/lib/components/ApiConnectForm.svelte b/frontend/src/lib/components/ApiConnectForm.svelte index 32ee3e3cba..50b7a15917 100644 --- a/frontend/src/lib/components/ApiConnectForm.svelte +++ b/frontend/src/lib/components/ApiConnectForm.svelte @@ -25,6 +25,7 @@ export let linkedSecret: string | undefined = undefined export let isValid = true export let linkedSecretCandidates: string[] | undefined = undefined + export let description: string | undefined = undefined let schema = emptySchema() let notFound = false @@ -226,14 +227,12 @@ { ...args, url: selectedGHAppRepository, - github_app_installation_id: githubInstallations.find( - (_) => _.account_id === selectedGHAppAccountId - )?.installation_id, is_github_app: true }, null, 2 ) + description = `Repository ${selectedGHAppRepository} with permissions fetched using Windmill Github App. ${description ?? ''}` rawCodeEditor?.setCode(rawCode) close(null) } @@ -409,6 +408,7 @@ {/if} {#if githubInstallations.length > 0} (openOnHover ? open() : null)} on:mouseleave={() => (openOnHover ? close() : null)} use:pointerDownOutside={{ @@ -114,6 +116,11 @@ {#if displayArrow}
{/if} + {#if documentationLink} +
+ +
+ {/if} {#if closeButton}