Page MenuHomePhabricator

[native] Refactor Spoiler component to MarkdownSpoiler
AbandonedPublicDraft

Authored by rohan on Oct 25 2022, 5:28 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 11, 11:50 PM
Unknown Object (File)
Mon, Nov 11, 7:03 AM
Unknown Object (File)
Sun, Nov 10, 12:39 PM
Unknown Object (File)
Sat, Nov 9, 11:41 AM
Unknown Object (File)
Thu, Oct 31, 4:51 PM
Unknown Object (File)
Sun, Oct 27, 2:58 PM
Unknown Object (File)
Sun, Oct 27, 2:57 PM
Unknown Object (File)
Sun, Oct 27, 2:49 PM

Details

Reviewers
atul
ginsu
Summary

For consistency with the existing MarkdownLink component in
native, refactoring Spoiler to MarkdownSpoiler and putting it in the same
directory native/markdown/... makes the most sense. This is Step 2 in
ENG-2072
(https://linear.app/comm/issue/ENG-2072/maintain-the-spoiler-state-upon-opening-textmessagetooltipmodal).

Test Plan

Spoiler text still works as expected, and they are revealed on
click.

Diff Detail

Repository
rCOMM Comm
Branch
spoiler
Lint
No Lint Coverage
Unit
No Test Coverage