mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-02 03:40:38 +08:00
style: remove entry info from the todo section header
related comment: https://github.com/qodo-ai/pr-agent/pull/1869#issuecomment-2979088345
This commit is contained in:
@ -284,9 +284,8 @@ def convert_to_markdown_v2(output_data: dict,
|
||||
markdown_text += f"{emoji} <strong>No TODO sections</strong>"
|
||||
else:
|
||||
markdown_todo_items = format_todo_items(value)
|
||||
todo_entry_label = f"{len(value)} " + "entries" if len(value) > 1 else "entry"
|
||||
|
||||
markdown_text += f"{emoji} <strong>TODO sections ({todo_entry_label})</strong>\n<br><br>\n"
|
||||
markdown_text += f"{emoji} <strong>TODO sections</strong>\n<br><br>\n"
|
||||
markdown_text += f"<details><summary>{todo_summary}</summary>\n\n"
|
||||
markdown_text += markdown_todo_items
|
||||
markdown_text += "\n</details>\n"
|
||||
@ -296,9 +295,8 @@ def convert_to_markdown_v2(output_data: dict,
|
||||
markdown_text += f"### {emoji} No TODO sections\n\n"
|
||||
else:
|
||||
markdown_todo_items = format_todo_items(value)
|
||||
todo_entry_label = f"{len(value)} " + "entries" if len(value) > 1 else "entry"
|
||||
|
||||
markdown_text += f"### {emoji} TODO sections ({todo_entry_label})\n<details><summary>{todo_summary}</summary>\n\n"
|
||||
markdown_text += f"### {emoji} TODO sections\n<details><summary>{todo_summary}</summary>\n\n"
|
||||
markdown_text += markdown_todo_items
|
||||
markdown_text += "\n</details>\n\n"
|
||||
elif 'can be split' in key_nice.lower():
|
||||
|
Reference in New Issue
Block a user