Page MenuHomePhabricator

[native] Pull `useProcessSelectedMedia` out of `Edit[User/Thread]Avatar`
ClosedPublic

Authored by atul on Apr 18 2023, 12:01 PM.
Tags
None
Referenced Files
F2909006: D7497.diff
Sun, Oct 6, 4:23 PM
Unknown Object (File)
Thu, Oct 3, 2:56 AM
Unknown Object (File)
Thu, Oct 3, 2:56 AM
Unknown Object (File)
Thu, Oct 3, 2:56 AM
Unknown Object (File)
Thu, Oct 3, 2:51 AM
Unknown Object (File)
Tue, Sep 17, 9:25 AM
Unknown Object (File)
Aug 24 2024, 6:54 PM
Unknown Object (File)
Aug 24 2024, 6:54 PM
Subscribers

Details

Summary

Pull out common functionality from Edit[User/Thread]Avatar and move to newly introduced avatar-hooks.js.


Depends on D7493

Test Plan
  1. Replace onPressEmojiAvatarFlow with openPhotoGallery in Edit[User/Thread]Avatar
  2. Ensure that selection is processed correctly (logging + breakpoint)
  3. Ensure that selected image appears in keyserver uploads table as before

Diff Detail

Repository
rCOMM Comm
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

atul retitled this revision from [native] Pull `useProcessSelectedMedia` out of `[User/Thread]Avatar` to [native] Pull `useProcessSelectedMedia` out of `Edit[User/Thread]Avatar`.Apr 18 2023, 12:27 PM
atul edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Apr 18 2023, 1:09 PM