Page MenuHomePhabricator

[native] Render second TextMessage with all Texts pressable when markdownHasPressable
ClosedPublic

Authored by ashoat on Nov 29 2022, 8:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 2, 8:24 PM
Unknown Object (File)
Mon, Apr 22, 10:51 PM
Unknown Object (File)
Mon, Apr 22, 10:51 PM
Unknown Object (File)
Mon, Apr 22, 10:44 PM
Unknown Object (File)
Mar 13 2024, 3:45 AM
Unknown Object (File)
Mar 5 2024, 1:22 AM
Unknown Object (File)
Mar 5 2024, 1:22 AM
Unknown Object (File)
Mar 5 2024, 1:21 AM
Subscribers

Details

Summary

This is a potential solution to the issues we have with Markdown pressables.

Test Plan

I tested this on iOS and Android while pressing all over a message, before and after opening the modal. See attached video

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

The comment for secondMessage makes sense, locally I didn't see any issues with the secondMessage being rendered with both existing and new messages being sent.

This revision is now accepted and ready to land.Nov 30 2022, 9:40 AM

Follow up question, is this message press experience the one we want to keep going forward?

Before when pressing on a message outside the text:

Screenshot 2022-11-30 at 1.55.30 PM.png (1×803 px, 335 KB)

Now:

Screenshot 2022-11-30 at 1.56.09 PM.png (1×798 px, 342 KB)

Follow up question, is this message press experience the one we want to keep going forward?

Before when pressing on a message outside the text:

That's the downside of this approach, and that's why we're only doing it for pressables. It's definitely worse