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)
Tue, Nov 19, 9:19 PM
Unknown Object (File)
Sun, Nov 10, 1:59 PM
Unknown Object (File)
Sun, Nov 10, 3:15 AM
Unknown Object (File)
Oct 27 2024, 8:19 AM
Unknown Object (File)
Oct 22 2024, 2:57 PM
Unknown Object (File)
Oct 15 2024, 7:58 AM
Unknown Object (File)
Oct 14 2024, 8:30 PM
Unknown Object (File)
Oct 12 2024, 4:44 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