Commit Graph

12 Commits

Author SHA1 Message Date
david_bai 7ee9360b17 feat:Receiver adds a secure save button
Receiver adds a secure save button, used to save cache files during connection interruptions, making it convenient to resume transfers next time.
Button tooltip information added in multiple languages.
2025-08-15 23:49:24 +08:00
david_bai e83a95b354 chore(lang):Change 'Start Sending' displayed on the send button to 'Sync'
Meanwhile, the previous click status Sended is changed to Synced, making it easier for people to understand the characteristic that a connection can sustain transmission
2025-08-03 16:03:52 +08:00
david_bai 60c20fcfa6 feat(add features page):Added features page
Added features page.
Synchronously update SEO meta and corresponding international translations.
2025-07-24 23:32:16 +08:00
david_bai 7e055643c5 Added description of breakpoint resume feature 2025-07-22 00:59:28 +08:00
david_bai 34d1897093 Fix the issue where the sender and receiver (without requesting existing files) have inconsistent states in resumeable file transfer with broken connections 2025-07-21 23:06:32 +08:00
david_bai 522f567fb4 feat(transfer): implement resumable file uploads
This commit introduces support for resumable file transfers when using the 'Save to Directory' feature.

Key changes:
- The WebRTC protocol is updated to include an 'offset' in the 'fileRequest' message.
- 'FileReceiver' now checks for partially downloaded files in the selected directory. If a partial file is found, it requests to resume the transfer from the offset of the existing file size. It uses '{ keepExistingData: true }' to append to the file.
- 'FileSender' now handles requests with an 'offset' and uses 'file.slice(offset)' to send only the remaining data.
- Progress calculation is adjusted to reflect the resumed download state.

This provides a more robust user experience for large file transfers, allowing recovery from interruptions like network loss or accidental tab closure.
2025-07-16 22:50:55 +08:00
david_bai 26cb20f8f1 distinguish file choose tips and drag tips 2025-07-03 20:27:33 +08:00
david_bai f09452ac2a reformat all ts code via prettier 2025-06-22 21:34:54 +08:00
david_bai 8baf16ee8c translate finished 2025-06-22 10:13:47 +08:00
david_bai 3c4e15df93 格式化 2025-06-10 23:25:38 +08:00
david_bai 27ed495571 移动文件 2025-06-07 16:10:45 +08:00
david_bai 4d3eb551c7 前端备份 2025-05-23 22:41:56 +08:00