Skip to content

feat: improve SetTodoList rendering with Markdown styles#284

Merged
stdrc merged 1 commit intoMoonshotAI:mainfrom
tang-hi:main
Nov 14, 2025
Merged

feat: improve SetTodoList rendering with Markdown styles#284
stdrc merged 1 commit intoMoonshotAI:mainfrom
tang-hi:main

Conversation

@tang-hi
Copy link
Contributor

@tang-hi tang-hi commented Nov 14, 2025

Description

This PR introduces a small improvement to the rendering of todo items in the SetTodoList tool. The formatting now visually distinguishes items based on their status, making the todo list easier to read and understand.

  • Todo items marked as "Done" are now displayed with strikethrough formatting, while items "In Progress" are bolded; all other statuses retain the default formatting.

Now, It looks like below image
image

Copilot AI review requested due to automatic review settings November 14, 2025 02:34
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR enhances the visual presentation of todo items in the SetTodoList tool by adding Markdown formatting based on task status. The implementation uses a match statement to apply strikethrough formatting to completed tasks ("Done"), bold formatting to tasks in progress ("In Progress"), and default formatting to pending tasks.

  • Replaced simple string concatenation with a match statement for status-based formatting
  • Applied strikethrough (~~text~~) for "Done" items and bold (**text**) for "In Progress" items
  • Maintained backward compatibility with existing status values defined in the Todo model

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Collaborator

@stdrc stdrc left a comment

Choose a reason for hiding this comment

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

I like this PR. Nice and clean, and improves a lot.

@stdrc stdrc merged commit 8195d28 into MoonshotAI:main Nov 14, 2025
11 checks passed
abhishekbhakat added a commit to abhishekbhakat/cimi that referenced this pull request Nov 14, 2025
feat: improve SetTodoList rendering with Markdown styles (MoonshotAI#284)
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.

3 participants