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

Implement a shiny module exporting a Report #13

Closed
Tracked by #11
kpagacz opened this issue Mar 18, 2022 · 0 comments · Fixed by #23
Closed
Tracked by #11

Implement a shiny module exporting a Report #13

kpagacz opened this issue Mar 18, 2022 · 0 comments · Fixed by #23
Assignees
Labels

Comments

@kpagacz
Copy link
Contributor

kpagacz commented Mar 18, 2022

linked to insightsengineering/NEST-roadmap#11

The prototype of the UI is included here: https://balsamiq.cloud/st5j94y/pkhl0a6/r80A7

Recommendation, the order is important:

implement the Export as... module which can be embedded (the previewer module and Download Report button)

Download Report button

The previewer module

implement a small module that embeds the module exporting the report as a modal window opened after clicking a Download Report button (so this module is this small button and the logic to pop up the modal with the module implemented in the first point)

These modules will take Report as an argument (which contains a vector of Cards), and use Renderer to render the report and then allow users to download it (zip file with all needed files).

We need the second module to embed it in teal modules. The first one will be part of the previewer module.

The UI part is located in the (each teal module UI)/(or one global), and have to be conditional. So if we are not using the Reporter the UI should not be included. Global button module seems to be a better choice?

Edit: @Polkas

@kpagacz kpagacz added the core label Mar 18, 2022
@kpagacz kpagacz transferred this issue from another repository Mar 23, 2022
@gogonzo gogonzo transferred this issue from insightsengineering/teal Mar 30, 2022
@Polkas Polkas self-assigned this Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants