RN - Bot posts timestamps wrap in search results and pinned post

Description

For RN bot posts, the timestamp is wrapping for post when viewed from search results and pinned posts.

This is not really a regression. I previous versions the entire “BOT“ tag and timestamp is pushed off the edge so, this is an improvement over 1.22.

  • Reproduced on bothe Android 9 and iOS 13.1

  • Android Galaxy S8 screen resolution 2960x1440

 

Steps:

  • Make a post as a bot

  • Pin the post

  • View pinned posts in the channel
    Observed AM / PM is wrapping after the bot tag

  • Search for the post created above
    Observed AM / PM is wrapping after the bot tag

 

QA Test Steps

As per the steps in the description.

To trigger the change the name of the poster needs to be long, have the 'bot' tag and able to be replied to.

When rendered with the above, the time AM/PM will show correctly as the displayName is reduced from 60% to 50% width.

Reporter

None

Mana

2

Assignee

Claude Wild

QA Assignee

Dylan Haussermann

Reporter

Dylan Haussermann

Epic Link

None

Fix versions

Mattermost Team

Apps

Sprint

None

Labels

None

QA Testing Areas

Messages

GitHub Issue

None

Components

None

Severity

None
Configure