Skip to content

Startup flag for filter_unreviewed (F) #365

Closed

Description

@denysshnurenko

What I'd like

A startup form of F (filter_unreviewed), to match every other view toggle:

  • --filter-unreviewed flag
  • REVDIFF_FILTER_UNREVIEWED env var

Why

filter_unreviewed is the only toggle in the keymap without one. Every other view state can be chosen before the TUI opens:

key action startup form
v toggle_collapsed --collapsed
C toggle_compact --compact
w toggle_wrap --wrap
t toggle_tree --no-tree
L toggle_line_numbers --line-numbers
B toggle_blame --blame
W toggle_word_diff --word-diff
u toggle_untracked --untracked
F filter_unreviewed —

This matters for me because revdiff is opened by a script, not by hand: a PR review starts from an agent that runs revdiff in a terminal overlay with the flags for that review. I can put the whole view in that command except this one, so every review starts by pressing F myself.

Typing the key into the terminal after launch is not a fix — it races the TUI's startup and can land in whatever is on screen at that moment.

Together with #324

With --reviewed <file> preloading the marks and --filter-unreviewed starting filtered, a second pass over a large PR becomes one command that opens exactly what is left. Separately each is useful; the pair is what makes the resumed review automatic.

Activity

  1. added a commit that references this issue on Sep 21, 2026
    2f0e60e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions