feat: notes template category and description - #1986
Merged
Conversation
robinroy03
requested review from
wreckage0907
and
a balanced review from Copilot
August 6, 2026 11:08
Contributor
There was a problem hiding this comment.
Pull request overview
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Introduces a new DocType to categorize Project Status Update Templates, and extends the template DocType with additional metadata fields.
Changes:
- Added new DocType: Project Status Update Template Category (JSON + Python + JS stub) with integration tests.
- Added category link field to Project Status Update Template.
- Added a new template_description field to Project Status Update Template.
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| next_pms/next_pms/doctype/project_status_update_template_category/test_project_status_update_template_category.py | Adds integration tests for category creation/linking/rename/delete behavior. |
| next_pms/next_pms/doctype/project_status_update_template_category/project_status_update_template_category.py | Introduces the category DocType Python model. |
| next_pms/next_pms/doctype/project_status_update_template_category/project_status_update_template_category.json | Defines the category DocType schema and permissions. |
| next_pms/next_pms/doctype/project_status_update_template_category/project_status_update_template_category.js | Adds a (currently commented) client script stub for the category DocType. |
| next_pms/next_pms/doctype/project_status_update_template/project_status_update_template.py | Updates type hints to include the new template fields. |
| next_pms/next_pms/doctype/project_status_update_template/project_status_update_template.json | Adds the new template fields to the DocType schema and field order. |
Suppressed comments (1)
next_pms/next_pms/doctype/project_status_update_template_category/project_status_update_template_category.js:1
- This client script is entirely commented out. If no client behavior is needed, consider removing the stub file to reduce noise; otherwise, uncomment and implement the intended hooks so the file reflects active behavior.
// Copyright (c) 2026, rtCamp and contributors
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
add 2 new fields category and description for templates
Relevant Technical Choices
added the fields
Testing Instructions
the new fields will be visible and usable from the backend. can expand the category easily.
Checklist
Fixes #1488