mattermost / mattermost-plugin-msteams

MS Teams plugin for Mattermost
Other
13 stars 11 forks source link

MM-58483: handle empty notification messages better #690

Closed lieut-data closed 5 months ago

lieut-data commented 5 months ago

Summary

Avoid this: image

By doing this instead: CleanShot 2024-06-05 at 16 26 19@2x

We're planning on supporting attachments in notifications, so I didn't spend a ton of time explaining this now, but instead added unit test coverage for the formatting expectations.

Ticket Link

Fixes: https://mattermost.atlassian.net/browse/MM-58483