Skip to content

907 add ability to download files#921

Merged
1Blademaster merged 12 commits into
mainfrom
907-add-ability-to-download-files
Dec 31, 2025
Merged

907 add ability to download files#921
1Blademaster merged 12 commits into
mainfrom
907-add-ability-to-download-files

Conversation

@1Blademaster
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings December 15, 2025 20:48
@1Blademaster 1Blademaster linked an issue Dec 15, 2025 that may be closed by this pull request
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds the ability to download files from the drone's FTP server. The implementation includes backend support for reading files via MAVFTP protocol, frontend state management for file operations, and a UI component for displaying and downloading file contents.

Key changes:

  • Backend implementation of file reading using MAVFTP burst read and gap-filling operations
  • Redux state management for tracking file read operations and storing file bytes
  • UI enhancements to display file content preview and provide download functionality

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
radio/app/endpoints/ftp.py Added readFile endpoint to handle file read requests from clients
radio/app/controllers/ftpController.py Implemented MAVFTP file reading with burst read, gap detection, and gap-filling logic
gcs/src/redux/slices/ftpSlice.js Added state management for file reading operations and file bytes storage
gcs/src/redux/middleware/socketMiddleware.js Added socket event handling for file read results
gcs/src/redux/middleware/emitters.js Added emitter for triggering file read operations
gcs/src/components/config/ftp.jsx Enhanced UI with file content preview and download button
.vscode/settings.json Updated mypy configuration (unrelated to main feature)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .vscode/settings.json Outdated
Comment thread gcs/src/components/config/ftp.jsx Outdated
Comment thread radio/app/controllers/ftpController.py Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 10 out of 10 changed files in this pull request and generated 5 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread radio/tests/test_ftp.py Outdated
Comment thread gcs/src/components/config/ftp.jsx Outdated
Comment thread radio/app/endpoints/ftp.py
Comment thread radio/app/endpoints/ftp.py
Comment thread radio/app/controllers/ftpController.py Outdated
@1Blademaster 1Blademaster requested a review from a team December 16, 2025 22:00
Copy link
Copy Markdown
Contributor

@NexInfinite NexInfinite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me locally, code looks good but it is a large diff so I may have missed some things.

Image

Tested on linux

@1Blademaster 1Blademaster merged commit 5c1d132 into main Dec 31, 2025
8 checks passed
@1Blademaster 1Blademaster deleted the 907-add-ability-to-download-files branch December 31, 2025 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add ability to download files

3 participants