-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Conversation
7c7ca1d
to
79ab770
Compare
Current coverage is 57.49% (diff: 0.00%)@@ 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
|
@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. |
Well this just copies the comments view, so I guess. |
I think it looks ok. Especially since you usually don't mention 40 people on a comment :) |
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. |
@nickvergessen oops, you stepped into the same trap i did…
|
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? |
@MorrisJobke That’s a problem we need to fix then (separately).
@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! 👍 |
This is still broken - beside that it works nicely :) |
79ab770
to
5f4c78d
Compare
Signed-off-by: Joas Schilling <coding@schilljs.com>
5f4c78d
to
2864826
Compare
Updated |
Tested and works 👍 I already retriggered the build |
@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: 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 |
@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. |
Before
After
@blizzz @MorrisJobke @jancborchardt