- Issue created by @neha_bawankar
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
So for an author like this, this is not a problem, because the avatar is used:
owner: name: Garrett Bobby Ferguson, Jr avatar: /sites/default/files/user-pictures/garrett.jpg uri: /user/12 id: 12
But for an author like this, it is a problem:
owner: name: Garrett Bobby Ferguson, Sr avatar: null uri: /user/13 id: 13
To fix this, we should hash that
owner
object and use that hash to consistently (deterministically!) generate a color, instead of picking one at random. See https://www.npmjs.com/package/color-hash for example. One more observation , author title colors vary across different browsers, even when viewed at same time