-
Notifications
You must be signed in to change notification settings - Fork 2.7k
MM-15586 Bot tag missing for bots in channel switcher #2815
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @scottleedavis - sorry that it took me this long to review it - but looks like I'm not seeing the bot
tag next to the bot in the channel switcher
@jasonblais I was able to replicate, but only for user created bots. The BOT badge shows up for plugin created bots. (replicated on spinmint as well as local) I will look further why the badge is not showing up for user created bots. |
@scottleedavis Good find. In fact, it seems as soon as the DM channel with the bot is created in the system, the |
@jasonblais I pushed a changed that I believe solves the non-dm channel with a bot. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎉
* removed width 0 display name * handle non DM bots in channel search
Summary
Removes a width 0 style on the bot name in the channel switch suggestion list which puts the BOT badge at the end.
Ticket Link
Fixes mattermost/mattermost#10865