From e4cd71e6b10072068d0a2400a99a0174f44372f2 Mon Sep 17 00:00:00 2001 From: akhisud3195 Date: Fri, 9 May 2025 19:14:05 +0530 Subject: [PATCH] Add data sources to product tour --- .../projects/layout/components/sidebar.tsx | 2 +- .../components/common/product-tour.tsx | 21 ++++++++++++------- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/apps/rowboat/app/projects/layout/components/sidebar.tsx b/apps/rowboat/app/projects/layout/components/sidebar.tsx index 639ebc7d..d2014562 100644 --- a/apps/rowboat/app/projects/layout/components/sidebar.tsx +++ b/apps/rowboat/app/projects/layout/components/sidebar.tsx @@ -147,7 +147,7 @@ export default function Sidebar({ projectId, useRag, useAuth, collapsed = false, } `} disabled={isDisabled} - data-tour-target={item.href === 'config' ? 'settings' : undefined} + data-tour-target={item.href === 'config' ? 'settings' : item.href === 'sources' ? 'entity-data-sources' : undefined} > Using the API\n• Using the SDK', - title: 'Step 7/8' + title: 'Step 8/9' }, { target: 'tour-button', content: 'Come back here anytime to restart the tour.\nStill have questions? See our docs or reach out on discord.', - title: 'Step 8/8' + title: 'Step 9/9' } ];