Server-side processing
- Modified
mod_render_dt_server()
: added argserver
for server-side processing
Exported 'valid_dt_filter_values()'
- Export
valid_dt_filter_values()
Filter & default bundles
- Added
valid_dt_filter_value()
- Modified module
mod_render_dt.R
:- added arg
filter
to enable column filters - added arg
.bundles_default
to better control default bundles
- added arg
Fixed verbose
- Fixed type in
mod_render_dt_server
:.verbose = verbose
in call todatatable2()
Verbose
- Modified module
mod_render_dt.R
: renamed arg from.verbose
toverbose
to make it more consistent with other packages (e.g.shimo.eda
)
Bugfix in tracing shiny NS info
- Fixed
shiny_trace_ns()
: now split intoshiny_trace_ns_ui()
andshiny_trace_ns_server()
- Modified
mod_render_dt_ui
: usesshiny_trace_ns_ui()
- Modified
mod_render_dt_server
: usesshiny_trace_ns_server()
Tracing shiny NS info
- Added
shiny_trace_ns()
to trace shiny NS info - Modified module
mod_render_dt.R
: refactred tracing part by usingshiny_trace_ns()
Fixed verbose for UI function (no input)
- Updated tracing info when setting
.verbose = TRUE
inmod_render_dt_ui()
Verbose
- Updated tracing info when setting
.verbose = TRUE
in modulemod_render_dt.R
Renamed to 'dtf'
- Renamed the package to
dtf
as I discovered thatdti
was already taken by a CRAN package
New default: id = character()
- Modified module
mod_render_dt.R
:id = character()
- Modified
dt_bundle_dom()
: new order logic (capital letters first then lowercase letters) - Aligned unit tests to new
dom
order logic
Internationalization
- Added convenience functions for internationalization:
dt_bundle_internationalization_en()
dt_bundle_internationalization_de()
Fixed UI module
- Module UI uses
DT::dataTableOutput()
instead ofshiny::dataTableOutput()
as this seems to fix the issue of the DT not being displayed correctly. Not sure why the one works while the other doesn't, though. Also added some tracing info for namespacing stuff just in case
Roxygen and colreorder
Shiny modules exported
Small fixes
- Fixed forgotten
postprocess()
- Fixed dependency issue with
drop
(hopefully)
Shiny module
- Modified
datatable2()
:.verbose
logger::log_trace()
- Fixed multi dom inputs in
dt_process_bundles_list()
- Added internal util functions:
dt_process_bundles_list_merge()
dt_process_bundles_list_postprocess()
dt_process_bundles_list_postprocess_align_dom()
dt_process_bundles_merge()
(legacy)dt_process_bundles_postprocess()
(legacy)
- Disclaimers: unit test still need to be aligned but glancing over the test results only indicates deviances wrt default
dom
structure/letter order or options structure wrtdom
Fixed list bundle processing
- Fixed
dt_process_bundles()
for lists (dt_process_bundles_list()
) - Refactored
dt_bundle_dom()
- Removed arg
.verbose
fromdt_bundles_*()
functions. Tracing better happens either throughdt_process_bundles()
or throughdatatable2(..., verbose = TRUE)
- Remaining TODO: align unit tests
Length menue + internationalization
- Refactored
dt_bundle_lengthmenue()
- Refactored
dt_bundle_internationalization()
drop
Refactored bundle code
Renamed to 'dtf'
- Refactored bundle code:
dt_bundle_autofill()
dt_bundle_buttons()
dt_bundle_colreorder()
dt_bundle_fixedcolumns()
dt_bundle_fixedheader()
- Modified column position lookup which resulted in new function
lookup_column_positions()
(previous function was deleted) - Added prod dependencies
logger
snakecase
rappster/drop
- Unit tests not completely refactored yet
- Added a
NEWS.md
file to track changes to the package. - Added
R/dt.R
code from another project - Added prod dependencies
DT
rappster/valid
rappster/confx
assertthat