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

    narrow-laptop-54609

    08/05/2022, 6:13 PM
    Is anyone experiencing LONG compiling time when using Dokku and Digital Ocean? Mine is taking a reallly long time to compile and push the new version... 😭
    l
    • 2
    • 17
  • l

    lemon-wall-20836

    08/05/2022, 7:12 PM
    Long compile times
  • a

    able-monitor-756

    08/09/2022, 3:24 PM
    Hi! I am building a search feature for a resource and we wanted to display the search results in the page where the listing of the resource is located, as opposed to the JS-powered popovers that are by default. In other words, similar to the demo of Ransack's simple usage. Is this possible? Thanks
    l
    • 2
    • 39
  • e

    early-camera-94059

    08/10/2022, 6:25 AM
    Is there a way to put a custom action in the links in the table row, rather than in a dropdown at the top of the index view?
    l
    s
    • 3
    • 27
  • s

    strong-restaurant-36788

    08/15/2022, 5:15 PM
    From my brief testing here, adding
    required: true
    to a field changes the UI, but doesn't truly make the field required (in the HTML sense or the server-side validation sense). That true in others experiences?
    l
    • 2
    • 11
  • s

    square-kitchen-24224

    08/16/2022, 2:29 PM
    Hi dear community, Does anyone know how to display the create_{association} button on the show page of a given resource for a
    has_one
    association please ? It works great with the
    has_many
    but I haven't been lucky with the
    has_one
    yet
    l
    • 2
    • 3
  • l

    lemon-wall-20836

    08/17/2022, 7:42 AM
    From my brief testing here adding
  • l

    lemon-wall-20836

    08/17/2022, 7:44 AM
    Hi dear community
  • l

    lemon-wall-20836

    08/17/2022, 9:00 PM
    Is there a way to put a custom action in
  • s

    some-army-14041

    08/19/2022, 1:58 PM
    Hi community, Is anyone experiencing issues with global search for 2.13.0 ? Seems that we now get time out errors (e.g. if you search for a single letter, everything is searched without pagination)
    l
    • 2
    • 20
  • t

    thankful-stone-82785

    08/19/2022, 2:48 PM
    I have a
    PurchaseResource
    with
    field :line_items, as: :has_many, hide_on: :index, show_on: :edit
    and this renders the LineItemResource panel on Avo 2.11.1 but as soon as I update to 2.12.0 or even the freshly released 2.13.1 that panel disappears
    l
    • 2
    • 16
  • t

    thankful-stone-82785

    08/19/2022, 2:49 PM
    When I downgrade (to 2.11.1) the panel appears again, I can't find any changes in the release notes that would break this behaviour
  • w

    wooden-island-51391

    08/20/2022, 10:37 PM
    Anyone encountered this before?
    Copy code
    Uncaught SyntaxError: identifier starts immediately after numeric literal avo.js:1:6386
    It's causing a bunch of things to not work, but I only get it on my prod server, not local dev.
    l
    • 2
    • 19
  • l

    lemon-wall-20836

    08/21/2022, 7:49 AM
    Anyone encountered this before
  • l

    little-psychiatrist-30020

    08/24/2022, 6:08 PM
    Hello, I just started playing with Avo today, and so far it's amazing. One question though, how would I go about managing state transitions? Eg we use AASM, ActiveAdmin and Administrate both have plugins, in Avo do I need to build some kind of Resource tool? I didn't see anything yet that describes that kind of functionality. Can someone please point me in the right direction? Thanks
    l
    • 2
    • 78
  • l

    late-king-9468

    08/25/2022, 1:13 PM
    Hey peeps ! @lemon-wall-20836 Just tried using your script (https://docs.avohq.io/2.0/upgrade.html#upgrade-from-2-12-to-2-13) to update the search queries, but it didn't work as is. I had to: - Move the
    old_search_query
    and
    new_search_query
    variables inside the method definition - Navigate to the
    app/avo/resources
    folder to launch the script (running it from root with the full path did not work) Maybe worth updating for future users ?
    l
    l
    • 3
    • 3
  • t

    thankful-stone-82785

    08/31/2022, 2:15 PM
    I upgraded to 2.14.2 from 2.13.1 and now one of my actions is missing, when I revert it's back again. Did something change?
    l
    • 2
    • 2
  • l

    lemon-wall-20836

    08/31/2022, 2:25 PM
    I upgraded to 2 14 2 from 2 13 1 and now
  • t

    thankful-stone-82785

    08/31/2022, 2:26 PM
    nvm, found this commit: https://github.com/avo-hq/avo/pull/1157/files . Which when I search on "act_on" in the documentations gives me this: https://docs.avohq.io/2.0/authorization.html#act-on maybe worth mentioning this too in the Actions documentation? https://docs.avohq.io/2.0/actions.html
  • t

    thankful-stone-82785

    08/31/2022, 2:26 PM
    I tried "send feedback about this feature" but it redirects to a github discussion about stimulus
  • l

    lemon-wall-20836

    08/31/2022, 2:26 PM
    got it
  • l

    lemon-wall-20836

    08/31/2022, 2:27 PM
    fixing the docs now
  • l

    lemon-wall-20836

    08/31/2022, 2:27 PM
    thanks for digging in!
  • t

    thankful-stone-82785

    08/31/2022, 2:27 PM
    tnx for acting so fast 🙂
  • t

    tall-ghost-95744

    09/01/2022, 10:40 PM
    I was wondering if there's a way to create a
    belongs_to
    in an action? The use case is I have
    ModelA
    that
    has_many
    ModelB
    and I'd like to be able to use the
    record_selector
    to check several
    ModelB
    , choose
    Actions
    , and then select
    "Assign ModelA"
    action. This should cause a modal with a select box to appear with all the records from
    ModelA
    , such that when I submit it, the ID for the selected
    ModelA
    is sent to the server, where I can deserialize it from the
    fields
    object.
    l
    • 2
    • 18
  • t

    tall-ghost-95744

    09/01/2022, 10:42 PM
    I tried, but I keep getting an:
    Copy code
    ActionView::Template::Error (undefined method `_reflections' for nil:NilClass):
        24:       <% if @action.get_fields.present? %>
        25:         <div class="mt-4">
        26:           <% @action.get_fields.each_with_index do |field, index| %>
        27:             <%= render field.component_for_view(:edit).new field: field, resource: @resource, index: index, form: form, displayed_in_modal: true %>
        28:           <% end %>
        29:         </div>
        30:       <% end %>
    error.
  • l

    lemon-wall-20836

    09/02/2022, 2:48 PM
    Belongs to in action
  • n

    narrow-laptop-54609

    09/02/2022, 6:06 PM
    Any idea why would Avo keep an old resource slug after it has been updated?
    l
    • 2
    • 7
  • l

    loud-jewelry-99127

    09/03/2022, 9:38 PM
    Any idea why would Avo keep an old
  • d

    delightful-beach-23533

    09/10/2022, 7:33 PM
    Hey I am trying to use actions, and defined one as per the docs in my UserResource, however its not showing up in the UI. Is there any reasons why it wouldnt be showing that I need to check?
    l
    • 2
    • 13
1...454647...64Latest