A customer of ours has filed a bug where our custom power-up button stops working if they leave a card open for an extended period of time. Clicking on the Power-up button after approximately 10 minutes yields the following console log:
export function cardButtons() { return [ { icon: logoGrayUrl, text: 'Manage Time', callback: function (t) { return t.popup({ title: 'Manage Time', items: [ { text: 'Track time', callback: startTimer, }, { text: 'Attach time report', callback: attachHoursBreakdown, }, ], }) }, }, ] }
window.TrelloPowerUp.initialize({ 'board-buttons': boardButtons, 'attachment-sections': attachmentSections, 'card-buttons': cardButtons, 'format-url': formatUrl, })
I'm guessing the context is going stale. Is there a solution for this that I can't seem to find?
Hi, @Ecosystem !
That's an unfortunately known issue. I investigated a report a week or two ago and found the very same behaviour. You can find the bug report here: https://jira.atlassian.com/browse/TRELLO-786
I'll internally add your post to that report to mark it as a +1, hopefully it gets addressed soon.
Thanks for taking the time to investigate as well!
Thank you! We'll keep our eyes open for a resolution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.