From 1a12fdddd9ce868d9e54879aec46c09aeb98f6c4 Mon Sep 17 00:00:00 2001 From: fderuiter <127706008+fderuiter@users.noreply.github.com> Date: Thu, 13 Aug 2026 19:43:30 +0000 Subject: [PATCH 1/2] feat: implement UX fallback for Pocock-Simon Minimization in Dynamic Code Generator - Modified CodeGeneratorModalComponent to default to and force STATIC exportMode when randomizationMethod is MINIMIZATION. - Disabled DYNAMIC and BOTH export segmented buttons on the UI and replaced the explanatory note with a clear unsupported notice when minimization is selected. - Updated and expanded the unit and DOM tests in code-generator-modal.component.spec.ts to fully verify stale-mode fallback, initialization normalization, download fallback, and disabled button elements with the unsupported tip. Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> --- Validation_Traceability_Matrix.md | 2 +- .../code-generator-modal.component.html | 10 +- .../code-generator-modal.component.spec.ts | 153 ++++++++++-------- .../code-generator-modal.component.ts | 21 +++ 4 files changed, 111 insertions(+), 75 deletions(-) diff --git a/Validation_Traceability_Matrix.md b/Validation_Traceability_Matrix.md index ea4be915..fdd50778 100644 --- a/Validation_Traceability_Matrix.md +++ b/Validation_Traceability_Matrix.md @@ -1,6 +1,6 @@ # Validation Traceability Matrix -> **Generated:** 2026-08-13T15:02:54.350Z +> **Generated:** 2026-08-13T19:40:45.530Z > **Status:** Test results not provided — status shown as UNKNOWN > **Requirements covered:** 14 / 16 > **Tagged test cases:** 39 diff --git a/src/app/domain/schema-management/components/code-generator-modal.component.html b/src/app/domain/schema-management/components/code-generator-modal.component.html index c2392933..8ad2f43a 100644 --- a/src/app/domain/schema-management/components/code-generator-modal.component.html +++ b/src/app/domain/schema-management/components/code-generator-modal.component.html @@ -36,15 +36,15 @@