https://avo.cool logo
Join Discord
Powered by
# avo-2
  • l

    loud-jewelry-99127

    07/19/2022, 6:50 PM
    You're experiencing that issue on a has_many association field right? Try add
    ,name: 'Feedback'
    at your field, has_many fields use plural naming for default
  • n

    narrow-laptop-54609

    07/19/2022, 6:52 PM
    @loud-jewelry-99127 I'm not sure I follow. I'm not experiencing issues with associations
  • n

    narrow-laptop-54609

    07/19/2022, 6:53 PM
    I just want to change how Avo displays that resource name, so instead of "Feedbacks" in the breadcrumbs and index page title, to show "Feedback"
  • n

    narrow-laptop-54609

    07/19/2022, 6:54 PM
  • l

    loud-jewelry-99127

    07/19/2022, 6:57 PM
    Got it, my bad, in order to change a resource name you can use localization (i18n) , https://docs.avohq.io/2.0/localization.html#localizing-resources
  • n

    narrow-laptop-54609

    07/19/2022, 6:57 PM
    @loud-jewelry-99127 Sweet! Thanks!
  • n

    narrow-laptop-54609

    07/20/2022, 6:50 PM
    Is anyone else seeing the date field format not formatting correctly after the last update?
    l
    • 2
    • 64
  • n

    narrow-laptop-54609

    07/20/2022, 6:51 PM
    I have my date field set to
    format: "%b %e, %Y"
  • s

    square-kitchen-24224

    07/21/2022, 3:27 PM
    Hello everyone 👋 I struggle because of the strong coupling between the policies and the view. I use the same model in two different avo resources and I want to display different things in each resource but because they share the same policy they display the same buttons. Is there a way to override that ?
    l
    l
    • 3
    • 11
  • l

    lemon-wall-20836

    07/21/2022, 7:37 PM
    Different policies per resource
  • s

    strong-restaurant-36788

    07/22/2022, 4:06 PM
    Hi everyone. Anyone using
    date
    or
    date_time
    as fields in the latest Avo? It seems like the flatpickr implementation changed significantly and most of my date fields are showing as
    Invalid DateTime
    in the show view (see attached) and dates now seem required -- I can't remove a date even though the field is not required. I haven't dug in, but just wanted to check if anyone else was experiencing?
    l
    • 2
    • 89
  • l

    lemon-wall-20836

    07/22/2022, 6:15 PM
    date & date time format changed
  • e

    early-camera-94059

    07/24/2022, 9:58 AM
    Am noticing that when a Resource is reloaded, other controllers are also reloaded. Why might my app controllers get reloaded at that point? (if the view is being handled purely by an Avo controller?)
  • w

    worried-machine-9922

    07/25/2022, 11:48 PM
    You using hotwire-livereload or something similar and have your app open in other tabs?
  • l

    late-king-9468

    07/26/2022, 4:13 PM
    Hey everyone ! Anyone ever encountered this error ? I just updated avo, and it suddenly appeared. It goes away only if I comment calls to
    tool
    class method in EVERY resource.
    l
    • 2
    • 7
  • l

    late-king-9468

    07/26/2022, 4:31 PM
    Might be related to this change ? https://github.com/avo-hq/avo/compare/v2.9.0...v2.10.0#diff-9670ab89bce4b9abf8dc86298698eab8bc4f63a9877d397eaee789dec5f9e306
  • l

    lemon-wall-20836

    07/26/2022, 7:10 PM
    Hey everyone Anyone ever encountered
  • s

    square-kitchen-24224

    07/28/2022, 5:17 AM
    Hi there 👋, could someone explain what is the difference between the
    main
    branch and the
    master
    aka default branch in the avo repo please ? I would like to contribute but I don't get it. 🙏
    l
    • 2
    • 6
  • g

    green-london-56146

    07/28/2022, 5:19 AM
    hey could you show on github where the master branch is? I only see the
    main
  • g

    green-london-56146

    07/28/2022, 5:20 AM
    github has moved to using
    main
    as the default first branch for new repositories for a few years now
  • g

    green-london-56146

    07/28/2022, 5:21 AM
    https://github.blog/changelog/2020-10-01-the-default-branch-for-newly-created-repositories-is-now-main/
  • l

    lemon-wall-20836

    07/28/2022, 7:32 AM
    Hi there 👋 could someone explain what
  • t

    thankful-stone-82785

    07/29/2022, 11:18 AM
    Hey guys! Really digging Avo, trying to build out the basic needs for our backoffice in it now. One thing I would like to ask/have clarified before I start to build it: I have an
    Invoice
    resource with
    has_many :line_items
    how would I go about having this on -one-
    edit
    view in Avo? It seems this is not default supported but I'd like to build a workaround for it. Do I need to resort to a custom field to edit these? Or is there another workaround to get this?
    l
    • 2
    • 29
  • b

    best-microphone-15927

    08/03/2022, 1:23 AM
    👋 yo! I just bumped Avo from 2.9 to 2.12 and looks like I've got an issues with the side menu styling. I'm sure it's something I've caused, and I'm prepared to beat my head against the wall for the next day if I have to, but figured I'd share here in case anyone has run into it, or has a helpful insight.
  • b

    best-microphone-15927

    08/03/2022, 1:24 AM
    I was excited for the side menu to be collapsible at desktop size breakpoint, but it looks like something isn't playing nice with "the new way".
  • b

    best-microphone-15927

    08/03/2022, 1:42 AM
    SOLVED! I'm using my own github fork of Avo and I needed to
    rake app:avo:build-assets
    there to get the updated CSS in my app.
    l
    • 2
    • 31
  • b

    best-microphone-15927

    08/03/2022, 1:44 AM
    Thanks for making Avo @lemon-wall-20836 ! It has felt highly productive at the outset, and lots of options for extending so that I don't feel limited as my project finds it's way into the areas of more specific, custom needs. 👏
  • l

    lemon-wall-20836

    08/03/2022, 6:21 AM
    Thank you for the kind words!
  • l

    lemon-wall-20836

    08/03/2022, 6:40 AM
    SOLVED I m using my own github fork of
  • g

    great-honey-61237

    08/05/2022, 2:31 PM
    Hey, I'm getting failures when trying to upgrade from 2.7.0 -> 2.12.0 around
    headings
    :
    Copy code
    NoMethodError: undefined method `heading' for nil:NilClass
    /vendor/bundle/ruby/2.7.0/gems/avo-2.12.0/lib/avo/concerns/has_fields.rb:42:in `heading'
    Any quick fixes for this? 🤔
    l
    • 2
    • 19
1...444546...64Latest