Minor release

v2.12.0 - Use custom resources for has_many, fields in resource tools, and so much more

Integration was a breeze and even things like custom fields were really simple to add.

Definitely loving the experience compared to ActiveAdmin.

Aaron Rama
Aaron Rama
Co-Founder & CTO, PropUp
👆 Click to see the video 👆

Hey everyone 👋

First of all, I want to welcome Paul to the team. He's going to be hands-on with development going forward 💪
https://github.com/Paul-Bob
We also published a contributors page where we want to thank all of our contributors for their help.
https://avo.cool/contributors

This is an exciting release 🥳 The changes brought on by v2.12 enable developers to craft richer experiences, so let's dive in!

  1. Use custom fields inside resource tools
    https://docs.avohq.io/2.0/resource-tools.html#add-custom-fields-on-forms

  2. Use custom resource for has_many
    https://docs.avohq.io/2.0/associations.html#use-resource

  3. Add discreet_pagination option
    https://docs.avohq.io/2.0/associations.html#discreet-pagination

  4. Move resource controls to the left side
    https://docs.avohq.io/2.0/associations.html#resource-controls-on-the-left-side

  5. Hide sidebar on desktop

  6. Add path helpers on actions

  7. Bugfixes and improvements:

    • date and date_time can be cleared
    • date field does not take the offset into account
    • has_one field outputs all the associations
    • too many tabs flow out of the screen
    • heading fields not showing inside panels
    • tools cant come before fields
    • key value field shows "null" string instead of nothing
    • Trix input name broken for some resource names
    • authorization actions broke for some associations
    • overridden data attributes should take precedence
    • footer form buttons in the wrong place
    • some links think they are external when they are not
    • added avo_debug param
    • init script builds the assets
    • menu show/hide action is animated
    • changed the turbo frame failed to load state

Told you! It's a big one, but exciting. I can't wait to see what you'll build next using the new tools.

Next, we'll focus on finishing up the customizable resource controls (which I demo in the video) and improving the general stability of the framework.

There are 11 "Good first issues" ready to pick up if you have some spare time to improve your favorite platform.
https://avo.cool/good-first-issues

Release video
https://youtu.be/MfryUtcXqvU

Release notes
https://avohq.io/releases/2.12.0

As always, please share Avo in your networks, to your peers, and subscribe to the channels.
Thank you for being awesome!

Adrian and Paul ✌️

https://avo.cool
https://avo.cool/chat
https://avo.cool/repo
https://twitter.com/avo-hq

Release notes

🎸 Features

  • feature: use custom resource for has_many field @Paul-Bob (#1109)
  • feature: allow custom fields in resource tools @adrianthedev (#1107)
  • improvement/hidepaginationwhenfewitems @Paul-Bob (#1106)
  • feature: resource controls on the left @adrianthedev (#1091)
  • feature: protocol option for text field @adrianthedev (#1090)
  • feature: hide sidebar on desktop @adrianthedev (#1087)
  • feature: add path helpers to actions @adrianthedev (#1069)

🐛 Bug Fixes

  • Support date and date_time to clear the value @rickychilcott (#1108)
  • fix: has one field show only main panel @adrianthedev (#1111)
  • fix: multiple tabs flow out of the screen @adrianthedev (#1105)
  • fix: allow heading field in panels @adrianthedev (#1104)
  • fix: allow tools to come before fields @adrianthedev (#1102)
  • Make sure null appears as "" in key value fields @iainbeeston (#1100)
  • Fix trix input name for resources with more than one word in their name @iainbeeston (#1094)
  • fix: authorization actions broken for some associations @adrianthedev (#1064)
  • fix: overriden data attributes should take precendence @adrianthedev (#1089)
  • fix: form footer buttons in the wrong place @adrianthedev (#1071)
  • fix: external path detector @adrianthedev (#1081)
  • fix: date field wrongly subtracts time zone offsets @adrianthedev (#1080)

🤖 Maintenance

  • chore: add avo_debug param @adrianthedev (#1098)
  • Made sure the init script builds assets @iainbeeston (#1095)
  • chore: revert view_component to 2.60 @adrianthedev (#1084)

💡 Refactor

  • refactor: animate menu transition @adrianthedev (#1101)
  • refactor: change failed to load illustration @adrianthedev (#1097)

Latest release

Avo v2.49.0 released 12 days ago.