RN - Mention badge appears above bot display name in side-bar

Description

When a bot has a long display name, the mention badges from the bot appear above the bots display name.

This does not occur in webapp. For webapp, the side-bar does not show the bots display name. It shows the username instead.

This is a regression from 1.22

 

Steps:

  • Have a user receive a DM from the bot (easily done by creasing a bot)

  • As the test user, login from RN and open the sidebar
    Observed: The badge is on top of the end of the display name.
    Expected: Not sure. Either show the bot's username to be consistent with web app or truncate the display name earlier.

 

QA Test Steps

None

Status

Mana

None

Assignee

Michael Kochell

QA Assignee

None

Reporter

Dylan Haussermann

Epic Link

None

Fix versions

Mattermost Team

Sustained Engineering

Sprint

None

Labels

None

QA Testing Areas

None

GitHub Issue

None
Configure