Skip to content

Conversation

@lightninglu10
Copy link
Contributor

@lightninglu10 lightninglu10 commented Jul 1, 2025

Remove code snippet support from reviews

This PR removes the optional code property and <code> block support across type definitions, parsers, and documentation.

Key Changes:

  • Deleted code?: string from type interfaces (src/types.ts, types.ts, FILE_STRUCTURE.md).
  • Stripped out <code> parsing logic in src/xml-parser.ts.
  • Cleaned up system prompt templates (src/agent/agent-system-prompt.ts, src/system-prompt.ts).
  • Updated documentation in FILE_STRUCTURE.md accordingly.

Review Notes:

  • Ensure no residual <code> references remain.
  • Confirm existing tests for comment parsing still pass without handling.

@lightninglu10 lightninglu10 self-assigned this Jul 1, 2025
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❇️ CodePress Review Summary

👋 Hey team,

Overall the changes look great! No specific issues found.

Here's the quick rundown:

✅ Decision: APPROVE
The removal is consistent and intentional, cleaning up unused code snippet support; no blocking issues detected.

@lightninglu10 lightninglu10 merged commit 9ec08f0 into main Jul 1, 2025
4 checks passed
@lightninglu10 lightninglu10 deleted the better-suggestions branch July 1, 2025 06:35
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.

2 participants