I have a power-up that adds badges to a new card when added to the board. I notice that if I refresh the board, ‘card-badges’ is called, if I move the card from one list to another ‘card-badges’ is called, but NOW when I add a new card to the board, ‘card-badges’ IS NOT called.
This was working earlier this week, but as of now it is busted. I created a simple shell Power-Up that has only card-badges and put a console statement in it and verified that this is a problem in Trello not calling the capability, not an issue in my code.
Trello Team: I have customers complaining to me!!! Please help!
Here is my code in my hello-world sample, as you can see it is SUPER simple:
window.TrelloPowerUp.initialize({
'card-badges': (t) =>{
console.log("HERE");
return {
text: "hello",
icon: `data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAF2SURBVDhPtZMxT8JQEMfb0pI2xMbA0JWyNXQEJLHO7VrmfgAHTfgMLMTo0FknDU0TNze+gCbOSmSBwU2hgxMlAevd8wV95GG6+Euu73/v/e/aXlPhX8myrIBBUy4iXRmCIDicTqeeqqoHmKdp+lir1YaDweCeGHZx1u/vHTnOpWEYqSiKGWyRQI17juNc9cFDzNvEUay2ms1bkJtCXjTBE0WRCprFc70TTdO4Rb8DPa7rnoL+odfr6bZtP4HkFm0HeJ+xBrQg4WU+n7eSJLFR5wH8dfC3UJMGy+WyDJNGmQvwC4vFooyaNFAUZVUo/Pm5GdBbLBZXqEkD2Bjpuv6BOg/olSRpRNNv2u32NSzcoW0HeG9gJZAnQOx6/cKsVmc03YlZNWfgPacpi+/7rmma7yC5d8azDnhAb2AmNx6PJ77fGWqaqsmyvF8qleB19c9KpfJqWdZdo9E4juP4gdoJ3J8J6Xa7BgzXQr1er1/CMHwjBwyC8AW6vpgYpmCzMQAAAABJRU5ErkJggg==`, // for card front badges only
color: null,
}
}
});
I am still seeing the problem. I would like to know someone is aware of this.
Community: Is ANYONE else having this problem with badges updating?
The moment a card is created the ‘card-badges’ capability callback should be executed and it is not anymore. It seemed to stop working sometime late last week.
I am still seeing the problem. I create a NEW card and the ‘card-badges’ event is NOT firing. I have tested a skeleton Power-Up in Store App, FF, Chrome, Edge, Safari on Windows. Same issue. The ‘card-badges’ event/capability is NOT receiving the callback on NEW cards.
This recently broke. Anyone else in the community having this problem?
Here is a video using a skeleton add-in. All it does it sit on ‘card-badges’ and puts an image on the badge. If I create a card - no badge. If I move the card, I get a badge.
Hey @DEC, so sorry for the delay here! It looks like there’s definitely a bug here, so we’ll start looking into it immediately. Bear with us for a minute while we figure out what’s going on.
Hey @DEC, we’ve tracked it down and deployed a fix. Could you give it a spin to see if things are working now on your end? You may have to refresh your page to ensure you’re on the latest version of Trello.