Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Trello power up alert option:display does not have any effect.

Hi guys,

Anyone had this issue before?

When I tried to do 

t.alert({
message: 'test message',
display: 'error',
duration: 10
});

The alert just showed up as white-background banner.

I was expecting the alert to have some sort of accent colour. Am I reading the docs wrong?

 

Thank you,

Charles

1 answer

1 accepted

0 votes
Answer accepted
Raymond Wang Atlassian Team Apr 23, 2021

Hey Charles,

Thanks for flagging this! We recently switched over to using a new component for our alerts across Trello, and this is expected, but our docs are outdated. From now on, when you fire `t.alert`, your message will always show up as a flag in the bottom left of your screen with your Power-Up icon against a white background color.

This change was made in part for accessibility reasons, since we think this component will pop up against custom Trello backgrounds a bit better for more people. We are doing some internal tinkering to see if we can bring background colors back in the future, so in the meantime, feel free to continue passing in that `display` arg.

Best,

Raymond

Thanks Raymond, that explains it.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Trello

Taco Tuesday: New years' resolutions with Trello

Congratulations to @Laura Holton , our latest winner of Taco Tuesday! And thanks to @Kristjan Geir Mathiesen - Origo for sharing the picture of Taco having fun with his new friend...

466 views 19 19
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you