Skip to content

Add 'Submit Review' button and 'Auto-submit' toggle to diff view#33

Merged
trezm merged 2 commits intomainfrom
feat/add-review-submit-toggle
Mar 11, 2026
Merged

Add 'Submit Review' button and 'Auto-submit' toggle to diff view#33
trezm merged 2 commits intomainfrom
feat/add-review-submit-toggle

Conversation

@trezm
Copy link
Copy Markdown
Owner

@trezm trezm commented Mar 11, 2026

This PR enhances the review process by allowing users to submit reviews directly from the Diff view.

Changes:

  • Backend: Added a new endpoint POST /api/sessions/{id}/input to send raw input (like \r) to a running session's PTY.
  • Frontend:
    • Added a Submit Review button to the DiffViewer header.
    • Added an Auto-submit on view toggle that automatically submits the review when the diff is loaded.
    • The auto-submit preference is persisted in localStorage.
    • Added toast notifications to confirm submission success or display errors.

- Add POST /api/sessions/{id}/input endpoint to send PTY input
- Add 'Submit Review' button to DiffViewer to manually trigger review submission
- Add 'Auto-submit on view' toggle to automatically submit when diff is loaded
- Persist auto-submit preference in localStorage
- Provide toast feedback for submission status
@trezm trezm force-pushed the feat/add-review-submit-toggle branch from 414d223 to 26abdf4 Compare March 11, 2026 19:05
@trezm trezm merged commit 42a1d5e into main Mar 11, 2026
3 checks passed
@trezm trezm deleted the feat/add-review-submit-toggle branch March 11, 2026 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant