-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat: add message edited timestamp #275
Conversation
@@ -192,13 +192,29 @@ | |||
.str-chat__message-metadata { | |||
grid-area: metadata; | |||
display: flex; | |||
flex-wrap: wrap; |
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.
Adding wrap to the message metadata so that the "edited at ..." label can occupy the second line.
646dbd4
to
6265394
Compare
} | ||
} | ||
|
||
.str-chat__message-text--pointer-cursor { |
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.
@myandrienko I've added this here -> SDK's can apply this dynamically
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.
Angular logic for reference: https://github.com/GetStream/stream-chat-angular/pull/563/files#diff-1a38d0771c6ea73cc1bfd32b5699ffdc969cbcd65f0f99fef492517b2f201ed1R179-R183 - I know, I know that expression is a bit too complicated, but it handles the following cases:
- unsent message
- bounced message
- edited message
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.
Thanks, this is useful!
# [4.8.0](v4.7.4...v4.8.0) (2024-03-05) ### Features * add message edited timestamp ([#275](#275)) ([d61a371](d61a371))
🎉 This PR is included in version 4.8.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
### 🎯 Goal 🚂 GetStream/stream-chat-css#275 🚂 GetStream/stream-chat-js#1248 Adds a new collapsible section in message metadata that shows the last time message text was updated. Also, clearly labels edited messages. ### 🎨 UI Changes See GetStream/stream-chat-css#275 ### To-Do - [x] Bump LLC - [x] Bump styles - [x] Translations
🎯 Goal
Adds styles for a new collapsible section in message status that shows the last time message text was updated.
🎨 UI Changes
Screen.Recording.2024-02-28.at.17.17.21.mov