Page MenuHomePhabricator

[lib] Rename `setUserAvatar` to `baseSetUserAvatar` in `*EditUserAvatarProvider`
ClosedPublic

Authored by atul on Jun 27 2023, 5:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 13, 4:44 AM
Unknown Object (File)
Thu, Nov 7, 2:07 AM
Unknown Object (File)
Sun, Oct 27, 10:31 AM
Unknown Object (File)
Sun, Oct 27, 10:31 AM
Unknown Object (File)
Sun, Oct 27, 10:31 AM
Unknown Object (File)
Sun, Oct 27, 10:30 AM
Unknown Object (File)
Sun, Oct 27, 10:13 AM
Unknown Object (File)
Oct 13 2024, 8:04 AM
Subscribers

Details

Summary

We want devs to to use the platform-specific setUserAvatar wrappers rather than interfacing with setUserAvatar directly... so renaming setUserAvatar to baseSetUserAvatar to make that more clear.

Also left a comment annotating the function, which at least in my editor shows a note on hover/when cursor is focused:

541bc9.png (318×1 px, 94 KB)


Depends on D8343

Test Plan

flow/eslint/searched codebase for "setUserAvatar".

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

atul published this revision for review.Jun 27 2023, 5:35 PM
This revision is now accepted and ready to land.Jun 28 2023, 10:08 AM
This revision was landed with ongoing or failed builds.Jul 28 2023, 1:47 PM
This revision was automatically updated to reflect the committed changes.