From ea30650109b7e35f7eb2c6014cb5c66a80cafccc Mon Sep 17 00:00:00 2001 From: Yury Kossakovsky Date: Tue, 16 Dec 2025 16:38:07 -0700 Subject: [PATCH] feat(welcome): add urlSuffix support for service links --- welcome/app.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/welcome/app.js b/welcome/app.js index ed615f1..a82e6dc 100644 --- a/welcome/app.js +++ b/welcome/app.js @@ -229,7 +229,8 @@ icon: 'QD', color: 'bg-[#DC244C]', category: 'database', - docsUrl: 'https://qdrant.tech/documentation' + docsUrl: 'https://qdrant.tech/documentation', + urlSuffix: '/dashboard' }, 'weaviate': { name: 'Weaviate', @@ -725,13 +726,14 @@ // External link (if hostname exists) if (serviceData.hostname) { + const urlSuffix = metadata.urlSuffix || ''; const link = document.createElement('a'); - link.href = `https://${serviceData.hostname}`; + link.href = `https://${serviceData.hostname}${urlSuffix}`; link.target = '_blank'; link.rel = 'noopener'; link.className = 'text-brand hover:text-brand-400 text-sm font-medium inline-flex items-center gap-1 group transition-colors'; link.innerHTML = ` - ${escapeHtml(serviceData.hostname)} + ${escapeHtml(serviceData.hostname)}${urlSuffix ? escapeHtml(urlSuffix) : ''} ${Icons.externalLink('w-3 h-3 group-hover:translate-x-0.5 transition-transform')} `; content.appendChild(link);