Skip to content

Add delete actions to SD card file picker#361

Open
BenItBuhner wants to merge 1 commit into
cryptoadvance:masterfrom
BenItBuhner:bounty/specter-diy-359-delete-sd-files
Open

Add delete actions to SD card file picker#361
BenItBuhner wants to merge 1 commit into
cryptoadvance:masterfrom
BenItBuhner:bounty/specter-diy-359-delete-sd-files

Conversation

@BenItBuhner
Copy link
Copy Markdown

Fixes #359.

What changed

  • Adds delete actions to the Open SD card file picker for matching .psbt, .txt, and .json files.
  • Confirms before removing a file from the SD card.
  • Refreshes the picker after a successful deletion so users can continue opening or deleting files.
  • Keeps non-matching files hidden from both open and delete choices.

Validation

  • python3 -m py_compile src/hosts/sd.py test/tests_native/test_sd_host.py
  • git diff --check
  • cp src/config_default.py src/config.py && .venv/bin/python test/run_native_tests.py; rc=$?; rm -f src/config.py; exit $rc

Note: the temporary src/config.py is only needed in this local Python environment because an unrelated installed config package shadows the repo fallback during native tests.

@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 3, 2026

Deploy Preview for specter-diy-docs ready!

Name Link
🔨 Latest commit 5c8a794
🔍 Latest deploy log https://app.netlify.com/projects/specter-diy-docs/deploys/6a1fa58c25e3a70008e18e1e
😎 Deploy Preview https://deploy-preview-361--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.

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

1 participant