Skip to content

feat(messenger): share and copy a link to a message - #1784

Merged
bmc08gt merged 3 commits into
feat/message-link-gated-landingfrom
feat/message-link-share
Oct 16, 2026
Merged

bmc08gt merged 3 commits into
feat/message-link-gated-landingfrom
feat/message-link-share

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

Stacked on #1777.

Selecting a message now offers Forward in the selection bar. Like iOS (code-payments/code-ios-app#1076), it is the only share action. The bar runs Copy, Reply, Forward, Edit, Delete, Report, in iOS's order.

  • Forward opens the share-to-chats sheet with a new message subject, titled "Share Message". It sends app.flipcash.com/chat/{chatId}/m/{seq} to the picked chats. Its Copy Link tile copies the URL, and its Share tile hands it to the system sheet. There is no separate Copy Message Link row.
  • Linkify.message builds the URL with a UUID id for a group and base64url for a DM. A router test reads each form back to the same chat and seq.
  • A new Link capability gates Forward: any confirmed participant message that isn't deleted. Like Report, it stays available to readers outside a group.
  • Copying or sharing clears the selection.
  • The action bar icons are filled, matching iOS.

@bmc08gt bmc08gt self-assigned this Oct 15, 2026
@github-actions github-actions Bot added type: feature New functionality area: deeplinks Deep link handling, URL routing, and link parsing labels Oct 15, 2026
@bmc08gt
bmc08gt force-pushed the feat/message-link-share branch from a98ce9b to c1216ec Compare October 16, 2026 03:12
@bmc08gt
bmc08gt force-pushed the feat/message-link-share branch from c1216ec to 19fc16c Compare October 16, 2026 14:11
@bmc08gt
bmc08gt force-pushed the feat/message-link-share branch from 19fc16c to 529e22f Compare October 16, 2026 20:59
Selecting a message now offers Share to Chat… and Copy Message Link
(overflow only). Both build app.flipcash.com/chat/{chatId}/m/{seq}
with Linkify.message: a UUID id for a group, base64url for a DM, which
the router reads back the same way.

Share to Chat opens the invite sheet with a Message subject; its Share
tile hands the bare URL to the system sheet. A new Link capability
gates both, kept for readers outside a group like Report.
… menu order

The selection bar's Share to Chat… becomes Forward, and the separate
Copy Message Link row goes: the sheet Forward opens already has a Copy
Link tile. Actions now run Copy, Reply, Forward, Edit, Delete, Report,
the order iOS #1076 uses.
iOS moved its long-press menu to filled symbols (Copy, Reply, Forward,
Delete, Report). Edit stays the outline pencil on both, since SF Symbols
has no filled pencil.
@bmc08gt
bmc08gt force-pushed the feat/message-link-share branch from 529e22f to b08b6e6 Compare October 16, 2026 21:09
@bmc08gt
bmc08gt added this pull request to stack #1798 October 16, 2026 21:15
@bmc08gt
bmc08gt marked this pull request as ready for review October 16, 2026 21:37
@bmc08gt
bmc08gt merged commit bdac576 into code/cash Oct 16, 2026
3 checks passed
bmc08gt added a commit that referenced this pull request Oct 16, 2026
…w-send

* origin/code/cash:
  build(deps): bump grpc from 1.84.0 to 1.84.3 (#1792)
  build(deps): bump io.grpc:grpc-android from 1.84.0 to 1.84.3 (#1790)
  build(deps): bump com.bugsnag:bugsnag-android from 6.27.1 to 6.28.0 (#1791)
  build(deps): bump com.composables:composeunstyled-bottom-sheet (#1793)
  build(deps): bump androidx.paging:paging-compose from 3.5.1 to 3.5.3 (#1794)
  build(deps): bump androidx-paging from 3.5.1 to 3.5.3 (#1796)
  build(deps): bump kotlin from 2.4.20 to 2.4.21 (#1789)
  build(deps): bump gradle-wrapper from 9.8.0 to 9.8.1 (#1797)
  fix(theme): use iOS's Avenir Next Demi file (#1800)
  feat(messenger): share and copy a link to a message (#1784)
  feat(messenger): show the linked message when a link lands in a gated group (#1777)
  feat(messenger): draw message links as a card of the linked message (#1774)
  feat(messenger): route message links and land on the message (#1772)

# Conflicts:
#	apps/flipcash/features/messenger/src/main/kotlin/com/flipcash/app/messenger/internal/ChatViewModel.kt
#	apps/flipcash/features/messenger/src/main/kotlin/com/flipcash/app/messenger/internal/link/LinkCardModule.kt
#	apps/flipcash/features/messenger/src/main/kotlin/com/flipcash/app/messenger/internal/link/LinkCardResolver.kt
#	apps/flipcash/features/messenger/src/main/kotlin/com/flipcash/app/messenger/internal/link/MessageLinkPrefetcher.kt
#	apps/flipcash/shared/chat/src/main/kotlin/com/flipcash/shared/chat/internal/delegates/MessagingDelegate.kt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: deeplinks Deep link handling, URL routing, and link parsing type: feature New functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant