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)
Sun, Nov 3, 2:34 AM
Unknown Object (File)
Tue, Oct 29, 10:32 AM
Unknown Object (File)
Sat, Oct 26, 12:59 PM
Unknown Object (File)
Tue, Oct 22, 10:44 AM
Unknown Object (File)
Tue, Oct 22, 10:19 AM
Unknown Object (File)
Tue, Oct 22, 5:34 AM
Unknown Object (File)
Tue, Oct 22, 5:33 AM
Unknown Object (File)
Mon, Oct 14, 2:28 PM
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
Branch
inka/fix_marcin
Lint
No Lint Coverage
Unit
No Test Coverage

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