You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shiny inputs should not be visible by default. So called filter-card-summary (ui of the FilterState) should displayed - showing summarized information of the filer-state.
User clicks the active button in filter-card-summary to trigger change from filter-card-summary to filter-card-interactive. (Button can be a small gear icon or the card itself).
filter-card-interactive is rendered each time it's triggered to show (selection is based on the current state). User can change the values in filter-card-interactive and they are not propagated immediately until one clicks save. Once saved card turns back again to filter-card-summary with a new values. Thanks to updating values of the interactive selection after save only, we don't need a set_selected_reactive anymore (please see below).
Important: Please be aware of how the FilterState$private$selected can be changed. Please see help(teal.slice:::FilterState) and go to the modyfying state, you'll see following image:
Filter states can be changed in three ways. See example FilterState$server:
In the interactive session by directly specifying values of selected, keep_na or keep_inf using set_state method (to update all at once), or using set_selected, set_keep_na or set_keep_inf
In a teal application by changing appropriate inputs
Using methods set_selected_reactive, set_keep_na_reactive, set_keep_inf_reactive which serves as a programmatic API.
Important improvement would be to remove area in the dashed rectangle which will simplify this process.
The text was updated successfully, but these errors were encountered:
Allows filter state inputs to collapse and expand, defaulting to
collapsed. Only 1 filter state per data set can be open at a time.
- For a given data set, filter information is in an accordion of
collapsible cards
- Only 1 filter state (per data set) can be open at a time.
- Card headers show a summary of the filter state.
Logical and choices filter state UIs don't display correctly, at least
on Bootstrap 4.
Closes#129.
---------
Co-authored-by: Dawid Kałędkowski <dawid.kaledkowski@gmail.com>
part of #48
Feature description
Please see the wireframe
Important: Please be aware of how the FilterState$private$selected can be changed. Please see
help(teal.slice:::FilterState)
and go to the modyfying state, you'll see following image:Filter states can be changed in three ways. See example FilterState$server:
Important improvement would be to remove area in the dashed rectangle which will simplify this process.
The text was updated successfully, but these errors were encountered: