HomePhabricator
Diffusion Comm 8c2d50500131

[web] [lib] Introduce `getMessagePreview` function

Description

[web] [lib] Introduce getMessagePreview function

Summary:
Moved logic for displaying message preview data into common function, to reuse it in modal with subchannels list.
No logic changes has been made.

Test Plan: In web app, message previews in chat list should display exactly as before.

Reviewers: palys-swm, benschac, atul

Reviewed By: palys-swm

Subscribers: ashoat, Adrian, atul, karol-bisztyga, benschac, yayabosh

Differential Revision: https://phabricator.ashoat.com/D3597

Details

Provenance
jacekAuthored on Apr 8 2022, 7:03 AM
Reviewer
tomek
Differential Revision
D3597: [web] [lib] Introduce `getMessagePreview` function
Parents
rCOMM7493f1a8982a: [web] [fix] [ENG-965] calendar hover history + add show on hover
Branches
Unknown
Tags
Unknown