Radish alpha
r
rad:z39mP9rQAaGmERfUMPULfPUi473tY
Radicle terminal user interface
Radicle
Git
bin/patch: Remove review operation
Merged did:key:z6MkgFq6...nBGz opened 4 months ago
2 files changed +0 -10 37cf838b e7f33573
modified bin/commands/patch/common.rs
@@ -19,7 +19,6 @@ pub enum Mode {
pub enum PatchOperation {
    Checkout,
    Diff,
-
    Review,
    Show,
}

@@ -32,9 +31,6 @@ impl Display for PatchOperation {
            PatchOperation::Diff => {
                write!(f, "diff")
            }
-
            PatchOperation::Review => {
-
                write!(f, "review")
-
            }
            PatchOperation::Show => {
                write!(f, "show")
            }
modified bin/commands/patch/list.rs
@@ -390,11 +390,6 @@ impl App {
                operation: Some(PatchOperation::Diff),
            });
        }
-
        if ui.has_input(|key| key == Key::Char('r')) {
-
            ui.send_message(Message::Exit {
-
                operation: Some(PatchOperation::Review),
-
            });
-
        }
        if ui.has_input(|key| key == Key::Char('c')) {
            ui.send_message(Message::Exit {
                operation: Some(PatchOperation::Checkout),
@@ -582,7 +577,6 @@ impl App {
                    ("enter", "show"),
                    ("c", "checkout"),
                    ("d", "diff"),
-
                    ("r", "review"),
                    ("/", "search"),
                    ("?", "help"),
                ]