Skip to content

Clean markdown from Daily standup text#274

Open
SIGMAREAL wants to merge 1 commit into
JerryZLiu:mainfrom
SIGMAREAL:fix/daily-standup-markdown-cleanup
Open

Clean markdown from Daily standup text#274
SIGMAREAL wants to merge 1 commit into
JerryZLiu:mainfrom
SIGMAREAL:fix/daily-standup-markdown-cleanup

Conversation

@SIGMAREAL

Copy link
Copy Markdown
Contributor

Summary

  • add a small Daily standup markdown cleaner for AI-generated editable text
  • strip common markdown markers from Daily bullets, blockers, and titles before display/storage
  • apply the cleanup to local Daily generation, Dayflow backend payloads, loaded drafts, and copied standup text

Context

This is a follow-up to #232. Chat replies now have a markdown renderer, but Daily standup fields are editable TextFields, so markdown syntax such as headings, bullets, bold markers, inline code, and links can still leak into the Daily tab. For editable Daily text, plain cleaned content is a better fit than rendering markdown inside the fields.

Testing

  • xcodebuild test -project Dayflow/Dayflow.xcodeproj -scheme Dayflow -only-testing:DayflowTests/DailyStandupMarkdownCleanerTests -destination 'platform=macOS' CODE_SIGNING_ALLOWED=NO
  • xcodebuild test -project Dayflow/Dayflow.xcodeproj -scheme Dayflow -only-testing:DayflowTests -destination 'platform=macOS' CODE_SIGNING_ALLOWED=NO

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.

1 participant