Page MenuHomePhabricator

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

Authored by atul on Dec 5 2023, 7:44 AM.
Tags
None
Referenced Files
F3159390: D10195.id34597.diff
Tue, Nov 5, 10:40 PM
F3159370: D10195.id34282.diff
Tue, Nov 5, 10:31 PM
F3159243: D10195.id34676.diff
Tue, Nov 5, 10:26 PM
F3157457: D10195.diff
Tue, Nov 5, 8:30 PM
Unknown Object (File)
Mon, Oct 28, 12:50 AM
Unknown Object (File)
Tue, Oct 15, 11:52 PM
Unknown Object (File)
Tue, Oct 15, 11:52 PM
Unknown Object (File)
Tue, Oct 15, 11:51 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
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

lib/shared/thread-utils.js
893

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