Page MenuHomePhabricator

[lib] Introduce `MinimallyEncodedResolvedThreadInfo` and start refactoring
ClosedPublic

Authored by atul on Nov 15 2023, 10:06 AM.
Tags
None
Referenced Files
F3389211: D9896.diff
Fri, Nov 29, 6:00 PM
Unknown Object (File)
Tue, Nov 26, 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
Unknown Object (File)
Oct 26 2024, 12:55 AM
Unknown Object (File)
Oct 12 2024, 4:44 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
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

Good catch fixing this

35

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.