feat: add dynamic control for overall events/patients in hlt split (#1496)#1540
feat: add dynamic control for overall events/patients in hlt split (#1496)#1540ygma-bitc wants to merge 3 commits into
Conversation
|
✅ All contributors have signed the CLA |
|
I have read the CLA Document and I hereby sign the CLA |
c56e932 to
1f7b7ce
Compare
|
Thanks for the patch but this PR adds 100 lines of code without even agreeing this is something we should modify on the module. In addition it adds more teal.transform inputs while we are moving to use teal.picks... |
|
Hi @llrs-roche, Thanks for the review and the heads-up on the We ran into this limitation in our own project and noticed that @Xiaolin-S raised the same issue in #1496, so we just wanted to share our local fix with the community. Since the team is planning to transition the module to Feel free to close this PR if you prefer to handle it natively during the migration. |
Description
This PR introduces dynamic UI controls to toggle the overall event and patient summary rows when both HLT and LLT are selected in the
tm_t_eventsmodule.Fixes
Resolves #1496
Changes Made
incl_num_patients_hltandincl_num_events_hltcheckbox inputs to the UI.template_eventsto dynamically rendertern::summarize_num_patientsbased on UI inputs.scorefun_hlt_no_sumto preserve correct HLT sorting behavior when summary rows are disabled.shinytest2E2E tests to cover the new UI toggle behaviors.