Page MenuHomePhabricator

[native] introduce thread avatar camera modal
ClosedPublic

Authored by ginsu on Apr 26 2023, 10:43 PM.
Tags
None
Referenced Files
F3644932: D7646.id.diff
Sat, Jan 4, 7:22 PM
Unknown Object (File)
Mon, Dec 16, 12:25 AM
Unknown Object (File)
Sat, Dec 14, 5:32 PM
Unknown Object (File)
Sat, Dec 14, 5:32 PM
Unknown Object (File)
Sat, Dec 14, 5:32 PM
Unknown Object (File)
Sat, Dec 14, 5:32 PM
Unknown Object (File)
Sat, Dec 14, 5:32 PM
Unknown Object (File)
Sat, Dec 14, 5:25 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