Skip to content

feat: added a delete feature to the program#4

Open
TNhelly wants to merge 1 commit intojsubroto:mainfrom
TNhelly:feat/add-delete
Open

feat: added a delete feature to the program#4
TNhelly wants to merge 1 commit intojsubroto:mainfrom
TNhelly:feat/add-delete

Conversation

@TNhelly
Copy link

@TNhelly TNhelly commented Mar 7, 2026

Summary

Adds delete functionality

Changes

  • Added Action::Delete variant
  • Added delete_current_card() method to App
  • Added delete_card() to store_fs.rs (removes .md file + updates order.txt)
  • Added delete_card() to Provider trait and LocalProvider impl
  • Added 'd' key binding in main.rs
  • Updated help text

Testing

  • Card disappears from UI when 'd' is pressed
  • .md file is removed from disk
  • Card ID is removed from order.txt
  • Board reloads without errors after deletion
  • Error handling for missing cards/providers

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.

1 participant