Skip to content

feat: TUI dashboard actions (delete, consolidate, prune, decay)#31

Merged
pszymkowiak merged 1 commit intomainfrom
feat/tui-actions
Mar 16, 2026
Merged

feat: TUI dashboard actions (delete, consolidate, prune, decay)#31
pszymkowiak merged 1 commit intomainfrom
feat/tui-actions

Conversation

@pszymkowiak
Copy link
Contributor

Summary

  • Add executable actions to TUI dashboard: d (delete memory), c (consolidate topic), p (prune stale), D (apply decay)
  • Confirmation dialog before all destructive actions (y/N)
  • Help overlay (?) with full keybinding reference
  • Version number displayed in tab title and help footer
  • Context-specific status bar showing available actions per tab
  • Status messages with auto-expire (5s) for action feedback
  • Safe UTF-8 string truncation (fixes potential panic on multi-byte chars)
  • Delete from search results via Del key
  • Replace remaining symbol with ASCII #

Test plan

  • cargo build passes
  • cargo clippy -- -D warnings clean
  • cargo fmt --check clean
  • 152 tests pass
  • Manual test: icm dashboard opens correctly
  • Manual test: actions trigger confirmation dialogs
  • Manual test: ? shows help overlay

Add delete, consolidate, prune, and decay actions with confirmation
dialogs. Includes help overlay (?), version display, context-specific
status bar, safe UTF-8 truncation, and search result deletion.
@pszymkowiak pszymkowiak added enhancement New feature or request feature tui labels Mar 16, 2026
@pszymkowiak
Copy link
Contributor Author

🧞 wshm · Automated triage by AI

📊 Automated PR Analysis

Type feature
🟡 Risk medium

Summary

Adds interactive actions to the TUI dashboard including delete, consolidate, prune, and decay operations with confirmation dialogs, a help overlay, version display, context-specific status bar, auto-expiring status messages, and fixes a potential panic on UTF-8 string truncation.

Review Checklist

  • Tests present
  • Breaking change
  • Docs updated

🤖 Analyzed automatically by wshm · This is an automated analysis, not a human review.

@pszymkowiak pszymkowiak merged commit 56a0811 into main Mar 16, 2026
1 check passed
@pszymkowiak pszymkowiak deleted the feat/tui-actions branch March 16, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request feature tui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant