Module
poke/review_ui
src/poke/review_ui.pookaA review has a name, a place and a decision. Keep those visible around the diff, with the same frame in plain terminals and coloured ones. This module is pure so the whole conversation can be snapshot-tested without a terminal.
API reference
class Progress(accepted: Int, rejected: Int, skipped: Int)
accepted: Int
INFERRED
Intrejected: Int
INFERRED
Intskipped: Int
INFERRED
Int
INFERRED
fn(Int, Int, Int) -> poke/review_ui.Progressheader(
name: String,
directory: String,
index: Int,
total: Int,
comparison: Comparison,
_view: View,
width: Int,
mode: Mode
) -> String
INFERRED
fn(String, String, Int, Int, poke/diff.Comparison, poke/diff.View, Int, poke/palette.Mode) -> Stringactions(show_diff: Bool, _view: View, _width: Int, mode: Mode) -> String
INFERRED
fn(Bool, poke/diff.View, Int, poke/palette.Mode) -> Stringfeedback(action: String, name: String, mode: Mode) -> String
INFERRED
fn(String, String, poke/palette.Mode) -> Stringsummary(progress: Progress, pending: Int, width: Int, mode: Mode) -> String
INFERRED
fn(poke/review_ui.Progress, Int, Int, poke/palette.Mode) -> String