#585

feat: Allow for patch stage/unstage in Git diff viewer

Openatreatwants to merge intofrom

Changes

  • Allows user to hover over hunks in git diff viewer and stage each individually.
  • Renders action button in gutter next to line numbers.
  • Will draw a vertical line on the left side of the hunk to highlight which changes are staged.
  • When hunk contains only a deletion, will render action button on right side of deletion hunk

Idea is to keep action buttons near the center of the scrollable region so see can skim through changes and quickly stage/unstage hunks.

Screenshots:

stage hunk:

unstage hunk:

unstage deletion only:

Activity

25
chatgpt-codex-connector[bot]reviewed7mo ago
chatgpt-codex-connector[bot]7mo ago

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: dfee6d8a7e

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

chatgpt-codex-connector[bot]reviewed7mo ago
chatgpt-codex-connector[bot]7mo ago

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d17749363c

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

chatgpt-codex-connector[bot]reviewed7mo ago
chatgpt-codex-connector[bot]7mo ago

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 627fbe5aa4

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

xkonjinreviewed7mo ago
xkonjin7mo ago

Automated review focusing on bugs, security, and tests.

Overall: I reviewed the diff and did not spot obvious bugs or security risks. Please ensure tests cover new logic and edge cases.

chatgpt-codex-connector[bot]reviewed7mo ago
chatgpt-codex-connector[bot]7mo ago

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f586b57c9e

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".