Skip to content

Refactor teal.reporter (part 2) #106

Open
@donyunardi

Description

@donyunardi

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

🔜 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

Bugs finding while testing:

Metadata

Metadata

Labels

Type

No type

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions