Minor release

v2.5.0 - Dynamic & reactive filters

I was hand-rolling an admin dashboard for this community database of third-party RPG content. It was painful for them to use but this morning I just dropped Avo in and suddenly it's a dream!

Means I can focus on the user-facing stuff without worrying about neglecting the data entry people 🀣

John Bannister
John Bannister
Rails developer, Exlibris RPG

Hola amigos,

Version 2.5.0 brings a few exciting features that make Avo a bit more powerful than before.

  1. 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=M2RsNPPFOio

  2. Filters 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-filters

  3. Customize empty message text when no options are available
    https://docs.avohq.io/2.0/filters.html#empty-message-text

  4. Keep the filters panel open when choosing options.
    https://docs.avohq.io/2.0/filters.html#keep-filters-panel-open

  5. We'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=3ee9iq2CnzA

  6. We 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)