-
Notifications
You must be signed in to change notification settings - Fork 109
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
Show group members in header #145
Conversation
Added: filter to transform ID-array to (display-)name array; Show group members in header (truncate not working atm)
…ones/threema-web into threema-web-6
Changed: used the existing class for styling
src/filters.ts
Outdated
/** | ||
* Convert ID-Array to (Display-)Name-String, separated by ',' | ||
*/ | ||
.filter('idToName', ['WebClientService', function (webClientService: threema.WebClientService) { |
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.
The .filter
call should not be indented, to match the rest of the file.
Also, the function should probably be named idsToNames
, since it accepts multiple ids.
overflow: hidden; | ||
text-overflow: ellipsis; | ||
max-width: 100%; | ||
display: inherit; |
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.
Can you add line-height: 1.3
here? Otherwise text containing characters like "g" is cut off at the bottom.
@@ -20,6 +20,9 @@ | |||
<eee-verification-level ng-if="ctrl.type == 'contact'" | |||
contact="ctrl.receiver"></eee-verification-level> | |||
</div> | |||
<div class="conversation-header-details-detail" ng-if="ctrl.type == 'group'"> |
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.
please add the whole list to the title
attribute
title="{{ctrl.receiver.members | idToName}}"
Thanks! |
Fixes #6