HomePhabricator
Diffusion Comm c22513111262

[native] Added displaying labels to InlineEngagement

Tags
None
Referenced Files
F426796: Screenshot 2023-03-14 at 09.35.26.png
Mar 30 2023, 7:43 AM
File Not Attached
F426795: Screenshot 2023-03-14 at 09.50.23.png
Mar 30 2023, 7:43 AM
File Not Attached
F426794: Screenshot 2023-03-14 at 09.35.55.png
Mar 30 2023, 7:43 AM
File Not Attached
F426792: Screenshot 2023-03-14 at 09.33.12.png
Mar 30 2023, 7:43 AM
File Not Attached
Subscribers
None

Description

[native] Added displaying labels to InlineEngagement

Summary: Added possibility to label the messages to display ‘Edited' label in next diffs.

Test Plan:

  • Run the app.
  • Added the label to every message.
  • Checked if the labels are displayed correctly both with text messages and with images.
  • Checked if Reactions/Threads are also correctly positioned next to the label.
  • Checked if labels in a few messages in a row do not take too much space.
  • Checked displaying on both the left and right side of the chat.
  • Checked displaying on both iOS and Android.
  • Checked displaying on both dark and light mode.

Screenshots (iOS / Android):

  • Light mode:

Screenshot 2023-03-14 at 09.33.12.png (948×1 px, 523 KB)

  • Dark mode:

Screenshot 2023-03-14 at 09.35.55.png (680×1 px, 302 KB)

  • Few messages in a row:

Screenshot 2023-03-14 at 09.50.23.png (664×1 px, 261 KB)

  • Image:

Screenshot 2023-03-14 at 09.35.26.png (856×1 px, 402 KB)

Reviewers: michal, inka, ginsu, ashoat

Reviewed By: ashoat

Subscribers: ashoat, tomek, atul

Differential Revision: https://phab.comm.dev/D7065