Skip to content

Commit 17f0da7

Browse files
authored
Merge pull request #160 from Cloud-Code-AI/159-the-code-review-message-isnt-formatted-properly
fix: updated the message
2 parents f8cffc2 + 0effd6b commit 17f0da7

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

kaizen/helpers/output.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,13 @@
1313

1414
PR_COLLAPSIBLE_TEMPLATE = """
1515
<details>
16-
<summary>[{confidence}] -> {comment} | \n
17-
**Potential Solution:**: {solution}</summary>
16+
<summary><strong>[{confidence}]<strong> -> {comment} \n\n
17+
</strong> Potential Solution:</strong> {solution}</summary>
1818
19-
20-
{file_name} | {start_line} - {end_line}
21-
</details>
19+
<blockquote>
20+
<p><code>{file_name} | {start_line} - {end_line}</code></p>
21+
</blockquote>
22+
</details> \n
2223
2324
"""
2425

kaizen/reviewer/code_review.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def create_pr_review_text(self, topics):
166166
markdown_output += ct + "\n"
167167

168168
if high_ranked_issues > 0:
169-
status_msg = "❗ Attention Required: This PR has potential issues. 🚨\n\n"
169+
status_msg = "❗ **Attention Required:** This PR has potential issues. 🚨\n\n"
170170
else:
171-
status_msg = "✅ All Clear: This PR is ready to merge! 👍\n\n"
171+
status_msg = "✅ **All Clear:** This PR is ready to merge! 👍\n\n"
172172
return markdown_title + status_msg + markdown_output

0 commit comments

Comments
 (0)