Skip to content

Refactor teal.reporter (part 2) #106

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
donyunardi opened this issue Apr 22, 2025 · 0 comments
Open

Refactor teal.reporter (part 2) #106

donyunardi opened this issue Apr 22, 2025 · 0 comments
Labels

Comments

@donyunardi
Copy link
Collaborator

donyunardi commented Apr 22, 2025

Continuation of #104

From comments: #104 (comment)


Done

teal.modules.general

teal

teal.reporter

  • Added report_document() and edit_report_document() for the new ReportDocument S3 class
  • Extended Previewer and Reporter to support ReportDocument
  • Deleted private Rendered class
  • Refactored:
    • report_render_and_compress
    • report_render
    • Added load report button to previewer buttons

In Progress

teal

teal.reporter


🔜 TODOs

teal

teal.reporter

Module Packages


Future Plans

  • Expose Show R Code as a button next to Add to Report button
    • This will require the module to return teal_data/qenv
    • This will require srv_teal_module to depend on whether module returned teal_data/qenv to show the button
    • This will allow to modify the teal_data/qenv returned by the module, so that Show R Code can be also customized or nullified
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

1 participant