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

Fix comment mentions in activities #1926

Merged
merged 1 commit into from
Oct 28, 2016

Conversation

nickvergessen
Copy link
Member

@nickvergessen nickvergessen added this to the Nextcloud 11.0 milestone Oct 26, 2016
@nickvergessen nickvergessen force-pushed the fix-comment-mentions-in-activities branch 2 times, most recently from 7c7ca1d to 79ab770 Compare October 26, 2016 15:40
@codecov-io
Copy link

codecov-io commented Oct 26, 2016

Current coverage is 57.49% (diff: 0.00%)

Merging #1926 into master will increase coverage by 0.26%

@@             master      #1926   diff @@
==========================================
  Files          1079       1079          
  Lines         61585      62239   +654   
  Methods        6886       6983    +97   
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits          35242      35784   +542   
- Misses        26343      26455   +112   
  Partials          0          0          

Sunburst

Diff Coverage File Path
0% apps/comments/lib/Activity/Extension.php

Powered by Codecov. Last update f2cae3c...2864826

@MorrisJobke
Copy link
Member

@nextcloud/designers Do we really want to have avatars inside the text? I think this is really awkward - also because the icon is a lot higher than the line height and destroys the view of a text.

@nickvergessen
Copy link
Member Author

Well this just copies the comments view, so I guess.
And yes @jancborchardt said usernames shall always have avatars next to them

@LukasReschke
Copy link
Member

LukasReschke commented Oct 27, 2016

@nextcloud/designers Do we really want to have avatars inside the text? I think this is really awkward - also because the icon is a lot higher than the line height and destroys the view of a text.

I think it looks ok. Especially since you usually don't mention 40 people on a comment :)

@eppfel
Copy link
Member

eppfel commented Oct 27, 2016

I agree, that that inline avatars could be improved and I don't like dogmas like "usernames shall always have avatars", but it looks ok to me for now.

@blizzz
Copy link
Member

blizzz commented Oct 27, 2016

@nickvergessen oops, you stepped into the same trap i did…

spectacle t10278

  • BUG: The first mention has id user_1 and the second user_11, of which only the user_1 part was replaced.

@blizzz
Copy link
Member

blizzz commented Oct 27, 2016

Aside of this, avatars in activities are ok… they are already present with shares, too. With a lot of users it can look very colorful, however in production the benefit might be bigger. Perhaps it's also an experience that we need to make in usage and adjust if necessary?

@jancborchardt
Copy link
Member

jancborchardt commented Oct 27, 2016

also because the icon is a lot higher than the line height and destroys the view of a text

@MorrisJobke That’s a problem we need to fix then (separately).

I don't like dogmas like "usernames shall always have avatars"

@eppfel Why not though? Same for filenames, they should always have the preview or filetype icon next to them. It’s not only consistent but also very easy to recall, and makes the whole interface friendlier.

Anyway – as the others said it looks good! 👍

@MorrisJobke
Copy link
Member

BUG: The first mention has id user_1 and the second user_11, of which only the user_1 part was replaced.

This is still broken - beside that it works nicely :)

@MorrisJobke MorrisJobke added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Oct 28, 2016
@nickvergessen nickvergessen force-pushed the fix-comment-mentions-in-activities branch from 79ab770 to 5f4c78d Compare October 28, 2016 10:27
Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen nickvergessen force-pushed the fix-comment-mentions-in-activities branch from 5f4c78d to 2864826 Compare October 28, 2016 10:32
@nickvergessen
Copy link
Member Author

Updated

@nickvergessen nickvergessen added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Oct 28, 2016
@MorrisJobke
Copy link
Member

Tested and works 👍

I already retriggered the build

@MorrisJobke MorrisJobke added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Oct 28, 2016
@eppfel
Copy link
Member

eppfel commented Oct 28, 2016

@eppfel Why not though? Same for filenames, they should always have the preview or filetype icon next to them. It’s not only consistent but also very easy to recall, and makes the whole interface friendlier.

@jancborchardt I don't have a particular case for nextcloud, I just don't like "always". I have the impressions it is easier to read through the list of github mentions, than the list of nextcloud commenters:

bildschirmfoto 2016-10-28 um 18 44 20

And if used on github, inline avatars have the same line height as the text.

@MorrisJobke
Copy link
Member

And if used on github, inline avatars have the same line height as the text.

We should move that discussion out of this PR -> this is ready to be merged

@MorrisJobke MorrisJobke merged commit 48ce0ef into master Oct 28, 2016
@MorrisJobke MorrisJobke deleted the fix-comment-mentions-in-activities branch October 28, 2016 20:47
@jancborchardt
Copy link
Member

@eppfel want to open a new issue? One consideration for this context could be to show the name without placeholder when there’s no avatar. And show only the avatar of everyone when there’s more than 3 people.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants