Page MenuHomePhabricator

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

Authored by inka on Sep 10 2024, 8:44 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 14, 1:02 PM
Unknown Object (File)
Thu, Nov 14, 1:01 PM
Unknown Object (File)
Thu, Nov 14, 1:00 PM
Unknown Object (File)
Tue, Nov 12, 2:36 PM
Unknown Object (File)
Tue, Nov 12, 2:33 PM
Unknown Object (File)
Sat, Nov 9, 2:54 PM
Unknown Object (File)
Sat, Nov 9, 8:09 AM
Unknown Object (File)
Sun, Nov 3, 2:34 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.Sep 11 2024, 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.Sep 12 2024, 2:51 AM
inka planned changes to this revision.Sep 12 2024, 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.Sep 13 2024, 5:55 AM