Problem Description
Context
Part of Epic: [Epic] PathogenTestForm: Composition + Stable Form Refactor
Blocked by: Phase 5
The tube pair (tube count + tube description) listener pattern is duplicated 4× across
PathogenTestForm. Extract into a standalone TubeFieldHandler (~80 lines) with no
dependency on PathogenTestForm.
Proposed Solution
Tasks
Additional Information
Acceptance Criteria
TubeFieldHandler has no reference to PathogenTestForm
- Tube show/hide behavior on test type change is identical to before
mvn compile -pl sormas-ui passes
Problem Description
Context
Part of Epic: [Epic] PathogenTestForm: Composition + Stable Form Refactor
Blocked by: Phase 5
The tube pair (tube count + tube description) listener pattern is duplicated 4× across
PathogenTestForm. Extract into a standaloneTubeFieldHandler(~80 lines) with nodependency on
PathogenTestForm.Proposed Solution
Tasks
TubeFieldHandler.javaTuberculosisDiseaseSectionLayoutto useTubeFieldHandler(replace Phase 3 stub)PathogenTestFormAdditional Information
Acceptance Criteria
TubeFieldHandlerhas no reference toPathogenTestFormmvn compile -pl sormas-uipasses