Page MenuHomePhabricator

[native] Replace generic useSaveThreadAvatar with new generic setThreadAvatar
ClosedPublic

Authored by ashoat on May 29 2023, 5:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 4, 9:09 PM
Unknown Object (File)
Thu, Apr 4, 9:09 PM
Unknown Object (File)
Thu, Apr 4, 9:09 PM
Unknown Object (File)
Thu, Apr 4, 9:09 PM
Unknown Object (File)
Thu, Apr 4, 9:01 PM
Unknown Object (File)
Feb 11 2024, 1:03 AM
Unknown Object (File)
Feb 11 2024, 12:22 AM
Unknown Object (File)
Feb 11 2024, 12:20 AM
Subscribers

Details

Summary

Unifying codepaths here, similar to what D8018 did for user avatars.

In a later diff I'll need to make sure that activeThreadSelector works with the EmojiThreadAvatarCreation screen.

Depends on D8020

Test Plan

Test setting emoji avatar for thread from iOS simulator

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

native/utils/avatar-utils.js
3–5 ↗(On Diff #27237)

This file can now be deleted once ENG-3413 is complete. That will leave us with at least two other avatar-utils.js files in the codebase (lib/shared and lib/utils)

41–48 ↗(On Diff #27237)

I bring this back in D8022

Harbormaster returned this revision to the author for changes because remote builds failed.May 29 2023, 5:55 PM
Harbormaster failed remote builds in B19881: Diff 27237!

Rebase to fix ESLint error

native/utils/avatar-utils.js
3–5 ↗(On Diff #27241)

This file can now be deleted once ENG-3413 is complete. That will leave us with at least two other avatar-utils.js files in the codebase (lib/shared and lib/utils)

41–48 ↗(On Diff #27241)

I bring this back in D8022

This revision is now accepted and ready to land.May 30 2023, 9:29 AM