HomePhorge

Allow custom image generation when choosing a profile image

Description

Allow custom image generation when choosing a profile image

Summary: Ref T10319. This swaps the default in the Picture Chooser to allow picking of the custom unique avatar. We're currently going with 100k unique possibilities. The logic roughly hashes a user name and picks an image pack, color, and border. Based on that, we select the first character of their username, or fall back to Psyduck if not [a-z][0-9].

Test Plan:
Set the following usernames from ProfilePicture as a test: chad, epriestley, sally, 007, _cat_, -doggie-.

{F3453979}

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Maniphest Tasks: T10319

Differential Revision: https://secure.phabricator.com/D17430

Details

Provenance
Chad LittleAuthored on Mar 3 2017, 3:31 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP8ce25838f541: Provide "bin/auth revoke" with a revoker for Conduit tokens
Branches
Unknown
Tags
Unknown

Event Timeline