-
Notifications
You must be signed in to change notification settings - Fork 3
SED-2978 POC: user avatars #778
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
…vatars # Conflicts: # projects/step-core/src/lib/step-core.module.ts
| height: 100%; | ||
| } | ||
|
|
||
| .user { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ambigous class name. I'd rather use "user-label", "user-section" or something similar depending on what you display in current-user-avatar
| if (!this._auth.getConf()?.authentication) { | ||
| return ANONYMOUS_COLOR; | ||
| } | ||
| return user?.preferences?.preferences?.[this._avatarColorPreferenceKey]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some model issues on ".preferences.preferences"?
maybe should return a default color in case something is undefined, or it's not the case?
No description provided.