[PR #6730] Send folder #32836

Open
opened 2026-04-18 16:11:33 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/6730
Author: @mzieniukbw
Created: 3/27/2026
Status: 🔄 Open

Base: mainHead: innovation-sprint-2026-send-folder


📝 Commits (4)

📊 Changes

28 files changed (+645 additions, -22 deletions)

View changed files

📝 app/src/main/kotlin/com/x8bit/bitwarden/data/vault/datasource/sdk/VaultSdkSource.kt (+17 -0)
📝 app/src/main/kotlin/com/x8bit/bitwarden/data/vault/datasource/sdk/VaultSdkSourceImpl.kt (+18 -0)
📝 app/src/main/kotlin/com/x8bit/bitwarden/data/vault/manager/SendManager.kt (+10 -0)
📝 app/src/main/kotlin/com/x8bit/bitwarden/data/vault/manager/SendManagerImpl.kt (+120 -0)
📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/tools/feature/send/SendScreen.kt (+10 -6)
📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/tools/feature/send/SendViewModel.kt (+7 -1)
📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/tools/feature/send/addedit/AddEditSendContent.kt (+88 -0)
📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/tools/feature/send/addedit/AddEditSendScreen.kt (+11 -0)
📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/tools/feature/send/addedit/AddEditSendViewModel.kt (+134 -6)
📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/tools/feature/send/addedit/handlers/AddEditSendHandlers.kt (+9 -0)
📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/tools/feature/send/addedit/util/AddEditSendStateExtensions.kt (+21 -7)
📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/tools/feature/send/model/SendItemType.kt (+1 -0)
📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/tools/feature/send/util/SentItemTypeExtensions.kt (+1 -0)
📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/tools/feature/send/viewsend/ViewSendViewModel.kt (+3 -1)
📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/vault/feature/itemlisting/VaultItemListingViewModel.kt (+3 -1)
📝 core/src/main/kotlin/com/bitwarden/core/data/manager/model/FlagKey.kt (+9 -0)
📝 data/build.gradle.kts (+1 -0)
📝 data/src/main/kotlin/com/bitwarden/data/manager/file/FileManager.kt (+14 -0)
📝 data/src/main/kotlin/com/bitwarden/data/manager/file/FileManagerImpl.kt (+74 -0)
data/src/main/kotlin/com/bitwarden/data/manager/model/FolderFileEntry.kt (+10 -0)

...and 8 more files

📄 Description

🎟️ Tracking

📔 Objective

Add folder support to Bitwarden Send, allowing users to select an entire folder from their computer with a single click.
The folder (including all its files and subfolders) will be automatically compressed into a single encrypted package (zip) and uploaded just like a regular file Send.
Uses SDK WASM implementation for the compression.
Uses storage compression (basically zero, no compression algorithm at all)

Behind innovation-sprint-2026-send-folder feature flag.

CI expected to fail until SDK PR is merged.

📸 Screenshots

https://github.com/user-attachments/assets/5fd49ddd-0d92-4821-a0ac-ac7ebde7cce1

Create new send type:
image

Folder send:
image

Folder selected:
image

Empty folder:
image


🔄 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/6730 **Author:** [@mzieniukbw](https://github.com/mzieniukbw) **Created:** 3/27/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `innovation-sprint-2026-send-folder` --- ### 📝 Commits (4) - [`2946186`](https://github.com/bitwarden/android/commit/2946186b517bd5b2f37ad1fb93fead7936a60748) send folder - [`13b41d1`](https://github.com/bitwarden/android/commit/13b41d104a84aebb0213cb90edeeef8112300552) behind feature flag - [`1b69c2a`](https://github.com/bitwarden/android/commit/1b69c2a066f88cb156c6b56cbe5a680e1f39aad2) empty folder invalid - [`7e91e71`](https://github.com/bitwarden/android/commit/7e91e71d950a41796f9da1ec6f763f859b06b891) extract lib document file version ### 📊 Changes **28 files changed** (+645 additions, -22 deletions) <details> <summary>View changed files</summary> 📝 `app/src/main/kotlin/com/x8bit/bitwarden/data/vault/datasource/sdk/VaultSdkSource.kt` (+17 -0) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/data/vault/datasource/sdk/VaultSdkSourceImpl.kt` (+18 -0) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/data/vault/manager/SendManager.kt` (+10 -0) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/data/vault/manager/SendManagerImpl.kt` (+120 -0) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/tools/feature/send/SendScreen.kt` (+10 -6) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/tools/feature/send/SendViewModel.kt` (+7 -1) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/tools/feature/send/addedit/AddEditSendContent.kt` (+88 -0) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/tools/feature/send/addedit/AddEditSendScreen.kt` (+11 -0) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/tools/feature/send/addedit/AddEditSendViewModel.kt` (+134 -6) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/tools/feature/send/addedit/handlers/AddEditSendHandlers.kt` (+9 -0) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/tools/feature/send/addedit/util/AddEditSendStateExtensions.kt` (+21 -7) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/tools/feature/send/model/SendItemType.kt` (+1 -0) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/tools/feature/send/util/SentItemTypeExtensions.kt` (+1 -0) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/tools/feature/send/viewsend/ViewSendViewModel.kt` (+3 -1) 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/vault/feature/itemlisting/VaultItemListingViewModel.kt` (+3 -1) 📝 `core/src/main/kotlin/com/bitwarden/core/data/manager/model/FlagKey.kt` (+9 -0) 📝 `data/build.gradle.kts` (+1 -0) 📝 `data/src/main/kotlin/com/bitwarden/data/manager/file/FileManager.kt` (+14 -0) 📝 `data/src/main/kotlin/com/bitwarden/data/manager/file/FileManagerImpl.kt` (+74 -0) ➕ `data/src/main/kotlin/com/bitwarden/data/manager/model/FolderFileEntry.kt` (+10 -0) _...and 8 more files_ </details> ### 📄 Description ## 🎟️ Tracking <!-- Paste the link to the Jira or GitHub issue or otherwise describe / point to where this change is coming from. --> ## 📔 Objective Add folder support to Bitwarden Send, allowing users to select an entire folder from their computer with a single click. The folder (including all its files and subfolders) will be automatically compressed into a single encrypted package (zip) and uploaded just like a regular file Send. Uses SDK WASM implementation for the compression. Uses storage compression (basically zero, no compression algorithm at all) Behind `innovation-sprint-2026-send-folder` feature flag. CI expected to fail until [SDK PR](https://github.com/bitwarden/sdk-internal/pull/881) is merged. ## 📸 Screenshots https://github.com/user-attachments/assets/5fd49ddd-0d92-4821-a0ac-ac7ebde7cce1 Create new send type: <img width="843" height="668" alt="image" src="https://github.com/user-attachments/assets/d637c609-988e-4512-973e-c49c00b07b8f" /> Folder send: <img width="851" height="468" alt="image" src="https://github.com/user-attachments/assets/268c6bf7-6a7b-4818-a961-90bb79bffc7e" /> Folder selected: <img width="789" height="242" alt="image" src="https://github.com/user-attachments/assets/f2f343b7-e646-4092-814a-3455ed081646" /> Empty folder: <img width="502" height="207" alt="image" src="https://github.com/user-attachments/assets/5126742b-fa3a-4478-a809-f5de647c56c4" /> --- <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-18 16:11: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#32836