Skip to content

Fix page append/prepend overwriting document body#3

Merged
felix-exon merged 2 commits intomainfrom
codex/fix-page-append-issue-2
Mar 3, 2026
Merged

Fix page append/prepend overwriting document body#3
felix-exon merged 2 commits intomainfrom
codex/fix-page-append-issue-2

Conversation

@felix-exon
Copy link
Copy Markdown
Contributor

@felix-exon felix-exon commented Mar 3, 2026

Summary

  • Make and fetch current document text via
  • Merge content client-side and send merged in
  • Require explicit text input for append/prepend (, , or )
  • Add page command tests for append/prepend merge behavior

Testing

  • bun test v1.3.9 (cf6cdbbb)

Fixes #2

@felix-exon
Copy link
Copy Markdown
Contributor Author

Applied formatting cleanup (import grouping) in src/commands/page/update.ts. Also ran bun test + typecheck locally.

Commit: d962d33

@felix-exon felix-exon merged commit 9fd0e13 into main Mar 3, 2026
1 check passed
@felix-exon felix-exon deleted the codex/fix-page-append-issue-2 branch March 3, 2026 17:36
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.

page append replaces document body instead of appending

1 participant