HomePhabricator
Diffusion Comm 171dcad4dbd1

[native] Display the spoiler content on tap

Tags
None
Referenced Files
F202315: demo.mp4
Nov 30 2022, 2:48 PM
File Not Attached
Subscribers
None

Description

[native] Display the spoiler content on tap

Summary:
We render a new Spoiler component for text content parsed to be spoilers. Upon tap, this Spoiler component reveals the text beneath
(https://linear.app/comm/issue/ENG-2011/display-the-spoiler-content-on-tap-within-messagelist-[native]). This diff will not be landed until ENG-2072 is addressed, to resolve the spoiler state not being remembered upon message tap.

Depends on D5373

Test Plan:
Spoiler messages are revealed when tapping the spoiler content.

Reviewers: atul, ginsu, abosh

Reviewed By: atul, ginsu

Subscribers: ashoat, tomek

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

Details

Provenance
rohanAuthored on Oct 17 2022, 12:20 PM
Reviewer
atul
Differential Revision
D5383: [native] Display the spoiler content on tap
Parents
rCOMM4a38e57103a1: [native] Add spoiler style to native markdown styles
Branches
Unknown
Tags
Unknown