Page MenuHomePhabricator

[lib] Introduce `MinimallyEncodedResolvedThreadInfo` and start refactoring
ClosedPublic

Authored by atul on Nov 15 2023, 10:06 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jun 25, 1:32 AM
Unknown Object (File)
Mon, Jun 24, 7:25 AM
Unknown Object (File)
Mon, Jun 24, 7:25 AM
Unknown Object (File)
Mon, Jun 24, 7:25 AM
Unknown Object (File)
Mon, Jun 24, 7:24 AM
Unknown Object (File)
Mon, Jun 24, 7:10 AM
Unknown Object (File)
Sat, Jun 22, 9:45 PM
Unknown Object (File)
Fri, Jun 21, 10:19 PM
Subscribers
None

Details

Summary

We introduce MinimallyEncodedResolvedThreadInfo and start refactoring to accomodate the type everywhere that ResolvedThreadInfo is.

This diff handles a lot of the "simple stuff." The trickier stuff, specifically w/ useResolvedThread* hooks will be resolved in subsequent diffs.


Depends on D9895

Test Plan

Trusting flow here.

Diff Detail

Repository
rCOMM Comm
Branch
arcpatch-D9896 (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

atul published this revision for review.Nov 15 2023, 10:07 AM

I think there's a mistake here – see my inline comment. Please make sure to remove that change before landing (or if there's some good reason for it, can you re-request review)?

native/avatars/edit-thread-avatar.react.js
33 ↗(On Diff #33274)

Good catch fixing this

35 ↗(On Diff #33274)

I don't understand why this type needs to include MinimallyEncodedResolvedThreadInfo when it didn't previously include ResolvedThreadInfo

This revision is now accepted and ready to land.Nov 15 2023, 12:34 PM

address feedback and land

This revision was landed with ongoing or failed builds.Nov 16 2023, 11:23 AM
This revision was automatically updated to reflect the committed changes.