diff --git a/web/app/components/plugins/marketplace/list/collection-list.tsx b/web/app/components/plugins/marketplace/list/collection-list.tsx index 16abc1f37e..533847bda5 100644 --- a/web/app/components/plugins/marketplace/list/collection-list.tsx +++ b/web/app/components/plugins/marketplace/list/collection-list.tsx @@ -5,7 +5,7 @@ import type { SearchParamsFromCollection } from '../types' import type { BaseCollection } from './collection-constants' import type { Locale } from '@/i18n-config/language' import { useLocale, useTranslation } from '#i18n' -import { RiArrowRightSLine } from '@remixicon/react' +import { RiArrowRightSLine, RiArrowRightUpLine } from '@remixicon/react' import { useEffect, useMemo, useState } from 'react' import { renderI18nObject } from '@/i18n-config' import { getLanguage } from '@/i18n-config/language' @@ -82,6 +82,8 @@ export function CollectionHeader({ const lang = getLanguage(locale) const label = renderI18nObject(collection.label, lang) const description = renderI18nObject(collection.description, lang) + // Plugin marketplace uses `partners`, Template marketplace uses `Partner Template`. + const isPartnersCollection = collection.name === 'partners' || collection.name === 'Partner Template' return (
@@ -89,8 +91,22 @@ export function CollectionHeader({
{label}
-
- {description} +
+ {description} + {isPartnersCollection && ( + <> + | + + Become a Partner + + + + )}
{showViewMore && viewMore} diff --git a/web/app/components/workflow/workflow-preview/index.tsx b/web/app/components/workflow/workflow-preview/index.tsx index bb85e00b6b..600ecbabc7 100644 --- a/web/app/components/workflow/workflow-preview/index.tsx +++ b/web/app/components/workflow/workflow-preview/index.tsx @@ -122,6 +122,8 @@ const WorkflowPreview = ({ nodesFocusable={false} edgesFocusable={false} panOnScroll={false} + zoomOnScroll={false} + preventScrolling={false} selectionKeyCode={null} selectionMode={SelectionMode.Partial} minZoom={0.25}