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

    loud-jewelry-99127

    05/16/2022, 2:42 PM
    https://tenor.com/view/ken-jeong-guess-who-community-hello-hola-gif-12347328
  • l

    lemon-wall-20836

    05/16/2022, 2:58 PM
    hmm
  • l

    lemon-wall-20836

    05/16/2022, 2:58 PM
    through localization
  • l

    lemon-wall-20836

    05/16/2022, 2:59 PM
    https://docs.avohq.io/2.0/localization.html#localizing-resources
  • l

    lemon-wall-20836

    05/16/2022, 2:59 PM
    that changes the resource name everywhere
  • c

    chilly-xylophone-87449

    05/21/2022, 3:42 AM
    I'm looking at moving away from Active Storage to Shrine for my file/attachment handling. Is there any thought of adding compatibility with Shrine in the future?
  • l

    loud-jewelry-99127

    05/21/2022, 1:14 PM
    @chilly-xylophone-87449 I'm curious, what are the pros of shrine against active storage?
  • c

    chilly-xylophone-87449

    05/21/2022, 1:39 PM
    Flexibility mostly. The things that I like: ability to use a custom folder structure on S3, and a large library of plugins to do additional things, like using external services for variants, etc
  • c

    chilly-xylophone-87449

    05/21/2022, 1:45 PM
    Not sure if it’s helpful at all but here is the plug-in for Shrine that gives you a field for it in Administrate https://github.com/catsky/administrate-field-shrine
  • l

    lemon-wall-20836

    05/21/2022, 2:23 PM
    Hey. It shouldn’t be very difficult to support shrine
  • l

    lemon-wall-20836

    05/21/2022, 2:24 PM
    I haven’t worked with that but if one follows how the file field works, the implementation shouldn’t be difficult
  • c

    chilly-xylophone-87449

    05/21/2022, 5:27 PM
    no major rush, would be great though
  • s

    sparse-barista-2502

    05/24/2022, 6:29 AM
    Hello, is there any better way to add button that redirects to custom view (CSV import) than creating custom action? This button should be visible in the index page. Drawback of that is displaying flash message after redirecting
  • l

    lemon-wall-20836

    05/24/2022, 8:23 AM
    You can change that message with
    succeed  "YOUR_MESSAGE"
  • l

    lemon-wall-20836

    05/24/2022, 8:27 AM
    ok. got it. You'd like to not have that message appear
  • l

    lemon-wall-20836

    05/24/2022, 8:36 AM
    https://github.com/avo-hq/avo/issues/919
  • l

    lemon-wall-20836

    05/24/2022, 8:37 AM
    Until we add this, you can add a helpful message about that page @sparse-barista-2502 Something like
    inform "Upload the file to do X or Y"
    or
    inform "The supported file types are JPEG/PNG"
  • n

    narrow-laptop-54609

    05/24/2022, 5:08 PM
    Hello everyone! I need help customizing Trix, mainly adding extra buttons, etc. Any guides out there that work with Avo?
  • l

    lemon-wall-20836

    05/24/2022, 5:08 PM
    hey there
  • l

    lemon-wall-20836

    05/24/2022, 5:09 PM
    I want to make sure I understand the question. you need help customizing trix, or you already customized it and want to add the customized version to Avo?
  • n

    narrow-laptop-54609

    05/24/2022, 5:09 PM
    I need help customizing trix
  • l

    lemon-wall-20836

    05/24/2022, 5:09 PM
    got it
  • l

    lemon-wall-20836

    05/24/2022, 5:10 PM
    we aren't that savvy with trix
  • l

    lemon-wall-20836

    05/24/2022, 5:10 PM
    not sure if there is a forum or something just for trix
  • l

    lemon-wall-20836

    05/24/2022, 5:11 PM
    maybe post something on the issues page? https://github.com/basecamp/trix
  • n

    narrow-laptop-54609

    05/24/2022, 5:15 PM
    Yeah I looked into their documentation, not a lot, but I found a couple of posts in stackoverflow that may help. I believe it's done via JS, should I put all the custom code in javascript/packs/avo_application.js? @lemon-wall-20836
  • l

    lemon-wall-20836

    05/24/2022, 5:30 PM
    yes
  • l

    lemon-wall-20836

    05/24/2022, 5:30 PM
    use a custom asset pipeline for that
  • l

    lemon-wall-20836

    05/24/2022, 5:31 PM
    https://docs.avohq.io/2.0/custom-asset-pipeline.html#webpacker
  • l

    lemon-wall-20836

    05/24/2022, 5:31 PM
    TBH I think a custom field is needed too
1...373839...64Latest