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

    nutritious-ice-31766

    01/13/2023, 4:17 PM
    If I want to have a different view of this record .. Would it be a tool ( usertool in the main.avodemo ) with partials ?
    l
    • 2
    • 12
  • d

    delightful-beach-23533

    01/14/2023, 10:51 AM
    quick question, how do I rename this label/name of the model. Would like to override it to "Teachers"
    l
    • 2
    • 6
  • n

    nutritious-ice-31766

    01/16/2023, 11:16 AM
    @lemon-wall-20836 .. w.r.t to the licensing ... By a single app does it allow a single main domain ? or does it consider subdomains as well ?
    l
    • 2
    • 30
  • l

    lemon-wall-20836

    01/16/2023, 11:28 AM
    adrianthedev 4617 w r t to the
  • r

    ripe-article-50191

    01/16/2023, 4:17 PM
    In has_and_belongs_to_many relation, how can I remove of hide the +Create new in the related model?
    l
    • 2
    • 20
  • r

    ripe-article-50191

    01/17/2023, 9:52 AM
    Hi Adrian, I have posted a question in your github. https://github.com/avo-hq/avo/issues/1530
  • l

    lemon-wall-20836

    01/17/2023, 9:53 AM
    yes. we see those and get notified. I'll have a look later. thank you!
  • r

    ripe-article-50191

    01/17/2023, 9:56 AM
    Thanks
  • n

    nutritious-ice-31766

    01/20/2023, 9:21 AM
    the mobile interface works well. Is there a way to control the fields that should be hidden in the mobile interface ... for ex. I just want only 2 columns in the mobile interface for the resource list page.
    l
    • 2
    • 19
  • i

    important-garden-7616

    01/21/2023, 12:24 AM
    Apologies if this has already been asked; is there any way to pass arbitrary html attributes to a
    field
    (i.e.
    autocomplete
    ,
    required
    , etc.)?
    l
    m
    w
    • 4
    • 22
  • i

    important-garden-7616

    01/21/2023, 12:24 AM
    Having trouble finding this in the docs
  • r

    ripe-article-50191

    01/23/2023, 11:42 AM
    Can I on model index select only one column instead all the columns in the model?
    l
    • 2
    • 14
  • s

    straight-mechanic-78430

    01/23/2023, 12:29 PM
    Quick question guys : How to u inject stimulus controller into action view? Somehow, the parent stimulus-resource-controller don't get connected to the fields in the action view. @lemon-wall-20836 any idea ?
    l
    • 2
    • 12
  • n

    nutritious-ice-31766

    01/23/2023, 8:51 PM
    I am trying get this ( https://docs.avohq.io/2.0/recipes/rest-api-integration.html ) to work . Has anyone got a working example ? And @lemon-wall-20836 , is the documentation still valid ?
    l
    l
    • 3
    • 15
  • b

    billowy-easter-81499

    01/25/2023, 2:53 AM
    Hello, any idea why my Global Search button does not display on mobile in portrait, but does in landscape?
    l
    • 2
    • 35
  • w

    wooden-island-51391

    01/25/2023, 9:07 AM
    Anyone used Avo when having rails inflections configured to use URL instead of Url? It's causing Avo::UrlHelpers to fail to load since it's looking for Avo::URLHelpers now instead. Can't seem to see anything in the docs about it.
    l
    • 2
    • 22
  • g

    great-optician-87198

    01/25/2023, 4:08 PM
    Hello I have a little use case with a current working solution but I would like to know if there isn't any better approach to this. For a resource I would like to show a preview of a component rendered by this resource. Lets say as an example my resource describe a little game then in the admin I want in the show view to display a preview of the game. I generated a
    Resource Tools
    to display a custom partial and first rendered my component into this partial. But I was missing the CSS and I am pretty sure I would have collisions if I try to add our global CSS to AVO. My current solution is to display an iFrame that renders a preview of this component. Any other suggestion to avoid an iFrame ?
    l
    • 2
    • 14
  • l

    lemon-wall-20836

    01/25/2023, 4:42 PM
    I know this channel receives more eyes so I'll post this here too. @fast-rain-20514 is looking to speak with someone that's using Avo in production as a customer-facing app, so if you have a few minutes please get in touch. https://discord.com/channels/740892036978442260/740900436722188401/1067845363899306054
  • f

    fast-rain-20514

    01/25/2023, 6:02 PM
    Q: I'm hitting a snag using a computed field (in this case a name made up of first & last name) as the title for my resource
    self.title = :name
    . When I do this sub resources look for the
    :name
    on the base model not the avo resource & it seems like breadcrumbs don't work properly either. Is this supported? Or do I need to define the name on the model itself (which feels messy)?
    l
    • 2
    • 24
  • c

    creamy-ghost-62907

    01/25/2023, 8:57 PM
    Ok, I'm having a strange problem. I'm running 2.24.1. I have a menu configuration that defines two `section`s. The first
    section
    behaves properly. It respects
    collapsible
    and
    collapsed
    , as do its child `group`s. The second
    section
    respects
    collapsed
    , but not
    collapsible
    . I.E. there's no arrow icon, and the menu element isn't clickable, but the child elements will be shown/hidden according to
    collapsed
    . The same holds true for child `group`s. Any thoughts on what I might be getting wrong?
  • c

    creamy-ghost-62907

    01/25/2023, 9:02 PM
    It does not matter what order I define the `section`s, so it's clearly something about the particular definitions but I cannot for the life of me figure out what.
  • c

    creamy-ghost-62907

    01/25/2023, 9:03 PM
    This definition does not produce the icon and isn't clickable:
    Copy code
    section("Something", collapsible: true) do
          end
  • l

    lemon-wall-20836

    01/25/2023, 9:03 PM
    try
    collapsable
  • l

    lemon-wall-20836

    01/25/2023, 9:03 PM
    😄
  • l

    lemon-wall-20836

    01/25/2023, 9:05 PM
    after reading the definition from here it seems that
    collapsible
    is the better fit https://thecontentauthority.com/blog/collapsable-vs-collapsible
  • l

    loud-jewelry-99127

    01/25/2023, 9:05 PM
    ='))) i was reading the same blog
  • l

    loud-jewelry-99127

    01/25/2023, 9:05 PM
    they mean the same but
    collapsible
    it's more used
  • l

    loud-jewelry-99127

    01/25/2023, 9:07 PM
    maybe we should permit both and alias one on other
  • l

    lemon-wall-20836

    01/25/2023, 9:07 PM
    yeah, let's add an alias
  • l

    loud-jewelry-99127

    01/25/2023, 9:07 PM
    i'm creating the issue
1...525354...64Latest