Implement profile deletion with undo functionality

- Add delete_profile() to profiles.rs - moves profile to undo stack
- Add undo_history field and undo_delete() method to App struct
- Add cli_delete_profile() and cli_undo_delete() CLI commands
- Add delete-profile <npub> and undo-delete to USAGE
- Update CHECKPOINT-encryption.md checkpoint

Verification: cargo test (91 passed), clippy clean, fmt clean, release build successful
This commit is contained in:
Avi 2026-08-22 15:29:26 -05:00
commit db81f8dfda
27 changed files with 163 additions and 5 deletions

11
concept3.svg Normal file
View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="64" height="64" viewBox="0 0 64 64" version="1.1" xmlns="http://www.w3.org/2000/svg">
<!-- Main key shape formed by hummingbird silhouette -->
<!-- Body creates the key bow, beak forms the tip, wings suggest the handle -->
<path d="M12 50 C30 15, 50 15, 50 50 C50 45, 48 40, 42 35 C35 30, 25 30, 20 40 C12 50, 20 55, 25 50 Z" fill="#FF6B6E"/>
<!-- Beak - the key tip, prominent and pointing right -->
<path d="M50 38 L56 44 L50 50 Z" fill="white"/>
<!-- Wings - subtle curves suggesting the handle/key shape -->
<path d="M22 35 C25 25, 35 25, 40 35 C45 45, 42 52, 38 50 Z" fill="none" stroke="#FFFFFF" stroke-width="1.5"/>
<path d="M40 35 C35 45, 30 45, 25 35" fill="none" stroke="#FFFFFF" stroke-width="1.5"/>
</svg>

After

Width:  |  Height:  |  Size: 785 B