calcite-design-system
calcite-design-system copied to clipboard
Avatars of different users (different usernames) have the same background
Actual Behavior
Avatars of different users (with different username
s) have the same background colors in some cases.
In the docs it was written:
A randomly generated AA accessible background will fill behind the initials. That generated fill will stay assigned to the user until their account is deleted or an image is used.
Expected Behavior
Avatars of different users (with different username
s) have different background colors.
Reproduction Sample
https://codepen.io/anastasiia-zrh/pen/wvEMKxq
Reproduction Steps
- Add several calcite-avatar elements to a page
- Specify different
username
s (for example:john_doe
,john_doe1
,john_doe2
)
Reproduction Version
v1.0.5
Relevant Info
No response
Regression?
No response
Impact
Initials and avatar background simplify finding a needed user (it's like a visual mapping where color+initials=user, which decreases cognitive load) for those, who do not use AT. It would be great to have different avatar backgrounds for different users.
Esri team
ArcGIS Urban
If the described case is an expected behavior from your perspective, maybe it would be possible to implement it as an enhancement of the calcite-avatar component. Thanks a lot in advance!
Installed and assigned for verification.
Verified in 2.9.0-next.9
with https://codepen.io/anastasiia-zrh/pen/wvEMKxq: