Skip to content

feat: add parent to work item comments — v0.2.14 - #57

Merged
Prashant-Surya merged 1 commit into
mainfrom
feat-comment-parent
Sep 2, 2026
Merged

feat: add parent to work item comments — v0.2.14#57
Prashant-Surya merged 1 commit into
mainfrom
feat-comment-parent

Conversation

@sunder-ch

@sunder-ch sunder-ch commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Description

Adds parent?: string to WorkItemComment and WorkItemCommentCreateRequest, and bumps the package to 0.2.14.

The v1 API already accepts parent when 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. WorkItemCommentUpdateRequest is 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-sdk 0.2.24).

Verification

  • pnpm buildparent?: string present on both types in dist/types.bundle.d.ts
  • pnpm check:lint / pnpm check:format — clean (0 errors)

Related

Summary by CodeRabbit

  • New Features

    • Added support for associating comments with a parent comment when viewing or creating work item comments.
  • Chores

    • Updated the package version to 0.2.14.

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.
@coderabbitai

coderabbitai Bot commented Sep 2, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Team

Run ID: 2584a8a5-6749-4182-9829-bfec1d19c991

📥 Commits

Reviewing files that changed from the base of the PR and between d83a212 and 9847b9d.

📒 Files selected for processing (2)
  • package.json
  • src/models/Comment.ts

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The package version changed from 0.2.13 to 0.2.14. Comment interfaces now support an optional parent identifier for replies to top-level comments on the same work item.

Changes

Comment contract and package release

Layer / File(s) Summary
Comment parent field and package version
src/models/Comment.ts, package.json
WorkItemComment and WorkItemCommentCreateRequest now include an optional parent field. The package version is incremented to 0.2.14.

Estimated code review effort: 2 (Simple) | ~5 minutes

Merge Risk: ⚪ Minimal · up to 9847b

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: akhil-vamshi-konam

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the main change: adding parent support to work item comments. The version reference is accurate and does not obscure the primary change.
Docstring Coverage ✅ Passed 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…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

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
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat-comment-parent

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Prashant-Surya
Prashant-Surya merged commit 05c2ea5 into main Sep 2, 2026
2 checks passed
@Prashant-Surya
Prashant-Surya deleted the feat-comment-parent branch September 2, 2026 09:53
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.

2 participants