Skip to content

docs: introduce draft history service modification#10

Draft
Copilot wants to merge 14 commits intomasterfrom
copilot/update-description-for-modification
Draft

docs: introduce draft history service modification#10
Copilot wants to merge 14 commits intomasterfrom
copilot/update-description-for-modification

Conversation

Copy link
Copy Markdown

Copilot AI commented Feb 23, 2026

Documents the recently merged draft history versioning feature, which was not yet reflected in the changelog or docs.

Changes

  • docs/draft-history.md — new document (Chinese) covering:

    • Hybrid snapshot storage strategy (full snapshot every 5 versions or when diff > 70% of content size; incremental patch otherwise; 100-entry cap)
    • Pluggable diff strategies: diff-match-patch for Markdown text, jsondiffpatch for Lexical JSON
    • API endpoints (GET/POST /drafts/:id/history[/:version], POST /drafts/:id/restore/:version)
    • DraftHistoryModel schema and end-to-end save/restore workflow
  • apps/core/CHANGELOG.md — adds [Unreleased] section with the feat(draft) entry linking to commit 5171707


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: sysfox <99103591+sysfox@users.noreply.github.com>
Copilot AI changed the title [WIP] Update description for this modification docs: introduce draft history service modification Feb 23, 2026
Copilot AI requested a review from sysfox February 23, 2026 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants