Refactored the UI module and the handlers module to do a more chain-of-responsibility method to manage the UI's and handlers for different key events. Also, initial work for indexer settings as well

This commit is contained in:
2023-08-08 10:50:07 -06:00
parent 718613d59f
commit cf11527fef
67 changed files with 5255 additions and 2216 deletions
+5
View File
@@ -22,6 +22,7 @@ generate_keybindings! {
edit,
logs,
tasks,
restrictions,
refresh,
update,
events,
@@ -95,6 +96,10 @@ pub const DEFAULT_KEYBINDINGS: KeyBindings = KeyBindings {
key: Key::Char('t'),
desc: "Tasks",
},
restrictions: KeyBinding {
key: Key::Char('t'),
desc: "Restrictions",
},
refresh: KeyBinding {
key: Key::Char('r'),
desc: "Refresh",