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)
Sat, Nov 30, 12:18 AM
Unknown Object (File)
Tue, Nov 26, 4:53 PM
Unknown Object (File)
Sat, Nov 23, 3:30 AM
Unknown Object (File)
Tue, Nov 5, 10:40 PM
Unknown Object (File)
Tue, Nov 5, 10:31 PM
Unknown Object (File)
Tue, Nov 5, 10:26 PM
Unknown Object (File)
Tue, Nov 5, 8:30 PM
Unknown Object (File)
Oct 28 2024, 12:50 AM
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