📑 Reporter Refactor: Adds support for new teal_report and teal_card class#1541
Merged
Conversation
# Conflicts: # R/module_nested_tabs.R # R/module_teal.R # R/module_transform_data.R
# Conflicts: # R/module_nested_tabs.R
# Conflicts: # DESCRIPTION # R/module_data_summary.R # R/module_nested_tabs.R # R/module_teal.R # R/module_transform_data.R
# Conflicts: # R/module_teal.R
Hey @vedhav @gogonzo just letting you know that I am merging `main` into `test@bslib@main` branch, so that on other repositories, like `tmg`, we can install `teal` from this branch and also we can satisfy condition for `teal` to be `>= 0.16.0`. https://github.com/insightsengineering/teal.modules.general/blob/report_redesign_poc%40main/DESCRIPTION#L83 https://github.com/insightsengineering/teal.modules.general/blob/report_redesign_poc%40main/DESCRIPTION#L30 --------- Co-authored-by: Dony Unardi <donyunardi@gmail.com> Co-authored-by: insights-engineering-bot <68416928+insights-engineering-bot@users.noreply.github.com>
averissimo
commented
Sep 3, 2025
Co-authored-by: Marcin <133694481+m7pr@users.noreply.github.com> Signed-off-by: André Veríssimo <211358+averissimo@users.noreply.github.com>
m7pr
reviewed
Sep 3, 2025
m7pr
reviewed
Sep 3, 2025
m7pr
reviewed
Sep 3, 2025
Signed-off-by: Marcin <133694481+m7pr@users.noreply.github.com>
2 tasks
averissimo
added a commit
to insightsengineering/teal.reporter
that referenced
this pull request
Sep 4, 2025
…orter UI (#331) # Pull Request Fixes: - insightsengineering/teal#1526 Built on top of: - #307 - _(#307 will be closed once this PR is stable)_ ### Companion PRs: - insightsengineering/teal#1541 - insightsengineering/teal.code#255 - insightsengineering/teal.data#370 - #331 - insightsengineering/teal.modules.general#884 - insightsengineering/teal.modules.clinical#1392 ### Changes description - Adds new object called `teal_report` that extends `teal_data` - The card/report for a module is built automatically with `eval_code()` and `eval_code(cache = TRUE)` - (adding code and print objects respectively) - Report slot can be manipulated with `report(<teal_report>)` - Rename of `report_document` to `doc`/`document`/`page` (final name TBD) --------- Signed-off-by: Marcin <133694481+m7pr@users.noreply.github.com> Signed-off-by: André Veríssimo <211358+averissimo@users.noreply.github.com> Co-authored-by: m7pr <marcin.kosinski.mk1@roche.com> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Dawid Kaledkowski <dawid.kaledkowski@gmail.com> Co-authored-by: Marcin <133694481+m7pr@users.noreply.github.com> Co-authored-by: vedhav <vedhaviyash4@gmail.com> Co-authored-by: Lluís Revilla <185338939+llrs-roche@users.noreply.github.com> Co-authored-by: Pawel Rucki <12943682+pawelru@users.noreply.github.com>
averissimo
enabled auto-merge (squash)
September 4, 2025 12:53
averissimo
disabled auto-merge
September 4, 2025 12:57
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
Built on top of:
teal.reporterCards #1499 (will be closed once this PR is stable)Companion PRs:
teal_reportandteal_cardclass #1541{teal}module returns ateal_reportobject that extends fromteal_datateal.code#255{teal}module returns ateal_reportobject that extends fromteal_datateal.data#370teal_report,teal_cardclass and revamps reporter UI teal.reporter#331teal_reportandteal_cardclass teal.modules.general#884Changes description
teal_reportobject is returned from the modulemodify_reactive_output()toafter()Sample app