Commit 04c5249
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
- Refactoring1 parent 8330598 commit 04c5249
File tree
42 files changed
+6654
-310
lines changed- .github/workflows
- drop-core
- cli
- src
- common/src
- entities/src
- exchanges
- receiver
- src
- ready_to_receive
- sender/src
- send_files
- tui
- src
- apps
- utilities
- uniffi/src
- receiver
- sender
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| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
24 | 35 | | |
25 | 36 | | |
26 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments