Skip to content

Add delete action to SD card file menu#360

Open
brannum wants to merge 1 commit into
cryptoadvance:masterfrom
brannum:fix-sd-card-delete-file
Open

Add delete action to SD card file menu#360
brannum wants to merge 1 commit into
cryptoadvance:masterfrom
brannum:fix-sd-card-delete-file

Conversation

@brannum
Copy link
Copy Markdown

@brannum brannum commented Jun 2, 2026

Fixes #359.\n\nThis adds a delete flow to the existing Open SD card file menu:\n\n- keeps the current grouped file picker for .psbt, .txt, and .json files\n- adds a Delete file action from that menu\n- asks the user to pick the SD card file to delete\n- confirms before removing the file\n- returns to file selection after deleting, or exits cleanly if the last matching file was removed\n\nTests:\n\n- PYTHONPATH=test:src:. .venv/bin/python -m unittest tests_native.test_sd_host_file_menu -v\n- .venv/bin/python test/run_native_tests.py

@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 2, 2026

Deploy Preview for specter-diy-docs ready!

Name Link
🔨 Latest commit ff81910
🔍 Latest deploy log https://app.netlify.com/projects/specter-diy-docs/deploys/6a1f304c9653920008dd6a9c
😎 Deploy Preview https://deploy-preview-360--specter-diy-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@Schnuartz
Copy link
Copy Markdown
Contributor

Tested it and it works.

But I would:

  1. Put the button as a extra section currently it is just below some specific data which does not makes really sense.

Also I would add a format everything button after you click on delete, so that everything on the SD card gets reliably deleted.

IMG_20260604_223034 IMG_20260604_223043

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SD Card Transaktion Data and Wallet Descriptors cannot be deleted at the Specter DIY

2 participants