diff --git a/src/renderer/App.tsx b/src/renderer/App.tsx index 89702d72..a57d9bd7 100644 --- a/src/renderer/App.tsx +++ b/src/renderer/App.tsx @@ -13780,6 +13780,11 @@ You are taking over this conversation. Based on the context above, provide a bri theme={theme} isOpen={symphonyModalOpen} onClose={() => setSymphonyModalOpen(false)} + sessions={sessions} + onSelectSession={(sessionId) => { + setActiveSessionId(sessionId); + setSymphonyModalOpen(false); + }} onStartContribution={async (data: SymphonyContributionData) => { console.log('[Symphony] Creating session for contribution:', data); diff --git a/src/renderer/components/SymphonyModal.tsx b/src/renderer/components/SymphonyModal.tsx index 099d22f9..5219a723 100644 --- a/src/renderer/components/SymphonyModal.tsx +++ b/src/renderer/components/SymphonyModal.tsx @@ -38,8 +38,9 @@ import { ChevronDown, HelpCircle, Github, + Terminal, } from 'lucide-react'; -import type { Theme } from '../types'; +import type { Theme, Session } from '../types'; import type { RegisteredRepository, SymphonyIssue, @@ -79,6 +80,8 @@ export interface SymphonyModalProps { isOpen: boolean; onClose: () => void; onStartContribution: (data: SymphonyContributionData) => void; + sessions: Session[]; + onSelectSession: (sessionId: string) => void; } type ModalTab = 'projects' | 'active' | 'history' | 'stats'; @@ -862,12 +865,16 @@ function ActiveContributionCard({ onFinalize, onSync, isSyncing, + sessionName, + onNavigateToSession, }: { contribution: ActiveContribution; theme: Theme; onFinalize: () => void; onSync: () => void; isSyncing: boolean; + sessionName: string | null; + onNavigateToSession: () => void; }) { const statusInfo = getStatusInfo(contribution.status); const docProgress = @@ -902,6 +909,17 @@ function ActiveContributionCard({

{contribution.repoSlug}

+ {sessionName && ( + + )}