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)
Mon, Nov 11, 2:27 AM
Unknown Object (File)
Sun, Nov 10, 11:35 PM
Unknown Object (File)
Sun, Nov 10, 10:41 PM
Unknown Object (File)
Sun, Nov 10, 10:41 PM
Unknown Object (File)
Sun, Nov 10, 12:08 PM
Unknown Object (File)
Oct 26 2024, 1:25 AM
Unknown Object (File)
Oct 6 2024, 10:18 PM
Unknown Object (File)
Oct 1 2024, 10:57 AM
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