Open skrishn opened 3 weeks ago
@skrishn
We are not setting any colors to the calcite-avatar component. Colors are coming from the calcite component.
Also, we see different colors in the reporter sign-in and the ORG.
Could you please get inputs from JS API team/Instant app team if we need to add some parameters to match the color?
@sumitzarkar Here is the response from IA team "The background color is created based on the user id, username, or full name. User id being the one that's used first to create the color. The username is the first fallback while full name is the last. All they have to do is add userId and username props to the calcite-avatar element and it will use the same color as the org. I have to add userId to the sign in component. "
@skrishn
Items | Is required | Status | Comments |
---|---|---|---|
Required NLS changes? | No | ||
Required Backward compatibility | No | ||
Required 508 | No | ||
Need Sanitize? | No |
Impacted Areas | Comments |
---|---|
Have Configuration changes? | No |
Have Runtime changes? | Yes |
Impact on RTL | Yes |
Impact on comment list | The background colour of the profile initials should match the profile on the organization page as well as the profile shown in the top-right section. |
Related to https://github.com/Esri/solutions-components/issues/605
I noticed the background color for the initials is different from the profile section on top right than in the one in the comments section. The color on the top right is the same as shown on the profile in the org page.
Light theme
Dark theme
Org