Modify Announcements Content

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

and then I restarted Mastodon but nothing changes.

Does anyone know what I am missing ?


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.