feat: add parent to work item comments — v0.2.14 - #57
Conversation
The v1 API accepts parent on comment create (the id of a top-level comment on the same work item to reply to) and returns it on read; the SDK types did not declare it, so a threaded reply could not be typed. Update request is left unchanged — re-parenting on edit is not a supported operation.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe package version changed from ChangesComment contract and package release
Estimated code review effort: 2 (Simple) | ~5 minutes Merge Risk: ⚪ Minimal · up to The change adds optional parent-comment support to existing work-item comment types without altering runtime endpoints or authorization behavior; no actionable merge-blocking risk remains beyond normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files. (1 skipped: 1 unsupported.) ✨ Finishing Touches📝 Generate docstrings
🧪 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 |
Description
Adds
parent?: stringtoWorkItemCommentandWorkItemCommentCreateRequest, and bumps the package to 0.2.14.The v1 API already accepts
parentwhen creating a work item comment — the id of a top-level comment on the same work item to reply to — and returns it on read, but the SDK types did not declare it, so a threaded reply could not be expressed.WorkItemCommentUpdateRequestis intentionally unchanged: re-parenting a comment on edit is not a supported operation (the comment is already addressed by its own id).Mirrors makeplane/plane-python-sdk#71 (
plane-sdk0.2.24).Verification
pnpm build—parent?: stringpresent on both types indist/types.bundle.d.tspnpm check:lint/pnpm check:format— clean (0 errors)Related
parentvalidation (same work item, top-level only): https://github.com/makeplane/plane-ee/pull/9339Summary by CodeRabbit
New Features
Chores