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)
Tue, Dec 3, 8:37 PM
Unknown Object (File)
Tue, Dec 3, 8:37 PM
Unknown Object (File)
Nov 25 2024, 8:56 PM
Unknown Object (File)
Nov 25 2024, 8:56 PM
Unknown Object (File)
Nov 25 2024, 8:56 PM
Unknown Object (File)
Nov 4 2024, 12:19 PM
Unknown Object (File)
Nov 4 2024, 12:19 PM
Unknown Object (File)
Oct 27 2024, 2:36 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