Skip to content
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

Merged
merged 8 commits into from
Mar 8, 2017
Merged

Conversation

IndianaDschones
Copy link
Contributor

Fixes #6

  • Also added the "truncate-behaviour" to the receiver name.
  • Added missing translation in about dialog

src/filters.ts Outdated
/**
* Convert ID-Array to (Display-)Name-String, separated by ','
*/
.filter('idToName', ['WebClientService', function (webClientService: threema.WebClientService) {
Copy link
Contributor

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;
Copy link
Contributor

@dbrgn dbrgn Mar 8, 2017

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'">
Copy link
Contributor

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}}"

@dbrgn dbrgn merged commit f03b59f into threema-ch:master Mar 8, 2017
@dbrgn
Copy link
Contributor

dbrgn commented Mar 8, 2017

Thanks!

@IndianaDschones IndianaDschones deleted the threema-web-6 branch March 9, 2017 07:46
IndianaDschones added a commit to IndianaDschones/threema-web that referenced this pull request Mar 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants