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
F2165968: D7684.id25922.diff
Tue, Jul 2, 3:05 AM
F2162810: D7684.id25942.diff
Mon, Jul 1, 5:33 PM
Unknown Object (File)
Sun, Jun 30, 6:40 PM
Unknown Object (File)
Sat, Jun 29, 3:38 PM
Unknown Object (File)
Fri, Jun 28, 3:03 AM
Unknown Object (File)
Thu, Jun 27, 6:39 PM
Unknown Object (File)
Thu, Jun 27, 6:39 PM
Unknown Object (File)
Thu, Jun 27, 6:39 PM
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