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)
Sat, Dec 14, 3:19 PM
Unknown Object (File)
Sat, Dec 14, 7:19 AM
Unknown Object (File)
Thu, Dec 12, 7:56 PM
Unknown Object (File)
Sat, Nov 23, 2:24 PM
Unknown Object (File)
Sat, Nov 23, 1:19 PM
Unknown Object (File)
Nov 13 2024, 4:44 AM
Unknown Object (File)
Nov 7 2024, 2:07 AM
Unknown Object (File)
Oct 27 2024, 10:31 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.