mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-22 18:45:19 +02:00
Hide tour option in projects page
This commit is contained in:
parent
f1d7a6f176
commit
6312fe8e83
1 changed files with 21 additions and 19 deletions
|
|
@ -17,7 +17,7 @@ import {
|
|||
} from "lucide-react";
|
||||
import { getProjectConfig } from "@/app/actions/project_actions";
|
||||
import { useTheme } from "@/app/providers/theme-provider";
|
||||
import { USE_TESTING_FEATURE } from '@/app/lib/feature_flags';
|
||||
import { USE_TESTING_FEATURE, USE_PRODUCT_TOUR } from '@/app/lib/feature_flags';
|
||||
|
||||
interface SidebarProps {
|
||||
projectId: string;
|
||||
|
|
@ -181,6 +181,7 @@ export default function Sidebar({ projectId, useRag, useAuth, collapsed = false,
|
|||
|
||||
{/* Theme and Auth Controls */}
|
||||
<div className="p-3 border-t border-zinc-100 dark:border-zinc-800 space-y-2">
|
||||
{USE_PRODUCT_TOUR && !isProjectsRoute && (
|
||||
<Tooltip content={collapsed ? "Take Tour" : ""} showArrow placement="right">
|
||||
<button
|
||||
onClick={() => {
|
||||
|
|
@ -199,6 +200,7 @@ export default function Sidebar({ projectId, useRag, useAuth, collapsed = false,
|
|||
{!collapsed && <span>Take Tour</span>}
|
||||
</button>
|
||||
</Tooltip>
|
||||
)}
|
||||
|
||||
<Tooltip content={collapsed ? "Appearance" : ""} showArrow placement="right">
|
||||
<button
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue