From 65dd425fc924262d7af5e15e04afe24f82b62635 Mon Sep 17 00:00:00 2001 From: Xiangzhe Date: Mon, 24 Aug 2026 01:03:24 -0300 Subject: [PATCH] fix(dashboard): route the Adapta tutorial CTA through the branded shortener MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Adapta tutorial modal's CTA linked straight to agent.adapta.one, so those clicks never reached our metrics. Points the href at https://link.omniroute.online/adapta (the `adapta` slug on our own shortener) while keeping the visible link text as the real domain, so users still see where they are going. Completes the shortener rollout started in #11196 — that PR created the `adapta` slug but did not wire this callsite. Provider baseUrl configs that also mention agent.adapta.one are API endpoints and are deliberately untouched. --- .../providers/[id]/components/AdaptaTutorialModal.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app/(dashboard)/dashboard/providers/[id]/components/AdaptaTutorialModal.tsx b/src/app/(dashboard)/dashboard/providers/[id]/components/AdaptaTutorialModal.tsx index e01ab1ea2d..8882b7ab3c 100644 --- a/src/app/(dashboard)/dashboard/providers/[id]/components/AdaptaTutorialModal.tsx +++ b/src/app/(dashboard)/dashboard/providers/[id]/components/AdaptaTutorialModal.tsx @@ -7,6 +7,10 @@ type AdaptaTutorialModalProps = { onClose: () => void; }; +// The Adapta CTA href points at https://link.omniroute.online/adapta (our own +// shortener, the `adapta` slug) so the click lands in our Kutt metrics. The visible +// link text intentionally stays the real domain (agent.adapta.one/agentic-chat) so +// users still see where they are going. export function AdaptaTutorialModal({ isOpen, onClose }: AdaptaTutorialModalProps) { const t = useTranslations("providers.adaptaTutorial"); @@ -29,7 +33,7 @@ export function AdaptaTutorialModal({ isOpen, onClose }: AdaptaTutorialModalProp

{t("step1DescPrefix")}{" "}