Skip to content

Releases: insightsengineering/teal.slice

v0.8.1

Choose a tag to compare

@insights-engineering-bot insights-engineering-bot released this 02 Jul 22:40
db9033a

Bug fixes

  • Fixed teal_slice reactive values due to shiny package update (#682, #685).

What's Changed

Full Changelog: v0.8.0...v0.8.1

v0.8.0

Choose a tag to compare

@insights-engineering-bot insights-engineering-bot released this 27 Jun 01:41
ba692a5

Enhancements

  • Relaxed assertions on teal_slices to ignore duplicated teal_slice elements (#675).

Bug fixes

  • Fixed variable label not being displayed when filtering a factor column (#679).
  • Fixed spurious warning about modified range choices now only raised after prettifying the range (#677).

What's Changed

  • Add copilot-setup-steps workflow by @m7pr in #671
  • Fix copilot-setup-steps: replace reusable workflow with direct steps by @m7pr in #672
  • Fixes integrations tests using wait_for_js implementation for visibility by @averissimo in #673
  • c.teal_slices - Ignore slices which have the same values by @gogonzo in #675
  • Fixes warning on choices to be thrown only after prettyfying them by @averissimo in #677
  • Keep label when column is a factor by @osenan in #679
  • add more unit tests by @donyunardi in #680
  • [skip vbump] upversion 0.8.0 by @donyunardi in #683

New Contributors

Full Changelog: v0.7.1...v0.8.0

v0.7.1

Choose a tag to compare

@insights-engineering-bot insights-engineering-bot released this 02 Dec 10:04
211a577

Miscellaneous

  • Improve unit test coverage (#666).

What's Changed

Full Changelog: v0.7.0...v0.7.1

v0.7.0

Choose a tag to compare

@insights-engineering-bot insights-engineering-bot released this 20 Aug 06:45
64ea49b

Enhancements

  • Improved the layout and appearance of the filter panel with new UI design.

Bug fixes

  • Fix bug where drop-down choices show no choices (#662).

Miscellaneous

  • In R6 classes finalize() method is moved to private and is replaced in public API by destroy() (#658).

What's Changed

Full Changelog: v0.6.0...v0.7.0

v0.6.0

Choose a tag to compare

@insights-engineering-bot insights-engineering-bot released this 04 Feb 00:01
6b8b80c

Enhancements

  • Reduced the space of the filter panel by not displaying the "add filters" UI in a separate panel.
  • The deprecated parameters code and check were removed from init_filtered_data().

Bug fixes

  • Fix error while creating the filter choices when the data has a factor with a level containing an empty string ("").

Breaking changes

  • ui_add and srv_add no longer exist as adding new filters is a part of ui_active and srv_active.

Miscellaneous

  • print.teal_slice() and print.teal_slices() now return object invisibly.

What's Changed

New Contributors

Full Changelog: v0.5.1...v0.6.0

v0.6.0-rc1

Choose a tag to compare

@github-actions github-actions released this 03 Feb 23:16
chore: use base table instead of DT

v0.5.1

Choose a tag to compare

@insights-engineering-bot insights-engineering-bot released this 01 May 14:23
e5de48f

Bug fixes

  • Fix how the filter panel handles NA values in a Date column.
  • Fix filtering of ordered column to return the right call.
  • Ensure choices are sorted for factor and ordered data types.

Miscellaneous

  • Added teal_slice and teal_slices to package index.
  • Implement mouse-over behavior for the filter card when it is selected.

What's Changed

Full Changelog: v0.5.0...v0.5.1

v0.5.0

Choose a tag to compare

@insights-engineering-bot insights-engineering-bot released this 06 Feb 18:48

Enhancements

  • Simplified init_filtered_data to accept a named list of datasets. init_filtered_data does not currently handle a list containing dataset, metadata, datalabel and code.

Breaking changes

  • TealData object is no longer supported by teal.slice.
  • set_filter_state no longer accepts a nested list. Use teal_slices() and teal_slice() instead.
  • Renamed FilteredDataset subclass that handles data.frames from DefaultFilteredDataset to DataframeFilteredDataset. Added new class DefaultFilteredDataset that will store any type of object. Filtering will is not supported.

Miscellaneous

  • Specified minimal version of package dependencies.
  • Removed storing and restoring of teal_slices objects.
  • Update documentation and code to reflect the changes due to the refactor of teal.data::JoinKeys into teal.data::join_keys.

What's Changed

Full Changelog: v0.4.0...v0.5.0

v0.4.0

Choose a tag to compare

@insights-engineering-bot insights-engineering-bot released this 14 Aug 13:40
fa00471

New features

  • Filter panel API is now based on teal_slice and teal_slices objects.
  • It is now possible to specify a filter based on an arbitrary logical expression. See expr argument in teal_slice.
  • It is now possible to limit choices in a single filter card. See choices argument in teal_slice.
  • It is now possible to initialize the filter panel without the "Add filter variables" panel through allow_add in teal_slices.
  • It is now possible to set a filter that cannot be removed by the app user. See anchored argument in teal_slice.
  • It is now possible to set a filter whose selection cannot be changed. See fixed argument in teal_slice.
  • It is now possible to limit choices within a variable to a single value only. See multuple argument in teal_slice .
  • Changed appearance of filter cards to a collapsible accordion.
  • Replaced sliderInput with interactive plotly chart to allow the user to zoom in on the variable distribution.
  • Implemented reactive counts in single filter cards to compare filtered and unfiltered variable distributions. See count_type argument in teal_slices.
  • Added state history: individual filter states track changes so the user can rewind them or reset the initial state.

Breaking changes

  • Setting filters using a list is now deprecated. Use teal_slices and teal_slice instead.
  • Removed CDISCFilteredData and CDISCFilteredDataset and implementing JoinKeys handling in their parent classes (FilteredData and DefaultFilteredDataset).
  • Specifying set of filterable columns is done through include_varnames and exclude_varnames in teal_slices. Specifying attr(, "filterable") is hard deprecated.

What's Changed

New Contributors

Full Changelog: v0.3.0...v0.4.0

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 22 May 18:07
e239912
  • Examples now use scda.2022 instead of scda.2021.
  • Transferred data hashing step in FilteredDataset to teal.
  • Removed constructor of Queue class.

New features

  • Added a global turn on/off button for the Filter Panel.
  • Added ability to collapse Active Filter Display panel.
  • Added ability to collapse all filters of an individual dataset.

Enhancements

  • Improved filter state presentation in FilterState$format.

Bug fixes

  • Fixed an error where the RangeFilterState produced an error when using bootstrap 4.
  • Fixed a bug that caused the range slider to omit values selected programmatically through the filter API.

Miscellaneous

  • Calculation of step in slider for RangeFilterState now uses checkmate::test_integerish instead of is.integer.
  • Updated init_filtered_data to take into account the removal of CDISCTealData from teal.data package.
  • Added examples apps for ChoicesFilterState and DFFilterStates.

What's Changed

New Contributors

Full Changelog: v0.2.0...v0.3.0