Skip to content

Commit 04c5249

Browse files
authored
Drop Core/CLI: "Ready-to-receive" and "send-files-to" features (#107)
Enhance the user experience by allowing receivers to generate QR codes for easy connection and enabling senders to connect to waiting receivers using tickets and confirmation codes. New declarations: - `run_ready_to_receive` and `run_send_files_to` functions for file transfer - `ReadyToReceiveSubscriber` and `SendFilesToSubscriber` traits for event handling - `prompt_for_credentials` function for asynchronous user input of peer credentials CLI: - subcommands `wait-to-receive` and `send-to` for improved file transfer functionality - improved progress tracking - added option for manual credential entry TUI: - Added new managers for handling sending files to a receiver and ready to receive operations. - Introduced new TUI pages for sending files to a receiver and monitoring the progress of file transfers. - Enhanced the home application to include options for sending files to and waiting to receive files, with corresponding navigation and status updates. - Implemented QR code rendering utilities for better user experience during file transfers. - Added clipboard utility for copying text to the system clipboard, enhancing user experience during file transfers. - Updated various TUI components to streamline return statements and improve code readability. - Introduced new shortcuts for copying ticket and confirmation codes in the ready-to-receive and send files progress screens. - Refactored layout and helper footer components for better organization and clarity. Miscellaneous: - Increased the length constraint for connection info from 5 to 6 to accommodate additional information. - Adjusted the footer length constraint from 4 to 5 for better alignment and presentation. - Improved logging - Refactoring
1 parent 8330598 commit 04c5249

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+6654
-310
lines changed

.github/workflows/arkdrop-android-bindings-release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,17 @@ jobs:
2121
working-directory: ./drop-core/uniffi/bindings/android
2222

2323
steps:
24+
- name: Free Disk Space
25+
uses: jlumbroso/free-disk-space@main
26+
with:
27+
tool-cache: false
28+
android: false
29+
dotnet: true
30+
haskell: true
31+
large-packages: true
32+
docker-images: true
33+
swap-storage: true
34+
2435
- uses: actions/checkout@v4
2536
- uses: Swatinem/rust-cache@v2
2637

drop-core/cli/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ name = "arkdrop-cli"
2020
path = "src/main.rs"
2121

2222
[dependencies]
23-
arkdrop-common = { path = "../common" }
23+
arkdrop-common = { path = "../common" }
2424
arkdropx-sender = { path = "../exchanges/sender" }
25-
arkdropx-receiver = { path = "../exchanges/receiver" }
25+
arkdropx-receiver = { path = "../exchanges/receiver" }
2626

2727
toml = "0.8"
2828
anyhow = "1.0"

0 commit comments

Comments
 (0)