Page MenuHomePhabricator

[native] update ThreadAvatar component to pass farcaster channel ID to useResolvedThreadAvatar
ClosedPublic

Authored by varun on Oct 17 2024, 5:54 AM.
Tags
None
Referenced Files
F3363726: D13746.id45254.diff
Mon, Nov 25, 3:13 AM
Unknown Object (File)
Sat, Nov 23, 1:00 PM
Unknown Object (File)
Sat, Nov 23, 7:38 AM
Unknown Object (File)
Fri, Nov 22, 5:30 PM
Unknown Object (File)
Fri, Nov 22, 5:29 PM
Unknown Object (File)
Fri, Nov 22, 12:52 AM
Unknown Object (File)
Thu, Nov 21, 6:23 PM
Unknown Object (File)
Wed, Nov 20, 8:17 AM
Subscribers

Details

Summary

Depends on D13745

pass an object containing username/fid or an object containing a farcaster channel ID to useResolvedThreadAvatar

Test Plan

modified threads table in mariadb successfully set thread avatars for all threads in a tagged community to the fc channel image. was able to change child threads to other avatar types

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

varun held this revision as a draft.
varun published this revision for review.Oct 17 2024, 9:02 PM

I would've included these changes in D13745... makes it easier to review when the pair of changes is in the same diff

native/avatars/thread-avatar.react.js
67–72

Left feedback in D13744, but I think it would be better to pass both in

This revision is now accepted and ready to land.Oct 20 2024, 11:38 AM