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
Unknown Object (File)
Tue, Nov 5, 2:10 AM
Unknown Object (File)
Sun, Nov 3, 7:50 PM
Unknown Object (File)
Oct 6 2024, 6:29 PM
Unknown Object (File)
Oct 6 2024, 4:23 PM
Unknown Object (File)
Oct 3 2024, 2:56 AM
Unknown Object (File)
Oct 3 2024, 2:56 AM
Unknown Object (File)
Oct 3 2024, 2:56 AM
Unknown Object (File)
Oct 3 2024, 2:51 AM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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