Repository navigation
fix: txt export now outputs plain text instead of markdown - #369
Conversation
|
Warning Review limit reached
More reviews will be available in 24 minutes and 19 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🚀 Thank You for Contributing to Late-MeetPlease ensure that:
Thank you for contributing 💙 |
|
👋 Thank you @nyxsky404 for your contribution to Late-Meet! ✅ Verified: You are assigned to the linked issue #359. Please review any automated suggestions or code review comments that may appear below! We will review your PR as soon as possible! Please consider starring the repository ⭐ to show your support! |
Warning: Pull Request Quality Audit FeedbackHello @nyxsky404! Thank you for your contribution to Late-Meet! Our automated PR checks have detected some issues with your PR. Please review the failed checks below and address them so we can get this merged:
Please resolve these issues and push updates to your branch. The checks will automatically re-run. Let us know if you have any questions or need assistance! |
The 'Export as TXT' button was calling generateMarkdown() which produces markdown syntax (# headers, **bold**, - [ ] checkboxes, _italics_). This renders as formatting noise in plain text viewers. Added a dedicated generatePlainText() function that produces clean plain text with: - Simple section headers (no # prefix) - Bullet points using • character - Indented content for readability - [done]/[ ] for action item status - Parenthesized metadata instead of markdown emphasis Fixes shouri123#359
7299c1f to
d781a56
Compare
|
@shouri123 Fixed both issues:
CI should be all green now. Thanks for flagging! |
Extracted the ternary with nested template literal into a separate variable to satisfy SonarCloud rule against nested template literals.
|
|
@shouri123 Fixed the SonarCloud warning — refactored the nested template literal in |
Description
The "Export as TXT" button was calling
generateMarkdown()which produces markdown syntax (#,**,- [ ],_italics_). When opened in Notepad or TextEdit, these render as formatting noise rather than clean readable text.Added a dedicated
generatePlainText()function that produces properly formatted plain text.Fixes #359
Type of Change
What Changed
src/dashboard.ts:generatePlainText(state)function that outputs clean plain text with•bullets, indentation, and[done]/[ ]status markersgeneratePlainText()instead ofgenerateMarkdown()Example Output
How It Was Tested
npm run type-check— passesnpm run lint— passesChecklist: