From 5236d6285b8a7a478fa8bdf1f63cca7ac0807cf3 Mon Sep 17 00:00:00 2001
From: StillKnotKnown
Date: Fri, 13 Mar 2026 12:55:56 +0200
Subject: [PATCH] fix: remove unused projectId prop and display approvalError
- Remove unused projectId prop from GitLabBatchReviewWizardProps
- Display approvalError in the intro screen to show batch creation failures
Co-Authored-By: Claude Opus 4.6
---
.../gitlab-issues/components/BatchReviewWizard.tsx | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/apps/desktop/src/renderer/components/gitlab-issues/components/BatchReviewWizard.tsx b/apps/desktop/src/renderer/components/gitlab-issues/components/BatchReviewWizard.tsx
index 09b69690..6b5673ee 100644
--- a/apps/desktop/src/renderer/components/gitlab-issues/components/BatchReviewWizard.tsx
+++ b/apps/desktop/src/renderer/components/gitlab-issues/components/BatchReviewWizard.tsx
@@ -65,7 +65,6 @@ export interface GitLabProposedBatch {
interface GitLabBatchReviewWizardProps {
isOpen: boolean;
onClose: () => void;
- projectId: string;
onStartAnalysis: () => void;
onApproveBatches: (batches: GitLabProposedBatch[]) => Promise;
analysisProgress: GitLabAnalyzePreviewProgress | null;
@@ -78,7 +77,6 @@ interface GitLabBatchReviewWizardProps {
export function GitLabBatchReviewWizard({
isOpen,
onClose,
- projectId,
onStartAnalysis,
onApproveBatches,
analysisProgress,
@@ -240,10 +238,10 @@ export function GitLabBatchReviewWizard({
{t('gitlab:batchReview.description')}
- {analysisError && (
+ {(analysisError || approvalError) && (
-
{analysisError}
+
{analysisError || approvalError}
)}