Repository navigation
feat(profile): share a profile to chats - #1700
Merged
Merged
Conversation
The share-to-chats sheet now takes a subject, a group's invite or a person's profile link. Another person's profile and the You tab's "Share Profile" row both open it through a new root route, ShareProfileToChats, which carries the DM to leave out of the picker (none for your own profile). Send posts the profile URL as plain text to each picked chat, then opens the first. The You tab's share sheet follows iOS: left-aligned title, no subtitle, Share Profile and Show Profile Card rows, and a subtle Dismiss. The old profile share host, clipboard/toast plumbing and Copy Link row are gone.
iOS presents ShareToChatsSheet as a cover for both a group invite and a profile share. Mark ChatStep.InviteToGroup and AppRoute.Messaging.ShareProfileToChats as FullscreenSheet so they rest at the full screen height with square top corners.
bmc08gt
added this pull request to stack #1696
October 7, 2026 13:56
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.
Profile Share now opens the invite sheet, matching code-ios-app#1003. Stacked on #1699.
The sheet is still
GroupInviteSheet, now with aShareToChatsSubject(GrouporUser). The person case is a new root route,AppRoute.Messaging.ShareProfileToChats, opened from both profiles. The group path throughChatStep.InviteToGroupkeeps its result-based navigation.GroupInviteViewModel.inviteTobecomesexclude(chatId?).Send posts the tipcard URL as plain text, as the group invite does.
LinkCardClassifierthen renders it as the profile link card.Removed:
ProfileShare.kt(the other-profile bottom sheet and its host), the Share and Copy events onChatProfileViewModel, andProfileShareViewModel.share()/copyLink(). Messenger now depends on:apps:flipcash:shared:billsforTipCodePreviewCache, which provides the share card image.