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
Unknown Object (File)
Wed, Nov 20, 8:17 AM
Unknown Object (File)
Wed, Nov 20, 8:16 AM
Unknown Object (File)
Wed, Nov 20, 8:16 AM
Unknown Object (File)
Fri, Nov 8, 6:44 PM
Unknown Object (File)
Wed, Nov 6, 2:35 PM
Unknown Object (File)
Sun, Nov 3, 11:30 AM
Unknown Object (File)
Fri, Oct 25, 4:19 PM
Unknown Object (File)
Wed, Oct 23, 3:41 PM
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