diff --git a/src/renderer/src/components/feature-wall/FeatureWallSetupChecklist.tsx b/src/renderer/src/components/feature-wall/FeatureWallSetupChecklist.tsx index cf668a9da..9f3797ac5 100644 --- a/src/renderer/src/components/feature-wall/FeatureWallSetupChecklist.tsx +++ b/src/renderer/src/components/feature-wall/FeatureWallSetupChecklist.tsx @@ -224,15 +224,8 @@ export function FeatureWallSetupChecklist( const setupSteps = getFeatureWallSetupStepsForSection('setup') return ( -
-
- +
+
+
-
+
{activeStep ? (
diff --git a/src/renderer/src/components/settings/SettingsSetupGuideCard.tsx b/src/renderer/src/components/settings/SettingsSetupGuideCard.tsx index 315585f8d..37ed8945a 100644 --- a/src/renderer/src/components/settings/SettingsSetupGuideCard.tsx +++ b/src/renderer/src/components/settings/SettingsSetupGuideCard.tsx @@ -36,7 +36,7 @@ export function SettingsSetupGuideCard(): React.JSX.Element | null {

- Getting started with Orca + Onboarding checklist

{completedStepCount}/{setupSteps.length} setup tasks complete diff --git a/src/renderer/src/components/setup-guide/SetupGuideModal.tsx b/src/renderer/src/components/setup-guide/SetupGuideModal.tsx index ec1708acc..b86ef65cc 100644 --- a/src/renderer/src/components/setup-guide/SetupGuideModal.tsx +++ b/src/renderer/src/components/setup-guide/SetupGuideModal.tsx @@ -1,4 +1,5 @@ -import { useEffect, useMemo, useState, type JSX } from 'react' +import { useCallback, useEffect, useMemo, useState, type JSX } from 'react' +import { EyeOff } from 'lucide-react' import { FEATURE_WALL_SETUP_STEP_IDS, getFirstIncompleteFeatureWallSetupStepId, @@ -12,8 +13,11 @@ import { DialogHeader, DialogTitle } from '@/components/ui/dialog' +import { Button } from '@/components/ui/button' +import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip' import { useAppStore } from '@/store' import { FeatureWallSetupChecklist } from '../feature-wall/FeatureWallSetupChecklist' +import { SetupGuideProgressRing } from './SetupGuideProgressRing' import { useSetupGuideProgress } from './use-setup-guide-progress' import { useSetupGuideOpenCloseTelemetry } from './use-setup-guide-telemetry' @@ -21,6 +25,7 @@ export default function SetupGuideModal(): JSX.Element | null { const activeModal = useAppStore((s) => s.activeModal) const modalData = useAppStore((s) => s.modalData) const closeModal = useAppStore((s) => s.closeModal) + const setSetupGuideSidebarDismissed = useAppStore((s) => s.setSetupGuideSidebarDismissed) const isOpen = activeModal === 'setup-guide' const setupSteps = useMemo(() => getFeatureWallSetupSteps(), []) const [activeStepId, setActiveStepId] = useState( @@ -98,6 +103,10 @@ export default function SetupGuideModal(): JSX.Element | null { } } + const handleHideFromSidebar = useCallback((): void => { + setSetupGuideSidebarDismissed(true) + }, [setSetupGuideSidebarDismissed]) + if (!isOpen) { return null } @@ -108,18 +117,38 @@ export default function SetupGuideModal(): JSX.Element | null { className="grid h-[min(780px,calc(100vh-2rem))] w-[min(1080px,calc(100vw-2rem))] max-w-none grid-rows-[auto_minmax(0,1fr)] gap-0 p-0 sm:max-w-none" tabIndex={-1} > + + + + + + This will hide the checklist from the sidebar + + -

+
Getting started - - {progress.coreDoneCount}/{progress.coreTotal} - +
Finish the core workflows that make Orca useful for parallel agent work. -
+
+ + + + + + + + + + {progressLabel} + + + ) +} diff --git a/src/renderer/src/components/sidebar/SetupGuideSidebarEntry.tsx b/src/renderer/src/components/sidebar/SetupGuideSidebarEntry.tsx index b93247674..ff5a87c1f 100644 --- a/src/renderer/src/components/sidebar/SetupGuideSidebarEntry.tsx +++ b/src/renderer/src/components/sidebar/SetupGuideSidebarEntry.tsx @@ -1,13 +1,19 @@ import React from 'react' -import { ListChecks, X } from 'lucide-react' -import { toast } from 'sonner' +import { EyeOff } from 'lucide-react' +import logo from '../../../../../resources/logo.svg' import { cn } from '@/lib/utils' import { useAppStore } from '@/store' import { - FEATURE_WALL_SETUP_PARALLEL_WORK_STEP_IDS, + ContextMenu, + ContextMenuContent, + ContextMenuItem, + ContextMenuTrigger +} from '@/components/ui/context-menu' +import { getFirstIncompleteFeatureWallSetupStepId, type FeatureWallSetupStepId } from '../../../../shared/feature-wall-setup-steps' +import { SetupGuideProgressRing } from '../setup-guide/SetupGuideProgressRing' import { useSetupGuideProgress } from '../setup-guide/use-setup-guide-progress' export function shouldShowSetupGuideEntry(setupComplete: boolean, dismissed: boolean): boolean { @@ -28,13 +34,9 @@ export function SetupGuideSidebarEntry(): React.JSX.Element | null { () => getFirstIncompleteFeatureWallSetupStepId(setupProgress.stepDone), [setupProgress.stepDone] ) - const hasIncompleteParallelWork = FEATURE_WALL_SETUP_PARALLEL_WORK_STEP_IDS.some( - (id) => !setupProgress.stepDone[id] - ) const showSetupGuideEntry = shouldShowSetupGuideEntry(setupComplete, setupGuideSidebarDismissed) const handleHideSetupGuide = React.useCallback(() => { setSetupGuideSidebarDismissed(true) - toast('see it anytime from the help menu') }, [setSetupGuideSidebarDismissed]) if (!showSetupGuideEntry) { @@ -42,53 +44,49 @@ export function SetupGuideSidebarEntry(): React.JSX.Element | null { } return ( -
- - -
+ > + + + Onboarding checklist + + + + + + + + Hide from sidebar + + + ) } diff --git a/src/renderer/src/components/sidebar/SidebarToolbar.tsx b/src/renderer/src/components/sidebar/SidebarToolbar.tsx index 2f7e86002..93e347504 100644 --- a/src/renderer/src/components/sidebar/SidebarToolbar.tsx +++ b/src/renderer/src/components/sidebar/SidebarToolbar.tsx @@ -168,7 +168,7 @@ const SidebarToolbar = React.memo(function SidebarToolbar() { onSelect={() => openModal('setup-guide', { telemetrySource: 'help_menu' })} > - Getting started with Orca + Onboarding checklist - Explore Orca + Show onboarding setFeedbackOpen(true)}> diff --git a/src/shared/feature-wall-setup-steps.ts b/src/shared/feature-wall-setup-steps.ts index 7776e87c7..8c147fd4c 100644 --- a/src/shared/feature-wall-setup-steps.ts +++ b/src/shared/feature-wall-setup-steps.ts @@ -25,16 +25,16 @@ export type FeatureWallSetupSectionId = 'parallel-work' | 'setup' export const FEATURE_WALL_SETUP_STEPS: readonly FeatureWallSetupStep[] = [ { id: 'split-terminal', - name: 'Run two things in the same terminal', - subtitle: 'Run two things in the same terminal', - description: 'Keep an agent, dev server, or REPL visible side by side in one worktree.' + name: 'Split a terminal', + subtitle: 'Split a terminal', + description: 'Using this, you can run 2 agents side-by-side.' }, { id: 'two-worktrees', - name: 'Work on a second task in its own worktree', - subtitle: 'Work on a second task in its own worktree', + name: 'Multi-task', + subtitle: 'Multi-task', description: - 'Let agents tackle separate changes in separate worktrees without stepping on each other.' + 'Have 2 worktrees at once. Each one is isolated (even in the same project). Perfect for working on 2 features at once.' }, { id: 'notifications',