[PR #3706] [MERGED] Allow the ShowShareSheet event to be launched after the screen is paused #23737

Closed
opened 2026-04-16 23:43:33 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/3706
Author: @david-livefront
Created: 8/9/2024
Status: Merged
Merged: 8/9/2024
Merged by: @david-livefront

Base: mainHead: PM-10725-share-new-send


📝 Commits (1)

  • 56d2ffc Allow the ShowShareSheet event to be launched after the screen is paused

📊 Changes

1 file changed (+4 additions, -1 deletions)

View changed files

📝 app/src/main/java/com/x8bit/bitwarden/ui/tools/feature/send/addsend/AddSendViewModel.kt (+4 -1)

📄 Description

🎟️ Tracking

PM-10725

📔 Objective

This PR updates the AddSendEvent.ShowShareSheet to allow it to be consumed in the background (when the screen is paused). This allows us to display the share sheet as the UI is being dismissed.

Screenshots

Before After

Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed
    issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/bitwarden/android/pull/3706 **Author:** [@david-livefront](https://github.com/david-livefront) **Created:** 8/9/2024 **Status:** ✅ Merged **Merged:** 8/9/2024 **Merged by:** [@david-livefront](https://github.com/david-livefront) **Base:** `main` ← **Head:** `PM-10725-share-new-send` --- ### 📝 Commits (1) - [`56d2ffc`](https://github.com/bitwarden/android/commit/56d2ffc5d6560f87dbac51eba4c47b59ffcc550b) Allow the ShowShareSheet event to be launched after the screen is paused ### 📊 Changes **1 file changed** (+4 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `app/src/main/java/com/x8bit/bitwarden/ui/tools/feature/send/addsend/AddSendViewModel.kt` (+4 -1) </details> ### 📄 Description ## 🎟️ Tracking [PM-10725](https://bitwarden.atlassian.net/browse/PM-10725) ## 📔 Objective This PR updates the `AddSendEvent.ShowShareSheet` to allow it to be consumed in the background (when the screen is paused). This allows us to display the share sheet as the UI is being dismissed. ## Screenshots | Before | After | | --- | --- | | <video src="https://github.com/user-attachments/assets/f94e0fe3-a63e-4d9f-8ace-9d994da74a58" width="300" /> | <video src="https://github.com/user-attachments/assets/4ee9589f-8657-41f3-8dcb-a4262a7a2d10" width="300" /> | ## ⏰ Reminders before review - Contributor guidelines followed - All formatters and local linters executed and passed - Written new unit and / or integration tests where applicable - Used internationalization (i18n) for all UI strings - CI builds passed - Communicated to DevOps any deployment requirements - Updated any necessary documentation or informed the documentation team ## 🦮 Reviewer guidelines <!-- Suggested interactions but feel free to use (or not) as you desire! --> - 👍 (`:+1:`) or similar for great changes - 📝 (`:memo:`) or ℹ️ (`:information_source:`) for notes or general info - ❓ (`:question:`) for questions - 🤔 (`:thinking:`) or 💭 (`:thought_balloon:`) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion - 🎨 (`:art:`) for suggestions / improvements - ❌ (`:x:`) or ⚠️ (`:warning:`) for more significant problems or concerns needing attention - 🌱 (`:seedling:`) or ♻️ (`:recycle:`) for future improvements or indications of technical debt - ⛏ (`:pick:`) for minor or nitpick changes [PM-10725]: https://bitwarden.atlassian.net/browse/PM-10725?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-16 23:43:33 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#23737