Releases: insightsengineering/teal.slice
Releases · insightsengineering/teal.slice
v0.5.1
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
andordered
data types.
Miscellaneous
- Added
teal_slice
andteal_slices
to package index. - Implement mouse-over behavior for the filter card when it is selected.
What's Changed
- Propagate files from insightsengineering/.github by @insights-engineering-bot in #557
- [skip actions] Propagate files from insightsengineering/.github by @insights-engineering-bot in #559
- Title Case column labels in Active Filter Summary by @pawelru in #558
- Forces exact match on attribute to avoid problems by @averissimo in #561
- options for strict tests; few enhancements by @pawelru in #536
- 52 standardise optional notation by @kartikeyakirar in #567
- 209 modify filter card css when expanded by @chlebowa in #562
- 445 unify html tags by @kartikeyakirar in #566
- register teal.logger handlers by @pawelru in #551
- 335 bring
teal_slice(s)
to package index and create separate man pages forteal_slice(s)
utilities by @m7pr in #572 - add rmarkdown to the Suggests by @pawelru in #574
- Fix filtering of ordered column by @gogonzo in #576
- Date columns with NA cause an error by @gogonzo in #582
- choices counts issue in filter panel by @gogonzo in #578
- Workflow propagation by @walkowif in #571
- [skip vbump] upversion to 0.5.1 by @donyunardi in #585
Full Changelog: v0.5.0...v0.5.1
v0.5.0
Enhancements
- Simplified
init_filtered_data
to accept a named list of datasets.init_filtered_data
does not currently handle a list containingdataset
,metadata
,datalabel
andcode
.
Breaking changes
TealData
object is no longer supported byteal.slice
.set_filter_state
no longer accepts a nested list. Useteal_slices()
andteal_slice()
instead.- Renamed
FilteredDataset
subclass that handlesdata.frame
s fromDefaultFilteredDataset
toDataframeFilteredDataset
. Added new classDefaultFilteredDataset
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
intoteal.data::join_keys
.
What's Changed
- add disabling and reenabling of rewind and reset buttons by @chlebowa in #444
- 435 filter card header style by @chlebowa in #441
- The RangeFilterState's x-axis tick labels are somewhat obstructed. by @kartikeyakirar in #442
- Workflow propagation by @walkowif in #446
- add .pre-commit-config.yaml cleanup by @m7pr in #448
- 450 align ui in
FilterStateExpr
by @chlebowa in #452 - 415 range selector colors by @chlebowa in #456
- Add/remove/restore custom expression by @averissimo in #454
- Restore primary color state when count_type is none by @vedhav in #460
- 455 bug in filter card reactivity by @chlebowa in #458
- 911 c.teal_slices by @chlebowa in #461
- add single onclick event to prevent default behavior which cause app to refresh by @averissimo in #463
- update readmes and description by @m7pr in #464
- Adds min package version by @averissimo in #405
- add no_browser hook in pre-commit by @donyunardi in #473
- Replace the broken showcase gif with a new gif by @vedhav in #475
- 373 slices_restore will restore Dates and POSIXT classes by @m7pr in #432
- 477 transfer slices store by @chlebowa in #478
- 302 fix filter card ui by @chlebowa in #481
- 466
bslib::bs_theme
dev version by @chlebowa in #485 - 479 improve documentation by @chlebowa in #484
- Introduce teal_data class by @gogonzo in #470
- Make
JoinKeys
related changes due to refactor by @vedhav in #486 - 471 remove
CodeClass
fromFilteredData
by @chlebowa in #488 - rm pkg name from bioc pkg refs in Config/Needs/verdepcheck by @pawelru in #489
- update repo roster link by @donyunardi in #491
tdata
toteal_data
by @gogonzo in #490- remove by @gogonzo in #494
- remove deprecated by @gogonzo in #495
- Workflow propagation by @walkowif in #496
- 493
FilteredDatasetDefault
class by @chlebowa in #497 - Corrects mapping of parent join_keys columns when merging 2 data frames by @averissimo in #503
- 490 error on GRAN by @chlebowa in #504
- 511 remove
check_ellipsis
function by @chlebowa in #515 - Pre-release activities by @kartikeyakirar in #506
- clean up after
pre-release-cleanup
by @chlebowa in #537 - 476 wrong counts in
ChoicesFilterState
by @chlebowa in #545 - Moves
{shiny}
to imports and updates examples/vignettes by @averissimo in #546 - final touches by @chlebowa in #549
- 457 update filter card summary by @chlebowa in #547
- [skip vbump] upversion to 0.5.0 by @donyunardi in #552
Full Changelog: v0.4.0...v0.5.0
v0.4.0
New features
- Filter panel API is now based on
teal_slice
andteal_slices
objects. - It is now possible to specify a filter based on an arbitrary logical expression. See
expr
argument inteal_slice
. - It is now possible to limit choices in a single filter card. See
choices
argument inteal_slice
. - It is now possible to initialize the filter panel without the "Add filter variables" panel through
allow_add
inteal_slices
. - It is now possible to set a filter that cannot be removed by the app user. See
anchored
argument inteal_slice
. - It is now possible to set a filter whose selection cannot be changed. See
fixed
argument inteal_slice
. - It is now possible to limit choices within a variable to a single value only. See
multuple
argument inteal_slice
. - Changed appearance of filter cards to a collapsible accordion.
- Replaced
sliderInput
with interactiveplotly
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 inteal_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
andteal_slice
instead. - Removed
CDISCFilteredData
andCDISCFilteredDataset
and implementingJoinKeys
handling in their parent classes (FilteredData
andDefaultFilteredDataset
). - Specifying set of filterable columns is done through
include_varnames
andexclude_varnames
inteal_slices
. Specifyingattr(, "filterable")
is hard deprecated.
What's Changed
- Update workflows by @walkowif in #317
- extend check and docs github workflows with a trigger on filter_panel_refactor branch by @m7pr in #318
- Typo in the name of the branch in GHA Workflows by @m7pr in #322
- Reverting changes of docs github actions builds by @m7pr in #326
- Remove scda@main by @gogonzo in #359
- Workflow propagations by @walkowif in #363
- Refactor of the filter-panel by @gogonzo in #165
- add Andrew by @gogonzo in #383
- 355 rename module_add to allow_add by @kartikeyakirar in #385
- 362 change argument name from locked to anchored by @kartikeyakirar in #384
- 350 audit set selected by @chlebowa in #387
- fix UI for anchored FilterStateExpr by @gogonzo in #392
- 381 remove slices_field function by @kartikeyakirar in #391
- remove filter_panel_refactor@main branch from GHA check triggers by @m7pr in #388
- fix id of FilterStateExpr by @gogonzo in #395
- Fix MAE by @gogonzo in #397
- 298 reset button by @chlebowa in #354
- 382 rename internal functions by @chlebowa in #398
- prevent to specify the same dataset in both, include_varnames and exc… by @gogonzo in #401
- empty by @gogonzo in #404
- Update install by @gogonzo in #406
- 447 remove formatters by @m7pr in #390
- 867 modify mapping matrix by @chlebowa in #408
- fix by @gogonzo in #413
- fixing bug when adding filter again by @gogonzo in #414
- add spinner by @chlebowa in #418
- fix when no fixed or available filters by @gogonzo in #422
- 419 hidden drag handle by @chlebowa in #420
- #227 make subsetting calls prettier by @m7pr in #402
- 410 note experimental by @chlebowa in #423
- Bold the primary text in the filter panels to stay consistent by @vedhav in #426
- 428 get call bug by @chlebowa in #430
- Prevent to deselect any value in DateFilterState 429 by @kartikeyakirar in #433
- Filter panel widgets should have equal height when accordion is closed by @kartikeyakirar in #434
- wrap varname in backticks by @chlebowa in #437
- release 0.4.0 [skip vbump] [skip spelling] by @donyunardi in #439
New Contributors
Full Changelog: v0.3.0...v0.4.0
v0.3.0
- Examples now use
scda.2022
instead ofscda.2021
. - Transferred data hashing step in
FilteredDataset
toteal
. - 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 usingbootstrap 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 usescheckmate::test_integerish
instead ofis.integer
. - Updated
init_filtered_data
to take into account the removal ofCDISCTealData
fromteal.data
package. - Added examples apps for
ChoicesFilterState
andDFFilterStates
.
What's Changed
- [skip vbump] Dev version with 9xxx by @arkadiuszbeer in #117
- white space formatting in filter state by @chlebowa in #118
- use scda.2022 by @nikolas-burkoff in #119
- Add coverage badge by @walkowif in #122
- Enable checks for
workflow_dispatch
event by @walkowif in #125 - 15 Enable / disable filters on a variable level (but not removing it) by @BFalquet in #124
- remove hashing by @mhallal1 in #126
- Filter Panel - global turn on/off button by @Polkas in #123
- Use
test_integerish
instead ofis.integer
by @nikolas-burkoff in #128 - Badges and contribution guidelines by @insights-engineering-bot in #139
- reorg of the files. No changes in the namespace by @gogonzo in #145
- Collapse filters for a single dataset by @nikolas-burkoff in #146
- 129 filter state card@main by @gogonzo in #153
- check to assert by @pawelru in #152
- 134 remove shiny inputs after removal@main by @BLAZEWIM in #154
- Fix bs4 error by @nikolas-burkoff in #150
- Simplified reactivity of the FilterState by @gogonzo in #155
- removed standalone eval_expr by @BLAZEWIM in #149
- display filter count by @chlebowa in #156
- replace
ReactiveQueue
withreactiveVal
by @chlebowa in #170 - fix keep Inf checkbox by @gogonzo in #177
- remove superfluous methods by @chlebowa in #171
- update init_filtered_data by @mhallal1 in #169
- 175 replace input output@main by @BLAZEWIM in #176
- slider snaps from edge in
RangedFilterState
by @chlebowa in #189 - Update check as-cran and default landing page by @walkowif in #192
- fix for warnings and errors in test due to values comparison by @BLAZEWIM in #208
- example apps for filter panel backend by @chlebowa in #200
- drop unused(?) internal (191) by @chlebowa in #193
- Review teal.slice documentation before release by @BLAZEWIM in #243
- update teal.data version by @donyunardi in #246
- Workflow updates by @walkowif in #240
- Update token name by @walkowif in #270
- release 0.3.0 [skip vbump] by @donyunardi in #295
New Contributors
Full Changelog: v0.2.0...v0.3.0
v0.2.0
New features
- Added
set_filterable_varnames
method toFilteredData
andFilteredDataset
objects so that there is control over which variables can be filtered. - Added support for custom
bslib
bootstrap themes via theteal.bs_theme
option. See theteal
vignetteteal-bs-themses
for more information. - Removed
CDISCFilteredDataset
class and functionality moved toCDISCFilteredData
. - Changed constructor of
FilteredData
to not requireTealData
object. Seehelp(init_filtered_data)
for more details. - The filtered data is now stored in
FilteredData
notFilteredDataset
. - The join keys stored inside
FilteredData
are nowJoinKeys
objects. - Updated
get_filter_state
to return a list of active filter states and an attribute with the character form of the filter states. - Updated the
get_varlabels
method forFilterStates
classes. It now accepts a vector input. - Exported
S3
generic functioninit_filter_states
so that it can be used in other packages. - Added a
FilterPanelAPI
class to encapsulate the API of a filter panel.
Enhancements
- Redesigned the count bars for filter panel check box inputs.
- Redesigned the filter panel input for dates to use CSS flexbox.
- Update icons to be compatible with Font Awesome 6.
- Updates the
FilteredData
methodget_formatted_filter_state
so it no longer appends empty filters. - Added clearer installation instructions to README.
Breaking changes
- Renamed internal S3 method
get_filterable_varnames
toget_supported_filter_varnames
.
Bug fixes
- Fixed a bug when the filter panel overview would not refresh if the panel was hidden during a transition between active modules.
- Fixed a bug in
FilterState
wheresliderInput
step values were too precise.
What's Changed
- fix news by @gogonzo in #46
- Contribution guide updates by @insights-engineering-bot in #50
- FilteredData constructor by @nikolas-burkoff in #49
- Fix disappearing Active Filter Datasets by @Polkas in #60
- README and DESCRIPTION by @denisovan31415 in #66
- Update Rbuildignore and add auto-updates by @insights-engineering-bot in #67
- filterPanelAPI by @mhallal1 in #65
- Update FilteredData.R by @Polkas in #57
- add joinkeys into filtered data by @nikolas-burkoff in #71
- Update pre-commit config to detect
_pkgdown.y[a]ml
by @insights-engineering-bot in #74 - 683 join keys@main by @nikolas-burkoff in #73
- Update get_filter_state by @mhallal1 in #75
- Update font awesome icon labels for FA 6 by @cicdguy in #80
- Update FilteredData.R by @Polkas in #81
- Remove FILTERED by @nikolas-burkoff in #77
- modify get_formatted_filter_state by @mhallal1 in #78
- Update documentation workflow by @insights-engineering-bot in #82
- css review by @Polkas in #79
- Merge pre-release to main by @cicdguy in #87
- add set filterable by @nikolas-burkoff in #93
- cran fix by @mhallal1 in #96
- export init_filtered_states by @nikolas-burkoff in #100
- teal.slice - bs345 by @Polkas in #97
- Fix rounding for pretty formatting of sliderInput steps by @asbates in #98
- As cran by @arkadiuszbeer in #92
- update NEWS by @asbates in #110
- fix date filter input by @Polkas in #113
- [skip vbump] Release for version 0.2.0 by @insights-engineering-bot in #115
New Contributors
Full Changelog: v0.1.1...v0.2.0
v0.1.1
New features
- Added a formatting function for filter panel classes.
Miscellaneous
- Added a template to the
pkgdown
site. - Updated package authors.
- Added package vignettes.
Fix
- Fixed a bug in
FilteredDataset
, where launching ashiny
application withoutFilteredData
would not attach the appropriate CSS files.