-
Notifications
You must be signed in to change notification settings - Fork 8.6k
UX: thread list design changes #23348
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
Conversation
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.
Looks good. Left one minor comment.
To do:
Make sure OP avatar doesn't appear in participants list to avoid being shown double
Is the todo for the current PR or for a follow-up?
@@ -31,29 +28,31 @@ | |||
|
|||
<div class="chat-thread-list-item__body"> | |||
<span class="chat-thread-list-item__last-reply-author"> | |||
{{@thread.preview.lastReplyUser.username}}: | |||
@{{@thread.preview.lastReplyUser.username}}: |
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.
Small nitpick... and this isn't new to your PR, but the colon here will result in incorrect punctuation in some languages. For example, French requires a space on both sides of the colon (so the correct way to output this in French would be "@username : la di da").
To fix it, we should wrap the username here in an I18n label. There is one precedent in core:
https://github.com/discourse/discourse/blob/main/config/locales/client.en.yml#L1070
Oh also @chapoi the test failures seem relevant:
The test is looking for the |
Yep Im looking at this @pmusaraj thanks |
It's been addressed in this PR |
New: