Skip to content

Review a git diff or PR, sharing state with the plannotator browser app #59

Description

@bendrucker

plannotator-tui only reviews documents. It could also support reviewing diffs.

The browser app handles them: plannotator review [--git | --gitbutler] [--local | --no-local] [--tailscale] [PR_URL] reviews local VCS changes or a GitHub/GitLab PR, backed by a semantic-diff/ directory under the shared Plannotator data dir.

Both already resolve XDG_DATA_HOME/plannotator and persist annotations to the same location.

Proposal

Let plannotator-tui open a diff or a PR (mirroring plannotator review's flags where sensible) and annotate it the same way it annotates a document today, reading and writing semantic-diff/ so a review started in the browser can finish in the terminal, or vice versa.

Interested in contributing a PR for this, will investigate further, opening this to track notes on what would be needed for this and how much effort it might be.

Activity

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions