insightsengineering / teal

Exploratory Web Apps for Analyzing Clinical Trial Data
https://insightsengineering.github.io/teal/
Other
167 stars 32 forks source link

Wrap `filter_panel_ui/srv` into `teal_transform_module` #1230

Open gogonzo opened 1 month ago

gogonzo commented 1 month ago

Filter-panel should have reactive teal_data as an input and ouput filtered data (as reactive teal_data).

teal_transform_module(
  ui = <filter panel ui>,
  server = <filter panel server> ,
  label = "Filters"
)

This isn't straightforward as filter_panel_server now doesn't return anything. We will need to create a new filter_panel_ui/srv function in teal and do so that it returns data.