Improve date display, forward timestamps, and group creation flow#281
Merged
gdlbo merged 4 commits intoMay 6, 2026
Merged
Conversation
Display Today, Yesterday, and weekday names for recent messages instead of raw dates in date separators. Closes monogram-android#87
Remove member selection gate to enable single-member group creation via TDLib's createBasicGroupChat API. Closes monogram-android#149
Display date alongside time for forwards/reposts that originated on a different day (e.g. '3 May, 14:30' instead of just '14:30'). Closes monogram-android#90
gdlbo
requested changes
May 5, 2026
gdlbo
approved these changes
May 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Date separators in conversations currently show raw dates like "4 May" regardless of how recent the message is. This makes it hard to quickly gauge message recency at a glance.
This change updates
formatChatDayLabel()to display relative labels — "Today", "Yesterday", or the weekday name — for messages within the past week, falling back to the full date for older messages. The year-boundary edge case (e.g. Dec 31 → Jan 1) is handled correctly.Forwarded messages only showed the time of the original post, which loses context when the forward is from a different day. The forward header now shows the date alongside the time for non-today forwards (e.g. "3 May, 14:30").
Creating a group with only yourself was impossible because the member selection step required at least one other user before allowing the user to proceed. Both official Telegram clients allow this. The
isNotEmpty()gate on the member list has been removed so users can continue to the group info screen with zero members selected.Closes #87, #90, #149