Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add file drag-and-drop to webui update tab #2590

Merged
merged 2 commits into from Mar 19, 2024

Conversation

deadbytefpv
Copy link
Contributor

@deadbytefpv deadbytefpv commented Mar 12, 2024

NewFirmwareUpload

I hope it's much clearer now you can drag-and-drop the firmware file to update.

Selecting or Dropping the Firmware File starts the upload automatically and if the file is a valid firmware file, firmware update should start as normal.

Tested with a Vantac TX and RX.
Test Method:
Build new firmware to be flashed into the devices.
Activate wifi mode on device. Load their WebUI. Go into Update Tab. Build a firmware (version doesn't matter much).
Failure mode tested by uploading a TX firmware into RX device, and RX firmware into a TX device. User should still be able to reupload file.
Success mode tested by uploading the appropriate firmware file into their respective device. Terminates as before.

@deadbytefpv deadbytefpv changed the title Add file drag-and-drop to update tab Add file drag-and-drop to webui update tab Mar 14, 2024
@pkendall64 pkendall64 added the house keeping 🧹 Cleanup of code and house keeping label Mar 15, 2024
src/html/scan.js Outdated Show resolved Hide resolved
@pkendall64 pkendall64 merged commit b0f30c1 into ExpressLRS:master Mar 19, 2024
43 checks passed
mha1 pushed a commit to mha1/ExpressLRS that referenced this pull request Mar 21, 2024
* Add file drag-and-drop to update tab

* Refactored File Handler
@deadbytefpv deadbytefpv deleted the dbWebUIupload branch April 9, 2024 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
house keeping 🧹 Cleanup of code and house keeping V3.4 🍟
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants