nice-ambulance-76519
09/05/2023, 3:21 PMconsole.log("Debug")
import EmailResourceController from 'controllers/email_controller'
// Hook into the stimulus instance provided by Avo
const application = window.Stimulus
application.register('email-resource', EmailResourceController)
// eslint-disable-next-line no-console
console.log('Hi from Avo cusssstom JS 👋')
But it doesn't matter what I do, when I connect to avo, it will print just
''Hi from Avo custom JS 👋'"
When I click on the network window, it shows me an avo.custom.js file that's located on http://localhost:3000/spec/dummy/app/javascript/avo.custom.js
This file is not comming from my code. Does anyone know how can I make my own avo.custom.js be loaded instead of this one?
https://cdn.discordapp.com/attachments/1141725618694795364/1148639137084223488/image.png▾
miniature-optician-85831
01/26/2024, 9:20 PMswift-businessperson-84139
01/31/2024, 11:00 PMhas_many :bank_accounts
tab on two different resources Community, Person, and I need to update the + create new bank accounts
button to trigger a stimulus JS method passing the parent resource Community or Person and the record id. I added the stimulus controller to the bank_account resource, but I don't know how to add data: { action: 'click->plaid#open' }
to the create button. Can someone guide me on how to do so?
The controller looks like this:
js
open(event) {
event.preventDefault();
getParentResourceIdAndClassFromHref();
someLogic();
}
miniature-optician-85831
02/05/2024, 2:38 PMminiature-optician-85831
02/05/2024, 3:20 PMswift-businessperson-84139
02/27/2024, 4:24 AMswift-businessperson-84139
03/04/2024, 3:56 AMvictorious-dusk-47068
03/11/2024, 5:02 PMminiature-optician-85831
03/18/2024, 9:10 AMminiature-optician-85831
04/08/2024, 3:33 PMmodern-ambulance-83380
04/12/2024, 7:52 AMmain_panel
together with a sidebar
. imho the forms have way too much whitespace. shown here:
https://cdn.discordapp.com/attachments/1141725618694795364/1228251386416726026/image.png?ex=662b5d3e&is=6618e83e&hm=12e061cf26392ea7dea35811f04e4c4bd8be6798b43707ed0e3f4015d32b7fb8&swift-businessperson-84139
04/30/2024, 1:15 AMstraight-pager-31449
05/02/2024, 5:52 PMswift-businessperson-84139
05/10/2024, 4:24 AMswift-businessperson-84139
05/15/2024, 7:09 PMstraight-pager-31449
06/08/2024, 3:19 AMstrong-restaurant-36788
07/23/2024, 6:10 PMstraight-pager-31449
08/07/2024, 7:13 PMboundless-printer-62821
09/02/2024, 1:56 PMAvo::Menu::Link
component is missing a rel
prop, eg so you can do config.main_menu = -> {
link_to "Back to app", path: "/", target: :_blank, rel: :noopener
straight-mechanic-78430
09/26/2024, 4:03 PMlemon-wall-20836
01/16/2025, 12:41 PMnarrow-electrician-89982
01/27/2025, 11:42 AMpurple-park-97233
04/01/2025, 12:00 PMstraight-pager-31449
04/24/2025, 12:43 PM