From 8211b4109d81eaf50615869090480f36f7a8e97c Mon Sep 17 00:00:00 2001 From: Scrum4Me Agent <30029041+madhura68@users.noreply.github.com> Date: Thu, 7 May 2026 15:17:54 +0200 Subject: [PATCH] feat(ST-cmovhveih): remove PLANNED-blokkering in idea-row-actions, add inline Bekijk-PBI button - Removed grillBlockedReason guard for status==='planned', enabling re-grill from PLANNED - Removed the early return for PLANNED that hid all standard buttons - Added conditional 'Bekijk ' button at the start of the standard button set, visible only when status==='planned' and PBI + product_id are present --- components/ideas/idea-row-actions.tsx | 30 +++++++-------------------- 1 file changed, 7 insertions(+), 23 deletions(-) diff --git a/components/ideas/idea-row-actions.tsx b/components/ideas/idea-row-actions.tsx index 3ac7cc1..2b443a7 100644 --- a/components/ideas/idea-row-actions.tsx +++ b/components/ideas/idea-row-actions.tsx @@ -61,7 +61,6 @@ export function IdeaRowActions({ idea, isDemo, onArchive }: IdeaRowActionsProps) // ---- Grill Me ---- const grillBlockedReason = (() => { if (status === 'grilling' || status === 'planning') return 'Job loopt al' - if (status === 'planned') return 'Idee is gepland — open de PBI' if (!hasProductWithRepo) return 'Idee heeft een product met repo nodig' if (!workerOk) return 'Geen Claude-worker actief' return null @@ -125,35 +124,20 @@ export function IdeaRowActions({ idea, isDemo, onArchive }: IdeaRowActionsProps) }) } - // PLANNED-state: kortere variant met "Bekijk PBI"-link - if (status === 'planned' && idea.pbi && idea.product_id) { - return ( -
+ return ( +
+ {/* Bekijk PBI — alleen zichtbaar in PLANNED */} + {status === 'planned' && idea.pbi && idea.product_id && ( - -
- ) - } + )} - return ( -
{/* Grill Me */}