Page MenuHomePhabricator

[lib] Add useNewThickThread
ClosedPublic

Authored by inka on Sep 5 2024, 1:16 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 14, 1:01 PM
Unknown Object (File)
Thu, Nov 14, 1:00 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 21, 3:43 PM
Unknown Object (File)
Oct 18 2024, 7:14 PM
Subscribers

Details

Summary

issue: ENG-8442

Test Plan

Tested with the next diff, tested that it is possible to create a thick thread

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

inka requested review of this revision.Sep 5 2024, 1:33 AM
tomek added inline comments.
lib/hooks/thread-search-hooks.js
121–124 ↗(On Diff #43889)

One thing to note is that these IDs should remain unchanged when we retry thread creation.

125 ↗(On Diff #43889)
This revision is now accepted and ready to land.Sep 5 2024, 2:56 AM
lib/hooks/thread-search-hooks.js
121–124 ↗(On Diff #43889)

Will update this in the task handling retries ENG-9166, long with possibly other changes required for retires
It is easier for me to implement this step by step.

Is there a better place to put this hook than thread-search-hooks?

lib/types/thread-types.js
324–334 ↗(On Diff #43889)

When spreading, you lose the read-only properties. These need to be wrapped in $ReadOnly, and it would be good to apply the same to the other types in this file

Address review

lib/types/thread-types.js
324–334 ↗(On Diff #43889)

Added D13306 to address other types

This revision was automatically updated to reflect the committed changes.