-
Notifications
You must be signed in to change notification settings - Fork 2.6k
feat: enhance diff streaming and content insertion #3055
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
818d50a to
6fd2aa7
Compare
Add streaming support with partial content display and improve error handling: - Validate inputs before processing - Show clear error messages for missing files - Support diff view streaming updates - Maintain file context during partial updates - Fix line number validation Signed-off-by: Eric Wheeler <[email protected]>
- Add streaming support for partial diff updates - Add auto-scroll control to diff view provider - Improve loading state handling in code accordion - Enhance error handling and feedback for failed diffs - Optimize UI responsiveness during streaming updates Signed-off-by: Eric Wheeler <[email protected]>
- Add consecutive mistake tracking for insert content operations - Add telemetry for insert content errors with PostHog integration - Add rooIgnore validation check - Add line numbers to final content output - Show error messages only after 2+ consecutive mistakes - Match error handling patterns from applyDiffTool Signed-off-by: Eric Wheeler <[email protected]>
- Use askApproval helper for consistent feedback handling with applyDiffTool - Fix line number display to be 1-based in messages - Remove redundant error message since askApproval handles feedback Signed-off-by: Eric Wheeler <[email protected]>
6fd2aa7 to
01b9399
Compare
|
stale |
Context
Adds streaming diff UI for:
apply_diffinsert_contentsearch_and_replace(pending)you might think these should be separate pull requests, but they will benefit from some shared functionality to reduce duplicate code, so they need to be the single PR.
Implementation
How to Test