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
F3517449: D13275.id44035.diff
Sun, Dec 22, 5:31 PM
F3517255: D13275.id44154.diff
Sun, Dec 22, 4:47 PM
F3516072: D13275.diff
Sun, Dec 22, 12:05 PM
Unknown Object (File)
Mon, Dec 16, 5:10 AM
Unknown Object (File)
Wed, Dec 11, 9:29 PM
Unknown Object (File)
Nov 22 2024, 4:08 PM
Unknown Object (File)
Nov 22 2024, 4:07 PM
Unknown Object (File)
Nov 14 2024, 1:02 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
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