Closed matt-riemer closed 8 months ago
The update removes a dependency on jquery.delayedChange
and introduces custom delay handling for keyup and paste events in data tables. This enhancement aims to improve user interaction by delaying search/filter actions until the user has finished typing or pasting, reducing unnecessary processing. Additionally, it simplifies the reset functionality by focusing solely on input and data table resets, removing outdated code related to delayed changes.
File Path | Change Summary |
---|---|
app/assets/javascripts/effective_datatables.js |
Removed jquery.delayedChange requirement, kept jquery.fileDownload and jquery.dataTables . |
app/assets/javascripts/effective_datatables/... |
Added keyup and paste event handlers with delay; defined delayChange for delayed callbacks. |
app/assets/javascripts/effective_datatables/reset.js.coffee |
Removed resetting delayed changes; focused on resetting inputs and data table. |
🐰✨
A hop, a skip, a code deploy,
We've made our tables much more coy.
No more haste, with grace they'll toy,
A rabbit's touch, a coder's joy.
🌟🐾
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit