Page MenuHomePhabricator

Update search header in chat creation on native not to show GENESIS for thick threads
ClosedPublic

Authored by inka on Tue, Sep 10, 8:44 AM.
Tags
None
Referenced Files
F2739321: D13275.id44185.diff
Tue, Sep 17, 9:29 PM
Unknown Object (File)
Tue, Sep 17, 3:33 PM
Unknown Object (File)
Tue, Sep 17, 12:04 PM
Unknown Object (File)
Tue, Sep 17, 7:18 AM
Unknown Object (File)
Mon, Sep 16, 5:23 PM
Unknown Object (File)
Mon, Sep 16, 4:54 PM
Unknown Object (File)
Mon, Sep 16, 3:45 PM
Unknown Object (File)
Mon, Sep 16, 10:38 AM
Subscribers

Details

Summary

This differential updates search header in chat creation on native not to show GENESIS for thick threads.

Test Plan
  1. Set usingOlmViaTunnelbrokerForDMs to true.
  2. Start creating a new thread -> "within GENESIS" is NOT displayed
  3. Enter a list of users whit whom we have a thin chat -> "within GENESIS" IS displayed
  4. Enter a list of users whit whom we have a thick chat -> "within GENESIS" is NOT displayed

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Thank you! Would be great if you could attach a screenshot

native/chat/message-list-container.react.js
176 ↗(On Diff #44010)

Can you set this to true? And I will make sure this cannot be called for now during ENG-9132

This revision is now accepted and ready to land.Wed, Sep 11, 2:12 AM
In D13275#374497, @inka wrote:

Thank you! Would be great if you could attach a screenshot

Zrzut ekranu 2024-09-11 o 13.21.52.png (1×750 px, 170 KB)

Set flag to true in pendingThreadID

inka edited reviewers, added: marcin; removed: inka.
This revision now requires review to proceed.Thu, Sep 12, 2:51 AM
inka planned changes to this revision.Thu, Sep 12, 7:19 AM

@marcin changed a different place than I had in mind, but this made me realise that we call threadTypeIsThick check on a result of pendingThreadType. So the outcome is determined by the flag we use in this pendingThreadType. We should create a proper childThreadType depending on whether we want thick or thin and then use it in ParentThreadHeader

Rebase, fix determining whether thread is thick

This revision is now accepted and ready to land.Fri, Sep 13, 5:55 AM