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

    ripe-monitor-54023

    09/29/2022, 4:50 PM
    (sorry, not sure if #740893011994738751 is the best channel for those questions)
  • l

    lemon-wall-20836

    09/30/2022, 8:00 AM
    Hi I m new here First of all great work
  • q

    quaint-pencil-2979

    09/30/2022, 5:55 PM
    Hello guys, is there some way to handle array field?
    l
    • 2
    • 6
  • m

    miniature-eye-94502

    10/02/2022, 6:39 AM
    Hello, I have an issue I am stumbling on... I have a project that works well locally, but has issues in production. I am deployed to Heroku, Stack 22. I am using Postgres 14. Rails 7, Ruby 3.1.0. In production, my tag fields in my resources do not save. They save in development, and they will save if I set them in the rails console in production, but not when I use the Avo interface. Additionally, my sidebar menu is ignoring my avo.rb initializer settings in production. I set the initializer to hide several resources, and it does so in development. But on my production machine it is showing all resources, including those not specified. I have been looking at my logs carefully, but I am not finding any clues as to why my initializer is being ignored or, more importantly, why my tag fields are not working. If anyone has any suggestions or insights I would grateful to hear them. Thank you!
    l
    • 2
    • 8
  • l

    lemon-wall-20836

    10/02/2022, 7:56 AM
    Avo production differences
  • b

    bright-tomato-27372

    10/06/2022, 7:16 AM
    Is there any way to change the order on a resource to have a Custom Tool be first / on top? Moving my Custom Tool partial puts its under the regular fields, but above the association fields. Makes me wonder if being able to reorder those would be useful for others. Like even being able customize whether to render the association fields before the regular fields would be nice in some cases
  • g

    gray-gpu-88311

    10/06/2022, 2:29 PM
    We’ve done this previously by wrapping everything you want below the tool in a panel, or in tabs?
  • b

    bright-tomato-27372

    10/06/2022, 3:01 PM
    That's a really good idea, I didn't think about using a panel! Thanks so much! EDIT: This idea worked out perfect!
  • m

    mammoth-guitar-49791

    10/07/2022, 10:54 AM
    https://gist.github.com/jmarsh24/781b3575be52e841db4bcd1c57cc1c9e Currently I have a has_many through association between theme, category resource, and theme_categories. The association works in rails both ways, but only theme->categories but not category->themes. Do you have any advice on what to do here to troubleshoot?
    l
    • 2
    • 5
  • v

    victorious-kangaroo-12568

    10/10/2022, 8:05 PM
    Hello guys, is there some way to handle with form with belongs_to association? instead of select field, we can just create a subform with belongs_to model fields I found this here: https://docs.avohq.io/2.0/resource-tools.html#add-custom-fields-on-forms is that the correct way? Ty so much
    l
    • 2
    • 10
  • i

    important-terabyte-39911

    10/10/2022, 11:35 PM
    I'm trying to create a select field with computed options, I copied the code from the Avo docs but I'm getting this error
    l
    • 2
    • 9
  • l

    lemon-wall-20836

    10/11/2022, 9:06 AM
    Resource tools | Avo docs
  • d

    delightful-beach-23533

    10/11/2022, 4:57 PM
    I just did update of avo, and some other gems, and I get this for every policy using pundit. Anyone else seen this? avo 2.17 pundit 2.2 devise 4.8.1
    l
    • 2
    • 10
  • t

    thankful-stone-82785

    10/12/2022, 2:53 PM
    hi guys, is there any documentation available around having a resource page updated/reloaded from external triggers? I saw this https://github.com/avo-hq/avo/pull/889 but there turbo is mentioned, but I cannot imagine how that would help here. Usecase: a resource has many sub_resources, these sub resources may be added outside of the Avo admin but should reflect directly on the page in Avo
    l
    • 2
    • 16
  • q

    quaint-pencil-2979

    10/12/2022, 9:23 PM
    Hi guys, custom field is a premium feature? https://docs.avohq.io/2.0/custom-fields.html
    l
    • 2
    • 4
  • q

    quaint-pencil-2979

    10/13/2022, 3:46 PM
    Hello, i have follow de intructions for run specs (https://github.com/avo-hq/avo/blob/main/CONTRIBUTING.MD#running-tests) in fork but i getting the following error:
    l
    • 2
    • 3
  • i

    important-terabyte-39911

    10/13/2022, 9:50 PM
    I have this structure and I was wondering if there's any quick way to have 3 tables with the records grouped by the GROUP column, say, one table with the games for group A, one for B and one for C (I am aiming not to create a whole dashboard or something unless it's really necessary)
    l
    • 2
    • 29
  • l

    lemon-wall-20836

    10/14/2022, 9:02 AM
    I have this structure and I was
  • m

    mammoth-guitar-49791

    10/14/2022, 10:30 AM
    Copy code
    ruby
    class Avo::CategoriesController < Avo::ResourcesController
      def index
        super
        resource.model_class.by_position
      end
    end
    I'm using acts_as_list in my app and I'm trying to override the index method in avo so I don't have to use a default scope. For some reason this isn't working. What do I need to overrride to get change the order of the model?
    l
    • 2
    • 2
  • s

    straight-mechanic-78430

    10/14/2022, 10:31 AM
    Hi Guys, I am struggling with the documentation, I could not find any Information about the action policies. How do I control the visibility of actions with the resource policy, All I could find is the usage of the act_on? Method, which only show or hide the action button. Appreciate any hint. And by the way, you guys are doing an amazing job @lemon-wall-20836 and other guys , Congratulation
    l
    • 2
    • 8
  • s

    straight-mechanic-78430

    10/17/2022, 11:29 AM
    Hi Guys , is it possible to hide a field label in the edit/show view ? See example below. I am willing to invest some time on a PR if someone is kind to point me to the right direction 🙂 Cheers Moe
    l
    • 2
    • 10
  • l

    lemon-wall-20836

    10/17/2022, 1:40 PM
    Hi Guys
  • l

    late-cartoon-17585

    10/17/2022, 6:55 PM
    The database I'm pointing Avo has a lot of data, it is a not a very well designed BI db. And I need to ALWAYS filter some data for some users. It is not a full blown authorization (the client does not want to manage this right now), but more of a permanent/unchangeable filter based on the current user (there are a few variations). Any suggestions?
    l
    • 2
    • 20
  • q

    quaint-pencil-2979

    10/17/2022, 7:55 PM
    Hello guys, this feature is PRO? https://docs.avohq.io/2.0/recipes/multilingual-content.html
  • q

    quaint-pencil-2979

    10/17/2022, 8:36 PM
    Hello guys, this feature is pro? https://docs.avohq.io/2.0/recipes/multilingual-content.html i think is missing the label
    l
    • 2
    • 7
  • l

    lemon-wall-20836

    10/18/2022, 6:39 AM
    Multilingual content | Avo docs
  • s

    straight-mechanic-78430

    10/19/2022, 9:19 AM
    I just posted an issue in Github, I dont know if its already a known Bug or not. If you need my Help fixing it , I will need some guidance 🙂 https://github.com/avo-hq/avo/issues/1331
    l
    • 2
    • 3
  • t

    thankful-stone-82785

    10/20/2022, 7:26 PM
    Hi, in avo 2.17 I can't get a default value for a field working in an Action. Using the example on this page: https://docs.avohq.io/2.0/actions.html#overview it just shows
    Message
    for the placeholder and is empty, so not
    Your account has been marked as inactive.
    as the value.
    l
    l
    • 3
    • 13
  • q

    quiet-winter-98496

    10/21/2022, 8:14 PM
    Can anyone tell me what’s supposed to happen when you select multiple models? On both index views and associations I can tick the checkboxes next to each item… but then what? None of the buttons seem to affect multiple models. I’d assume I could at least delete multiple models. Am I missing something obvious? Or do I need to enable something on my resource to display some extra controls for multiple models?
    l
    • 2
    • 14
  • l

    lemon-wall-20836

    10/21/2022, 9:20 PM
    Select multiple records
1...474849...64Latest