HomePhabricator
Diffusion Comm 9c46d3471f37

[web] Use new style prop passed from getMessagePreview

Description

[web] Use new style prop passed from getMessagePreview

Summary:
This diff results in only one visual difference: when the most recent message in a read thread is a robotext message, it is displayed with the darker "secondary" color. This brings web behavior to match native, but I'm also open to the alternative (making native behave like web).

Will annotate CSS changes inline, as they're somewhat complicated.

Depends on D6357

Test Plan:

beforeafter
Screenshot 2023-01-23 at 5.25.45 PM.png (1×814 px, 136 KB)
Screenshot 2023-01-23 at 5.24.25 PM.png (1×812 px, 135 KB)

(identical except "ashoat added commbot" near the bottom)

Reviewers: inka, ginsu, atul, tomek

Reviewed By: inka

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

Details

Provenance
ashoatAuthored on Jan 23 2023, 2:27 PM
Reviewer
inka
Differential Revision
D6358: [web] Use new style prop passed from getMessagePreview
Parents
rCOMMcc0f712c74ba: [lib] Return style of text from getMessagePreview
Branches
Unknown
Tags
Unknown