Hey everyone,
Does everyone knows what file i should modify to add a button in the annoucement_item_content div
Thanks by advance
Hey everyone,
Does everyone knows what file i should modify to add a button in the annoucement_item_content div
Thanks by advance
I modified the “render()” in
/app/javascript/mastodon/features/getting_started/components/announcements.js
and then I restarted Mastodon but nothing changes.
Does anyone know what I am missing ?
Thanks
Ok , I found where the problem was.
I was actually modifying the right file and right React Component . However, I had problems with bundle and gems, and i couldn’t compile it properly.
Now that i fixed this gem problem, custom js and announcement works as intended.
You can send me messages, if you have the same problem and need further explanations.
Bye