Page MenuHomePhabricator

[native] move selectFromGalleryAndUpdateThreadAvatar to edit thread avatar provider
ClosedPublic

Authored by ginsu on Apr 28 2023, 12:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 4, 12:19 PM
Unknown Object (File)
Mon, Nov 4, 12:19 PM
Unknown Object (File)
Sun, Oct 27, 2:36 AM
Unknown Object (File)
Sun, Oct 27, 2:36 AM
Unknown Object (File)
Sun, Oct 27, 2:36 AM
Unknown Object (File)
Sun, Oct 27, 2:36 AM
Unknown Object (File)
Sun, Oct 27, 2:34 AM
Unknown Object (File)
Fri, Oct 25, 7:21 AM
Subscribers

Details

Summary

This diff breaks down D7643. This diff is simply now a move diff with one very minor change and is something I will annotate in the code below

Test Plan

I am able to set a thread image avatar with the expected behavior

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

native/avatars/edit-thread-avatar-provider.react.js
87 ↗(On Diff #25922)

This was added and is used for the updated customKey below to make sure that the customKey does not exceed 80 char

100 ↗(On Diff #25922)

The threadID was added in the custom key to make sure that updateThreadAvatarLoadingStatus worked as expected

This revision is now accepted and ready to land.Apr 28 2023, 2:01 PM