✨(frontend) add markdown download option - #2608
Conversation
Reuse the editor's Markdown serializer to download document content as a UTF-8 .md file. Add browser coverage for the filename and exported content. Signed-off-by: Gokul Krishna <gokul.06krishna@gmail.com>
Add the Markdown download option to the unreleased changelog for pull request suitenumerique#2608. Signed-off-by: Gokul Krishna <gokul.06krishna@gmail.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. WalkthroughThe document export modal now includes Markdown as an available format. It generates a UTF-8 Markdown Blob when the configured exporter returns no Blob and uses the Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This PR adds a browser-local Markdown download option using the existing export flow and does not broaden document access or introduce service changes. No actionable merge-blocking risk remains beyond normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 2 files. (1 skipped: 1 unsupported.)
✨ 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 |
Purpose
Add Markdown to the document download menu so users can export document
content directly as a
.mdfile.Closes #2605.
Proposal
External contributions
Thank you for your contribution! 🎉
Please ensure the following items are checked before submitting your pull request:
General requirements
Skip the checkbox below 👇 if you're fixing an issue or adding documentation
CI requirements
git commit --signoff(DCO compliance)git commit -S)<gitmoji>(type) title description## [Unreleased]section (if noticeable change)AI requirements
Tool used: ChatGPT, for codebase understanding and implementation review.
Testing