Page MenuHomePhabricator

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

Authored by atul on Jun 27 2023, 5:33 PM.
Tags
None
Referenced Files
F6279229: D8344.diff
Fri, Apr 25, 6:50 PM
Unknown Object (File)
Wed, Apr 23, 8:08 AM
Unknown Object (File)
Tue, Apr 22, 2:28 PM
Unknown Object (File)
Sun, Apr 20, 3:19 AM
Unknown Object (File)
Thu, Apr 17, 3:12 PM
Unknown Object (File)
Thu, Apr 17, 12:16 PM
Unknown Object (File)
Wed, Apr 16, 5:27 PM
Unknown Object (File)
Wed, Apr 16, 12:18 PM
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
Branch
arcpatch-D8344 (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage

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.