From ef6d6d534dab633168a02101c7e117983cdb1eeb Mon Sep 17 00:00:00 2001 From: Luigi Acerbi Date: Tue, 1 Jul 2025 18:26:06 +0200 Subject: [PATCH 01/13] fix: minor text clarifications in review panel Signed-off-by: Luigi Acerbi --- src/components/ReviewPanel.tsx | 103 ++++++++++++++++++--------------- 1 file changed, 55 insertions(+), 48 deletions(-) diff --git a/src/components/ReviewPanel.tsx b/src/components/ReviewPanel.tsx index ef5b8c9..a10d1ca 100644 --- a/src/components/ReviewPanel.tsx +++ b/src/components/ReviewPanel.tsx @@ -14,7 +14,7 @@ import { ChevronsDown, ChevronsUp, ChevronUp, - DraftingCompass, + Pen, GitCompare, Wrench, X, @@ -365,9 +365,14 @@ const FileOperationItem = React.forwardRef< @@ -421,7 +426,7 @@ const ReviewPanel: React.FC = () => { // Handle clear operations with confirmation for AI mode const handleClear = () => { const { addLog } = useLogStore.getState(); - + if (mode === 'git') { // Git mode: clear immediately, no confirmation needed clearOperations(); @@ -434,11 +439,11 @@ const ReviewPanel: React.FC = () => { const pendingCount = activeOperations.filter( (op) => !op.accepted && !op.rejected ).length; - + const confirmed = window.confirm( `There are ${pendingCount} pending change${pendingCount === 1 ? '' : 's'} that haven't been accepted or rejected.\n\nAre you sure you want to clear all changes? This action cannot be undone.` ); - + if (!confirmed) { return; } @@ -1013,24 +1018,24 @@ const ReviewPanel: React.FC = () => { - - AI changes appear here after you use the "Apply AI - Output" action. This processes responses from prompts like Coder{' '} - or Architect{' '} - . - + /> + + AI changes appear here after you use the "Apply + AI Output" action. This processes responses from prompts like + Coder or + Writer . +

- - - For Git changes, click the{' '} - button - above the file explorer. - + + + For Git changes, click the{' '} + button + above the file explorer. +

@@ -1106,30 +1111,32 @@ const ReviewPanel: React.FC = () => { {mode === 'ai' && ( - + )}