Page MenuHomePhabricator

[native] Pass `customKeyName` to `dispatchActionPromise` in `selectFromGalleryAndUpdateThreadAvatar`
ClosedPublic

Authored by atul on Apr 19 2023, 2:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 26, 1:25 AM
Unknown Object (File)
Sun, Oct 6, 10:18 PM
Unknown Object (File)
Oct 1 2024, 10:57 AM
Unknown Object (File)
Sep 28 2024, 7:18 PM
Unknown Object (File)
Sep 28 2024, 7:17 PM
Unknown Object (File)
Sep 28 2024, 5:17 PM
Unknown Object (File)
Sep 10 2024, 12:08 PM
Unknown Object (File)
Sep 10 2024, 12:08 PM
Subscribers

Details

Summary

We want to be able to use createLoadingStatusSelector to track LoadingStatus of avatar update request. However, the changeThreadSettings action and endpoint also handles updating thread name, color, avatar, etc.

We don't want to, for example, display ActivityIndicator over avatar when thread color or some unrelated setting is being changed.

Followed what @ginsu did in useSaveThreadAvatar.

Test Plan

NA, will be tested implicitly in next diff.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable