Sharing a conversation asks 'Share Conversation?' before the system share sheet
Product impact
- Primary loop layer: UX-Polish
- [ ] Involves data loss, failed capture, or broken sync/trust
Describe the bug
Share on a private conversation (detail page, or a row's long-press menu) first shows a confirmation, "Share Conversation? Anyone with the link can view", and only then opens the iOS/Android share sheet. The code already makes the conversation link-visible for the sheet and reverts it to private if the sheet is dismissed without sharing. So the extra dialog adds a tap without protecting anything, and users expect Share to open the share sheet straight away.
To reproduce
Open a private conversation → Share.
Current behavior
A confirmation dialog, then the share sheet.
Expected behavior
The system share sheet opens at once. A link that can't be made still shows an error, and a dismissed sheet still reverts the conversation to private.
Evidence
Related: #5476
Fix available
Fixed with a regression test on the fork branch design/v2-step0-tokens (9d269cc120, ffef7aa73c). It will be linked from the draft PR.
Found while testing the Omi v2 Flutter restyle on an iPhone, then confirmed against main at 32c2ed22cf.
Submitted fix with hermetic regression tests in #21338:
- Root Cause & Fix:
- Removed the redundant
showOmiConfirmdialog in both_shareConversation(lib/pages/conversation_detail/page.dart) andshareConversation(lib/pages/conversations/conversation_actions.dart). - Tapping Share directly proceeds to link visibility and immediately displays the system share sheet.
- Automatically reverts the conversation to private if the sheet is dismissed without sharing, preserving existing privacy guarantees.
- Removed the redundant
- Hermetic Tests & Changelog:
- Added dedicated regression tests in
app/test/widgets/conversation_share_test.dartasserting immediate system share sheet presentation without dialog prompts. - Updated
conversation_action_analytics_test.dartandconversation_hub_actions_test.dart. - Added unreleased changelog fragment
20261012-share-conversation-direct-sheet.json.
- Added dedicated regression tests in