diff --git a/docs/CLAUDE.md b/docs/CLAUDE.md deleted file mode 100644 index 64247ebb..00000000 --- a/docs/CLAUDE.md +++ /dev/null @@ -1,11 +0,0 @@ - -# Recent Activity - - - -### Jan 11, 2026 - -| ID | Time | T | Title | Read | -|----|------|---|-------|------| -| #413 | 5:34 AM | 🔵 | History Documentation Content Loaded for Verification | ~412 | - \ No newline at end of file diff --git a/docs/releases.md b/docs/releases.md index e3f59d2c..ddb4981a 100644 --- a/docs/releases.md +++ b/docs/releases.md @@ -1,6 +1,7 @@ --- title: Release Notes description: Version history and changelog for Maestro releases +icon: newspaper --- # Release Notes diff --git a/src/__tests__/renderer/components/GitStatusWidget.test.tsx b/src/__tests__/renderer/components/GitStatusWidget.test.tsx index 7396e129..80a3f42e 100644 --- a/src/__tests__/renderer/components/GitStatusWidget.test.tsx +++ b/src/__tests__/renderer/components/GitStatusWidget.test.tsx @@ -115,12 +115,14 @@ const mockTheme: Theme = { describe('GitStatusWidget', () => { const mockOnViewDiff = vi.fn(); + const mockOnViewLog = vi.fn(); const defaultProps = { sessionId: 'test-session-id', isGitRepo: true, theme: mockTheme, onViewDiff: mockOnViewDiff, + onViewLog: mockOnViewLog, }; beforeEach(() => { @@ -307,6 +309,29 @@ describe('GitStatusWidget', () => { fireEvent.click(viewDiffButton); expect(mockOnViewDiff).toHaveBeenCalled(); }); + + it('should call onViewLog when "View Git Log" link is clicked in tooltip', () => { + mockGetStatus.mockReturnValue(createGitStatusData()); + render(); + + const container = screen.getByRole('button').parentElement!; + fireEvent.mouseEnter(container); + + const viewLogButton = screen.getByText('View Git Log'); + fireEvent.click(viewLogButton); + expect(mockOnViewLog).toHaveBeenCalled(); + }); + + it('should not render "View Git Log" button when onViewLog is not provided', () => { + mockGetStatus.mockReturnValue(createGitStatusData()); + const { onViewLog: _, ...propsWithoutLog } = defaultProps; + render(); + + const container = screen.getByRole('button').parentElement!; + fireEvent.mouseEnter(container); + + expect(screen.queryByText('View Git Log')).not.toBeInTheDocument(); + }); }); describe('Tooltip Behavior', () => { diff --git a/src/main/CLAUDE.md b/src/main/CLAUDE.md deleted file mode 100644 index beb80924..00000000 --- a/src/main/CLAUDE.md +++ /dev/null @@ -1,11 +0,0 @@ - -# Recent Activity - - - -### Jan 11, 2026 - -| ID | Time | T | Title | Read | -|----|------|---|-------|------| -| #421 | 5:35 AM | 🔵 | History Manager Implementation Details Verified | ~454 | - \ No newline at end of file diff --git a/src/renderer/components/CLAUDE.md b/src/renderer/components/CLAUDE.md deleted file mode 100644 index 1f429a64..00000000 --- a/src/renderer/components/CLAUDE.md +++ /dev/null @@ -1,15 +0,0 @@ - -# Recent Activity - - - -### Jan 11, 2026 - -| ID | Time | T | Title | Read | -|----|------|---|-------|------| -| #444 | 5:37 AM | 🔵 | History Detail Modal Implementation Verified | ~517 | -| #443 | " | 🔵 | History Help Modal Content Verified | ~418 | -| #441 | " | 🔵 | Activity Graph Time Range Options Verified | ~292 | -| #437 | 5:36 AM | 🔵 | History Default Setting UI Label Verified | ~314 | -| #426 | " | 🔵 | History Panel UI Implementation Verified | ~529 | - \ No newline at end of file diff --git a/src/renderer/components/GitStatusWidget.tsx b/src/renderer/components/GitStatusWidget.tsx index 5cfc6c54..4f95c7fb 100644 --- a/src/renderer/components/GitStatusWidget.tsx +++ b/src/renderer/components/GitStatusWidget.tsx @@ -1,5 +1,5 @@ import { useState, useRef, useEffect, memo } from 'react'; -import { GitBranch, Plus, Minus, FileEdit, FileDiff } from 'lucide-react'; +import { GitBranch, Plus, Minus, FileEdit, FileDiff, History } from 'lucide-react'; import type { Theme } from '../types'; import { useGitFileStatus, useGitDetail, type GitFileChange } from '../contexts/GitStatusContext'; @@ -10,6 +10,7 @@ interface GitStatusWidgetProps { isGitRepo: boolean; theme: Theme; onViewDiff: () => void; + onViewLog?: () => void; /** Use compact mode - just show file count without breakdown */ compact?: boolean; } @@ -31,6 +32,7 @@ export const GitStatusWidget = memo(function GitStatusWidget({ isGitRepo, theme, onViewDiff, + onViewLog, compact = false, }: GitStatusWidgetProps) { // Tooltip hover state with timeout for smooth UX @@ -228,6 +230,19 @@ export const GitStatusWidget = memo(function GitStatusWidget({ View Full Diff + {onViewLog && ( + + )} )} diff --git a/src/renderer/components/MainPanel.tsx b/src/renderer/components/MainPanel.tsx index adb7a611..71a49edb 100644 --- a/src/renderer/components/MainPanel.tsx +++ b/src/renderer/components/MainPanel.tsx @@ -1077,6 +1077,7 @@ export const MainPanel = React.memo( isGitRepo={activeSession.isGitRepo} theme={theme} onViewDiff={handleViewGitDiff} + onViewLog={() => setGitLogOpen?.(true)} compact={useCompactGitWidget} /> diff --git a/src/renderer/hooks/settings/CLAUDE.md b/src/renderer/hooks/settings/CLAUDE.md deleted file mode 100644 index 5a56a44e..00000000 --- a/src/renderer/hooks/settings/CLAUDE.md +++ /dev/null @@ -1,11 +0,0 @@ - -# Recent Activity - - - -### Jan 11, 2026 - -| ID | Time | T | Title | Read | -|----|------|---|-------|------| -| #433 | 5:36 AM | 🔵 | History Default Setting Verified in Settings Hook | ~323 | - \ No newline at end of file diff --git a/src/renderer/types/CLAUDE.md b/src/renderer/types/CLAUDE.md deleted file mode 100644 index d09de6f5..00000000 --- a/src/renderer/types/CLAUDE.md +++ /dev/null @@ -1,11 +0,0 @@ - -# Recent Activity - - - -### Jan 11, 2026 - -| ID | Time | T | Title | Read | -|----|------|---|-------|------| -| #442 | 5:37 AM | 🔵 | Achievement Action Extension Verified in Renderer Types | ~311 | - \ No newline at end of file diff --git a/src/shared/CLAUDE.md b/src/shared/CLAUDE.md deleted file mode 100644 index 7c9f7da2..00000000 --- a/src/shared/CLAUDE.md +++ /dev/null @@ -1,12 +0,0 @@ - -# Recent Activity - - - -### Jan 11, 2026 - -| ID | Time | T | Title | Read | -|----|------|---|-------|------| -| #428 | 5:36 AM | 🔵 | HistoryEntry Interface Fields Verified | ~378 | -| #419 | 5:35 AM | 🔵 | History Constants and Types Verified in Shared Module | ~384 | - \ No newline at end of file