Page MenuHomePhabricator

[lib][web] Introduce useCreateChatThreadItem
ClosedPublic

Authored by ashoat on Oct 30 2024, 11:41 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 2, 7:22 PM
Unknown Object (File)
Thu, Nov 28, 5:37 AM
Unknown Object (File)
Tue, Nov 26, 5:04 AM
Unknown Object (File)
Sat, Nov 23, 7:13 PM
Unknown Object (File)
Sat, Nov 23, 6:04 PM
Unknown Object (File)
Sat, Nov 23, 2:15 PM
Unknown Object (File)
Sat, Nov 23, 3:04 AM
Unknown Object (File)
Nov 21 2024, 1:09 PM
Subscribers
None

Details

Summary

Factoring this out into a hook because in a later diff, I update it to depend on another hook.

Depends on D13822

Test Plan

Flow, and tested in combination with the rest of the stack:

  1. Make sure membership operations (user joining / leaving) don't appear in MessagePreview
  2. Make sure reactions to the viewer's messages still appear in MessagePreview
  3. Make sure reactions to other user's messages don't appear in MessagePreview
  4. Test fresh login to thread with only one message in the last 14 days, which is a reaction to a non-viewer message. Make sure the reaction initially appears in MessagePreview, but then is replaced after more messages are fetched by the client

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage