diff --git a/apps/web/components/eventtype/EventAppsTab.tsx b/apps/web/components/eventtype/EventAppsTab.tsx index d42ab0a04e..067a09a76e 100644 --- a/apps/web/components/eventtype/EventAppsTab.tsx +++ b/apps/web/components/eventtype/EventAppsTab.tsx @@ -1,3 +1,5 @@ +import { Trans } from "next-i18next"; +import Link from "next/link"; import type { EventTypeSetupProps, FormValues } from "pages/event-types/[type]"; import { useFormContext } from "react-hook-form"; @@ -158,9 +160,21 @@ export const EventAppsTab = ({ eventType }: { eventType: EventType }) => { {!shouldLockDisableProps("apps").disabled && (
{!isLoading && notInstalledApps?.length ? ( -

{t("available_apps")}

+ <> +

+ {t("available_apps_lower_case")} +

+

+ + You have no apps installed. View popular apps below and explore more in our   + + App Store + + +

+ ) : null} -
+
{notInstalledApps?.map((app) => ( App Store", "check_email_reset_password": "Check your email. We sent you a link to reset your password.", "finish": "Finish", "organization_general_description": "Manage settings for your team language and timezone", diff --git a/packages/app-store/_components/AppCard.tsx b/packages/app-store/_components/AppCard.tsx index b7f54db828..d73ba73c37 100644 --- a/packages/app-store/_components/AppCard.tsx +++ b/packages/app-store/_components/AppCard.tsx @@ -38,27 +38,38 @@ export default function AppCard({ return (
{/* Don't know why but w-[42px] isn't working, started happening when I started using next/dynamic */} - + {app?.name} -
- {app?.name} -

+

+
+ + {app?.name} + + {!app?.isInstalled && ( + + {app?.categories[0].charAt(0).toUpperCase() + app?.categories[0].slice(1)} + + )} +
+

{description || app?.description}

@@ -105,7 +116,9 @@ export default function AppCard({
{app?.isInstalled && switchChecked &&
} - {app?.isInstalled && switchChecked ?
{children}
: null} + {app?.isInstalled && switchChecked ? ( +
{children}
+ ) : null}
); diff --git a/packages/app-store/_components/OmniInstallAppButton.tsx b/packages/app-store/_components/OmniInstallAppButton.tsx index 2969b6ad5f..0b4ed9556b 100644 --- a/packages/app-store/_components/OmniInstallAppButton.tsx +++ b/packages/app-store/_components/OmniInstallAppButton.tsx @@ -76,7 +76,7 @@ export default function OmniInstallAppButton({ className="[@media(max-width:260px)]:w-full [@media(max-width:260px)]:justify-center" StartIcon={Plus} {...props}> - {t("install")} + {t("add")} ); }} diff --git a/packages/app-store/plausible/components/EventTypeAppCardInterface.tsx b/packages/app-store/plausible/components/EventTypeAppCardInterface.tsx index 40645726b9..63abae7450 100644 --- a/packages/app-store/plausible/components/EventTypeAppCardInterface.tsx +++ b/packages/app-store/plausible/components/EventTypeAppCardInterface.tsx @@ -23,6 +23,27 @@ const EventTypeAppCard: EventTypeAppCardComponent = function EventTypeAppCard({ }} switchChecked={enabled} teamId={eventType.team?.id || undefined}> +
+ { + setAppData("PLAUSIBLE_URL", e.target.value); + }} + /> + { + setAppData("trackingId", e.target.value); + }} + /> +
-
+