v2.5.0 - Dynamic & reactive filters
Released May 2022
Hola amigos,
Version 2.5.0 brings a few exciting features that make Avo a bit more powerful than before.
Dynamic filter options. You can now use the
applied_filters
object to configure your options better. This makes the filtering process even more powerful.
https://docs.avohq.io/2.0/filters.html#dynamic-filter-options
Video demo: https://www.youtube.com/watch?v=M2RsNPPFOioFilters can react to other filters. Imagine you have two filters countries and cities. You want to show only the cities from the countries the user selected in the first filter in the second one. Using
react
, you can do precisely that.
https://docs.avohq.io/2.0/filters.html#react-to-filtersCustomize empty message text when no options are available
https://docs.avohq.io/2.0/filters.html#empty-message-textKeep the filters panel open when choosing options.
https://docs.avohq.io/2.0/filters.html#keep-filters-panel-openWe're now exposing the record scopes to associations so you can better scope down the associated records.
https://docs.avohq.io/2.0/associations.html#add-scopes-to-associations
Video demo: https://www.youtube.com/watch?v=3ee9iq2CnzAWe fixed a bug where has many loses scope per page change
We love how flexible Avo becomes with every release. We hope you love it too!
Take care 🤙
Release notes
🎸 Features
- feature: filter improvements; dynamic options, react to filters, empty message & keep panel open @adrianthedev (#873)
- feature: pass record to association scope @adrianthedev (#876)
🐛 Bug Fixes
- fix: has many loses scope on per page change @adrianthedev (#875)
- fix: eject command broken for sidebar @adrianthedev (#874)
🤖 Maintenance
- chore: fix standardrb @adrianthedev (#877)