Page MenuHomePhabricator

[lib] Update `threadInfoFromRawThreadInfo` to return `MinimallyEncodedThreadInfo`
ClosedPublic

Authored by atul on Dec 5 2023, 7:44 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 17, 9:06 AM
Unknown Object (File)
Sun, Dec 15, 8:16 AM
Unknown Object (File)
Sat, Nov 30, 12:18 AM
Unknown Object (File)
Tue, Nov 26, 4:53 PM
Unknown Object (File)
Nov 23 2024, 3:30 AM
Unknown Object (File)
Nov 5 2024, 10:40 PM
Unknown Object (File)
Nov 5 2024, 10:31 PM
Unknown Object (File)
Nov 5 2024, 10:26 PM
Subscribers
None

Details

Summary

Update threadInfoFromRawThreadInfo to always return MinimallyEncodedThreadInfo and update eg baseCreatePendingSidebar to accomodate that. Now all newly created pending threads on the client will be MinimallyEncoded.. so "new threads" going into Redux will be MinimallyEncoded and we won't be creating legacyThreadInfos on the client.

Test Plan

CI/flow/etc.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

lib/shared/thread-utils.js
893 ↗(On Diff #34282)

This will be updated as well to be more flexible.

Harbormaster returned this revision to the author for changes because remote builds failed.Dec 5 2023, 7:46 AM
Harbormaster failed remote builds in B24807: Diff 34282!
atul requested review of this revision.Dec 5 2023, 8:22 AM
This revision is now accepted and ready to land.Dec 5 2023, 8:26 AM
atul retitled this revision from [lib] Update `threadInfoFromRawThreadInfo` to return `MinimallyEncodedThreadInfo` to [DO NOT LAND][lib] Update `threadInfoFromRawThreadInfo` to return `MinimallyEncodedThreadInfo`.Dec 11 2023, 9:50 AM

Marking this as [DO NOT LAND] because this would break existing clients at this point.

atul retitled this revision from [DO NOT LAND][lib] Update `threadInfoFromRawThreadInfo` to return `MinimallyEncodedThreadInfo` to [lib] Update `threadInfoFromRawThreadInfo` to return `MinimallyEncodedThreadInfo`.Dec 14 2023, 1:00 PM