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)
Mon, Dec 2, 12:18 AM
Unknown Object (File)
Fri, Nov 29, 8:20 PM
Unknown Object (File)
Fri, Nov 29, 6:00 PM
Unknown Object (File)
Nov 26 2024, 12:00 PM
Unknown Object (File)
Oct 26 2024, 1:02 AM
Unknown Object (File)
Oct 26 2024, 1:02 AM
Unknown Object (File)
Oct 26 2024, 1:02 AM
Unknown Object (File)
Oct 26 2024, 1:01 AM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.