From 3aef3c099e83e565c749aa92fcdb93c78eba0bd8 Mon Sep 17 00:00:00 2001 From: pikann Date: Tue, 12 May 2026 14:24:18 +0700 Subject: [PATCH 1/3] feat: enhance scenario card interaction with expand/collapse and delete confirmation --- frontend/src/BDDScenariosSection.tsx | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/frontend/src/BDDScenariosSection.tsx b/frontend/src/BDDScenariosSection.tsx index dff6917..f98d311 100644 --- a/frontend/src/BDDScenariosSection.tsx +++ b/frontend/src/BDDScenariosSection.tsx @@ -136,12 +136,18 @@ function ScenarioCard({ className="rounded-xl border border-border/25 bg-card/50 overflow-hidden" > {/* Header row */} -
+
setExpanded((x) => !x)} + > {/* Expand/collapse button */}