Page MenuHomePhabricator

[web] render user avatars in typeahead tooltip
ClosedPublic

Authored by ginsu on Mar 27 2023, 4:09 PM.
Tags
None
Referenced Files
F3521383: D7208.diff
Mon, Dec 23, 3:26 AM
Unknown Object (File)
Sat, Dec 7, 8:21 PM
Unknown Object (File)
Sat, Dec 7, 8:21 PM
Unknown Object (File)
Sat, Dec 7, 8:21 PM
Unknown Object (File)
Sat, Dec 7, 8:21 PM
Unknown Object (File)
Sat, Dec 7, 8:21 PM
Unknown Object (File)
Sat, Dec 7, 8:20 PM
Unknown Object (File)
Nov 8 2024, 9:54 AM
Subscribers

Details

Summary

render user avatars in typeahead tooltip

This diff won't be landed until avatars is given the green light to be released

Depends on D7207

Test Plan

Please view the screenshots to see the changes I made:

Before:

Screenshot 2023-03-27 at 7.02.31 PM.png (2×3 px, 864 KB)

After:

Screenshot 2023-03-27 at 7.02.50 PM.png (2×3 px, 876 KB)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ginsu requested review of this revision.Mar 27 2023, 4:24 PM
web/utils/typeahead-utils.js
149 ↗(On Diff #24247)

This looks like a case where we would want to determine ENS avatars "downstream" of where getAvatarForUser is called. We can't use a hook in getTypeaheadTooltipActions, but we can use a hook here

(Please address @ashoat's feedback before landing)

This revision is now accepted and ready to land.Mar 28 2023, 1:33 PM

replace Avatar with UserAvatar