-
Notifications
You must be signed in to change notification settings - Fork 26
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: grouping message dates (WPB-1733) #2964
feat: grouping message dates (WPB-1733) #2964
Conversation
Signed-off-by: alexandreferris <[email protected]>
…essageDateTimeGroup Signed-off-by: alexandreferris <[email protected]>
…s to be shown Signed-off-by: alexandreferris <[email protected]>
Signed-off-by: alexandreferris <[email protected]>
Signed-off-by: alexandreferris <[email protected]>
Signed-off-by: alexandreferris <[email protected]>
Signed-off-by: alexandreferris <[email protected]>
Signed-off-by: alexandreferris <[email protected]>
# Conflicts: # app/src/main/kotlin/com/wire/android/ui/home/conversations/messages/item/RegularMessageItem.kt
Test Results923 tests 923 ✅ 12m 45s ⏱️ Results for commit d060f5c. |
APKs built during tests are available here. Scroll down to Artifacts! |
Build 4585 succeeded. The build produced the following APK's: |
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.
Looking good 🚀 Just one small comment
app/src/main/kotlin/com/wire/android/ui/home/conversations/ConversationScreen.kt
Show resolved
Hide resolved
Signed-off-by: alexandreferris <[email protected]>
APKs built during tests are available here. Scroll down to Artifacts! |
Build 4613 succeeded. The build produced the following APK's: |
PR Submission Checklist for internal contributors
The PR Title
SQPIT-764
The PR Description
What's new in this PR?
Issues
Previous implementation of grouping message dates had a different design than expected
Solutions
Needs releases with:
Testing
Test Coverage (Optional)
How to Test
- Now (just send/receive a message)
- Within 30 Minutes (let a sent/received message pass at least 1min)
- Today (30 min < message < Yesterday)
- Yesterday (Before Yesterday < message < Today)
- Within Week (7 days ago < message < Yesterday)
- Not Within Week but Same Year (01.01.this_year < message < 7 days ago)
- Other (any message that is not from this year)
Attachments (Optional)
References
https://developer.android.com/reference/android/icu/text/RelativeDateTimeFormatter
https://android.googlesource.com/platform/prebuilts/fullsdk/sources/android-31/+/refs/heads/androidx-core-core-google-shortcuts-release/android/text/format/RelativeDateTimeFormatter.java
https://developer.android.com/reference/android/text/format/DateUtils