Implement TUI search and mutation workflows

This commit is contained in:
Hermes Agent committed 2026-08-10 10:11:34 +00:00
1 parent c86ea9eb0e
commit ce3e4a9f79
13 files changed
+1195 -93

No files matched your search

+8 -3
View File
@@ -164,7 +164,6 @@ const LOCKABLE: &[Mode] = &[
Mode::Help,
Mode::Command,
];
const EDITOR_AND_OVERLAYS: &[Mode] = &[Mode::Editor, Mode::Help, Mode::Command, Mode::Dialog];
#[cfg(test)]
const ALL: &[Mode] = &[
Mode::Browser,
@@ -232,7 +231,13 @@ pub static ACTIONS: &[ActionSpec] = &[
label: "back",
command: "cancel",
bindings: keys!((KeyCode::Esc, KeyModifiers::NONE, "Esc")),
modes: EDITOR_AND_OVERLAYS,
modes: &[
Mode::Browser,
Mode::Editor,
Mode::Help,
Mode::Command,
Mode::Dialog,
],
},
ActionSpec {
action: Action::Lock,
@@ -507,7 +512,7 @@ pub static ACTIONS: &[ActionSpec] = &[
label: "grep decrypted entries",
command: "grep",
bindings: keys!((KeyCode::Char('\\'), KeyModifiers::NONE, "\\")),
modes: &[Mode::Browser],
modes: BROWSER_LIKE,
},
ActionSpec {
action: Action::RemoveEntry,