Skip to content

[Question]: When to show "Report Previewer" tab? #1539

Open
@gogonzo

Description

@gogonzo

What is your question?

Teal adds "Report Previewer" only when it is needed, currently on main it is a following condition:

  • When any of the module(s) have a reporter argument in the formals

With the new design, none of none of the teal_module(s) has report argument as it is not needed. Now, teal_module returns reactive containing teal_data. This indicates that module is reportable. This means that in teal we need to detect whether any of the module returns a reactive containing teal_data. The point of the problem is that we DON'T CALL A MODULE UNTIL ITS TAB IS CLICKED. It means that "Report Previewer" might not been shown until the first "reportable" module is clicked.

I think we need a better idea how to handle this. Here is some primitive mockup:

Image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions