Skip to content
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

[Feature Request]: User-defined templates for reports #271

Open
3 tasks done
Tracked by #44
chlebowa opened this issue May 8, 2024 · 2 comments
Open
3 tasks done
Tracked by #44

[Feature Request]: User-defined templates for reports #271

chlebowa opened this issue May 8, 2024 · 2 comments

Comments

@chlebowa
Copy link
Contributor

chlebowa commented May 8, 2024

Feature description

Rmarkdown allows using template documents to style docx and pptx files.

https://bookdown.org/yihui/rmarkdown/word-document.html
https://bookdown.org/yihui/rmarkdown-cookbook/word-template.html
https://bookdown.org/yihui/rmarkdown/powerpoint-presentation.html#ppt-templates

Would it be possible for teal.reporter to

  1. accept the user's template file?
  2. allow the user to choose a file from a selection provided by the app developer and stored on the deployment server?

Both could work by presenting a fileInput conditional on the document type being "word" or "powerpoint"

image

This would require (among other things) allowing reference_docx in rmd_yaml_args in reporter_previewer_srv and download_report_button_srv.

Possibly related to #15

Code of Conduct

  • I agree to follow this project's Code of Conduct.

Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines.

Security Policy

  • I agree to follow this project's Security Policy.
@donyunardi
Copy link
Contributor

The concept is plausible.
@kumamiao what do you think?

@kumamiao
Copy link

kumamiao commented Jun 6, 2024

Sorry just saw this, I like the idea and think it would improve user experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants