Page MenuHomePhabricator

[native] introduce thread avatar camera modal
ClosedPublic

Authored by ginsu on Apr 26 2023, 10:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 25, 8:46 PM
Unknown Object (File)
Mon, Nov 25, 8:46 PM
Unknown Object (File)
Mon, Nov 25, 8:46 PM
Unknown Object (File)
Mon, Nov 25, 8:45 PM
Unknown Object (File)
Sat, Nov 9, 10:29 AM
Unknown Object (File)
Tue, Nov 5, 1:32 PM
Unknown Object (File)
Mon, Nov 4, 4:12 PM
Unknown Object (File)
Mon, Nov 4, 12:17 PM
Subscribers

Details

Summary

Introduce thread avatar camera modal

Depends on D7645

Test Plan

Able to set an image thread avatar through the camera roll. Tested other cases like closing out of the camera modal and everything works as expected

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ashoat requested changes to this revision.Apr 27 2023, 10:29 AM
ashoat added inline comments.
native/media/thread-avatar-camera-modal.react.js
25 ↗(On Diff #25802)

We shouldn't need this alias. Let's pass in sendPhoto directly to CameraModal. I shared more detailed feedback about how to do this in D7624

This revision now requires changes to proceed.Apr 27 2023, 10:29 AM
native/media/thread-avatar-camera-modal.react.js
32 ↗(On Diff #25941)

Kept the callback because now we should pass in threadID to updateImageThreadAvatar

This revision is now accepted and ready to land.Apr 30 2023, 1:50 PM