**Task completed successfully!** (#587)

**Changes made:**
- Added `ExternalLink` import to [DiffCard.tsx](file:///private/var/folders/m1/9q_ct1913z10v6wbnv54j25r0000gn/T/vibe-kanban/worktrees/vk-0f32-replace-th/frontend/src/components/DiffCard.tsx#L17)
- Replaced the custom SVG (14 lines) with `<ExternalLink className="h-3 w-3" aria-hidden />`

**Verification:**
- TypeScript compilation passes 
- Rust compilation passes 
- No breaking changes to existing functionality

The custom SVG has been successfully replaced with lucide's `ExternalLink` icon, maintaining the same semantic meaning while using a standard icon library component.
This commit is contained in:
Louis Knight-Webb
2025-08-28 22:06:00 +01:00
committed by GitHub
parent a6abcadf2d
commit 88d538eeca

View File

@@ -14,6 +14,7 @@ import {
PencilLine,
Copy,
Key,
ExternalLink,
} from 'lucide-react';
import '@/styles/diff-style-overrides.css';
import { attemptsApi } from '@/lib/api';
@@ -165,21 +166,7 @@ export default function DiffCard({
title="Open in IDE"
disabled={diff.change === 'deleted'}
>
{/* Reuse default icon size */}
<svg
viewBox="0 0 24 24"
className="h-3 w-3"
fill="none"
stroke="currentColor"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
aria-hidden
>
<path d="M14 2H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8" />
<polyline points="14 2 20 2 20 8" />
<line x1="11" y1="13" x2="20" y2="4" />
</svg>
<ExternalLink className="h-3 w-3" aria-hidden />
</Button>
</div>