mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-12 19:05:18 +00:00
feat: include item count in TODO sections summary
This commit is contained in:
parent
8c7c087931
commit
520faa7f2c
1 changed files with 1 additions and 1 deletions
|
|
@ -274,7 +274,7 @@ def convert_to_markdown_v2(output_data: dict,
|
|||
if is_value_no(value):
|
||||
markdown_text += f"{emoji} <strong>No TODO sections</strong>"
|
||||
else:
|
||||
markdown_text += f"<details><summary>{emoji} <strong>TODO sections</strong></summary>\n\n"
|
||||
markdown_text += f"<details><summary>{emoji} <strong>TODO sections ({len(value)} items)</strong></summary>\n\n"
|
||||
if isinstance(value, list):
|
||||
markdown_text += "<ul>\n"
|
||||
for todo_item in value:
|
||||
|
|
|
|||
Loading…
Reference in a new issue