diff --git a/frontend/src/lib/components/AppConnect.svelte b/frontend/src/lib/components/AppConnect.svelte index 1f1ee7f77c..a8196402a6 100644 --- a/frontend/src/lib/components/AppConnect.svelte +++ b/frontend/src/lib/components/AppConnect.svelte @@ -275,7 +275,7 @@ }} size="800px" > - + {#if step == 1}
Non OAuth APIs +

Non OAuth APIs & Resources

{#if filteredConnectsManual} {#each filteredConnectsManual as [key, instructions]} diff --git a/frontend/src/lib/components/DisplayResult.svelte b/frontend/src/lib/components/DisplayResult.svelte index db34cc7de1..5774fe68be 100644 --- a/frontend/src/lib/components/DisplayResult.svelte +++ b/frontend/src/lib/components/DisplayResult.svelte @@ -174,5 +174,7 @@ code={JSON.stringify(result, null, 4).replace(/\\n/g, '\n')} /> {/if} + {:else} +
No result
{/if}
diff --git a/frontend/src/lib/components/IconedResourceType.svelte b/frontend/src/lib/components/IconedResourceType.svelte index 3f295b1671..07f77738b5 100644 --- a/frontend/src/lib/components/IconedResourceType.svelte +++ b/frontend/src/lib/components/IconedResourceType.svelte @@ -7,15 +7,17 @@ export let height = '24px' export let width = '24px' export let center = false + + $: name_prefix = name.split('_')[0]
{#if !silent && !after} {name} {/if} - {#if APP_TO_ICON_COMPONENT[name]} + {#if APP_TO_ICON_COMPONENT[name_prefix]} - + {:else} diff --git a/frontend/src/lib/components/icons/DatadogIcon.svelte b/frontend/src/lib/components/icons/DatadogIcon.svelte new file mode 100644 index 0000000000..fc5bf7db13 --- /dev/null +++ b/frontend/src/lib/components/icons/DatadogIcon.svelte @@ -0,0 +1,49 @@ + + + + + diff --git a/frontend/src/lib/components/icons/FunkwhaleIcon.svelte b/frontend/src/lib/components/icons/FunkwhaleIcon.svelte new file mode 100644 index 0000000000..b709cf8eac --- /dev/null +++ b/frontend/src/lib/components/icons/FunkwhaleIcon.svelte @@ -0,0 +1,92 @@ + + +image/svg+xml + + + + + + + + + + + + + diff --git a/frontend/src/lib/components/icons/HubspotIcon.svelte b/frontend/src/lib/components/icons/HubspotIcon.svelte new file mode 100644 index 0000000000..f51ff53f42 --- /dev/null +++ b/frontend/src/lib/components/icons/HubspotIcon.svelte @@ -0,0 +1,10 @@ + + + + + diff --git a/frontend/src/lib/components/icons/LinkedinIcon.svelte b/frontend/src/lib/components/icons/LinkedinIcon.svelte new file mode 100644 index 0000000000..ba0cd36583 --- /dev/null +++ b/frontend/src/lib/components/icons/LinkedinIcon.svelte @@ -0,0 +1,10 @@ + + + + + diff --git a/frontend/src/lib/components/icons/Mysql.svelte b/frontend/src/lib/components/icons/Mysql.svelte index 814e91acbe..17762e6d4d 100644 --- a/frontend/src/lib/components/icons/Mysql.svelte +++ b/frontend/src/lib/components/icons/Mysql.svelte @@ -13,7 +13,7 @@ > + export let height = '24px' + export let width = '24px' + + + + + diff --git a/frontend/src/lib/components/icons/TelegramIcon.svelte b/frontend/src/lib/components/icons/TelegramIcon.svelte new file mode 100644 index 0000000000..50247145a8 --- /dev/null +++ b/frontend/src/lib/components/icons/TelegramIcon.svelte @@ -0,0 +1,10 @@ + + + + + diff --git a/frontend/src/lib/components/icons/index.ts b/frontend/src/lib/components/icons/index.ts index f0e02a3f53..c66578e8cf 100644 --- a/frontend/src/lib/components/icons/index.ts +++ b/frontend/src/lib/components/icons/index.ts @@ -22,6 +22,12 @@ import MailchimpIcon from './MailchimpIcon.svelte' import SendgridIcon from './SendgridIcon.svelte' import SendflakeIcon from './SendflakeIcon.svelte' import QRCodeIcon from './QRCodeIcon.svelte' +import LinkedinIcon from './LinkedinIcon.svelte' +import HubspotIcon from './HubspotIcon.svelte' +import DatadogIcon from './DatadogIcon.svelte' +import StripeIcon from './StripeIcon.svelte' +import TelegramIcon from './TelegramIcon.svelte' +import FunkwhaleIcon from './FunkwhaleIcon.svelte' export const APP_TO_ICON_COMPONENT = { postgresql: PostgresIcon, @@ -48,7 +54,13 @@ export const APP_TO_ICON_COMPONENT = { mailchimp: MailchimpIcon, sendgrid: SendgridIcon, snowflake: SendflakeIcon, - qrcode: QRCodeIcon + qrcode: QRCodeIcon, + linkedin: LinkedinIcon, + hubspot: HubspotIcon, + datadog: DatadogIcon, + stripe: StripeIcon, + telegram: TelegramIcon, + funkwhale: FunkwhaleIcon } as const export { @@ -73,5 +85,11 @@ export { TogglIcon, WindmillIcon, MailchimpIcon, - SendgridIcon + SendgridIcon, + LinkedinIcon, + HubspotIcon, + TelegramIcon, + StripeIcon, + DatadogIcon, + FunkwhaleIcon } diff --git a/frontend/src/routes/run/[...run].svelte b/frontend/src/routes/run/[...run].svelte index c67cdfef98..b250ef6b63 100644 --- a/frontend/src/routes/run/[...run].svelte +++ b/frontend/src/routes/run/[...run].svelte @@ -70,7 +70,7 @@ // If we get results, focus on that tab. Else, focus on logs function initView(): void { - if (job && 'result' in job && job.result !== undefined) { + if (job && 'result' in job && job.result != undefined) { viewTab = 'result' } else if (viewTab == 'result') { viewTab = 'logs'