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

    lemon-wall-20836

    10/29/2021, 3:00 PM
    so it's
    cp spec/dummy/.env.sample spec/dummy/.env
  • h

    helpful-microphone-19711

    10/29/2021, 4:56 PM
    @User So I'm able to use my local repository in place of Avo, but it's unstyled. Is there a specific build step for assets?
  • l

    lemon-wall-20836

    10/29/2021, 4:56 PM
    hmm
  • l

    lemon-wall-20836

    10/29/2021, 4:57 PM
    try
    bin/webpack
    in the avo directory
  • l

    lemon-wall-20836

    10/29/2021, 4:57 PM
    or
  • l

    lemon-wall-20836

    10/29/2021, 4:58 PM
    do you have a webpacker server ruinning?
  • l

    lemon-wall-20836

    10/29/2021, 4:58 PM
    like for your app?
  • l

    lemon-wall-20836

    10/29/2021, 4:58 PM
    if you do it won't work
  • l

    lemon-wall-20836

    10/29/2021, 4:58 PM
    it's a webpacker limitation
  • h

    helpful-microphone-19711

    10/29/2021, 4:58 PM
    Totally worked!
  • l

    lemon-wall-20836

    10/29/2021, 4:58 PM
    which one?
  • l

    lemon-wall-20836

    10/29/2021, 4:58 PM
    :))
  • h

    helpful-microphone-19711

    10/29/2021, 4:58 PM
    Just running
    bin/webpack
  • l

    lemon-wall-20836

    10/29/2021, 4:58 PM
    perf!
  • h

    helpful-microphone-19711

    10/29/2021, 5:00 PM
    I'm trying to add the
    edit
    button to the show view of a resource for
    has_one
    fields. Is this something you'd be willing to merge?
  • l

    lemon-wall-20836

    10/29/2021, 5:02 PM
    brb 5 mins
  • l

    lemon-wall-20836

    10/29/2021, 5:02 PM
    on a call
  • h

    helpful-microphone-19711

    10/29/2021, 5:05 PM
    Of course - no problem!
  • l

    lemon-wall-20836

    10/29/2021, 5:08 PM
    that would be a link to the edit page of that record?
  • l

    lemon-wall-20836

    10/29/2021, 5:08 PM
    yes. a very good idea
  • l

    lemon-wall-20836

    10/29/2021, 5:09 PM
    probably a policy method too? to add the ability to control if that button is visible or not?
  • h

    helpful-microphone-19711

    10/29/2021, 5:14 PM
    Yep, exactly! Do you think an addtional policy method is necessary? We can just check the target resource for edit permissions. I personally can't see a use case where I'd want to specifically disallow editing in that context.
  • l

    lemon-wall-20836

    10/29/2021, 5:15 PM
    oh yeah. you're right. let's use that then
  • q

    quick-rocket-67871

    11/17/2021, 4:03 PM
    Hello there, I'm starting with Avo, I tried to install the gem and generate a ressource but the Ressource menu stays empty, I can't see the added resources link. Do we need to add links manually ?
  • l

    lemon-wall-20836

    11/17/2021, 4:06 PM
    hey there
  • l

    lemon-wall-20836

    11/17/2021, 4:06 PM
    no you don't have to add them manually
  • l

    lemon-wall-20836

    11/17/2021, 4:06 PM
    they should just show up
  • l

    lemon-wall-20836

    11/17/2021, 4:07 PM
    so you have access to
    /avo
    ?
  • l

    lemon-wall-20836

    11/17/2021, 4:07 PM
    and the sidebar is empty?
  • l

    lemon-wall-20836

    11/17/2021, 4:07 PM
    can you try restarting the server to see if they show up?
1...181920...64Latest