Page MenuHomePhabricator

[native][web] Drill parentThreadInfo to InputState.sendTextMessageAction
ClosedPublic

Authored by ashoat on Feb 20 2023, 5:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 29, 4:56 PM
Unknown Object (File)
Tue, Oct 29, 4:56 PM
Unknown Object (File)
Tue, Oct 29, 4:56 PM
Unknown Object (File)
Tue, Oct 29, 4:52 PM
Unknown Object (File)
Fri, Oct 18, 3:29 AM
Unknown Object (File)
Fri, Oct 18, 3:29 AM
Unknown Object (File)
Fri, Oct 18, 3:28 AM
Unknown Object (File)
Sep 30 2024, 5:55 AM
Subscribers

Details

Summary

In a later diff I'll need parentThreadInfo to determine whether a text mention in a sidebar should add the mentioned user to the sidebar. (Only members of the parent thread qualify.)

Test Plan

I tested this stack with the following steps on both web and native:

  1. Make sure users get auto-added to a sidebar when @-mentioned
  2. Test mentions typeahead and make sure it includes all members of parent
  3. If a user is @-mentioned in a text message that triggers the creation of a sidebar, then make sure they are included in the sidebar creation message
  4. If a user is @-mentioned in a text message that triggers the creation of a sidebar, then make sure their name is bolded from the very start of when the message is visible on-screen

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable