teal
teal copied to clipboard
optional reporter in the independent teal modules
The reporter UI should be added to the module UI only if needed. This will make the modules more suited when used independently, outside the NEST. Another thing is that is we have a reporter in the server function so we need to think how it will influence an independent app. What if the reporter is not provided, we need some conditional on the server part too. We magically inject the reporter to the server function in the teal app which will not be true for the independent app.
Note is_reporter_used
is likely to be refactored very soon https://github.com/insightsengineering/teal/pull/674#discussion_r904929047
The scope is bigger than I expected, the server part have to be tackle here too. I am leaving it for later.