Skip to content

feat: notes template category and description - #1986

Merged
robinroy03 merged 3 commits into
version-16-hotfixfrom
feat/notes-template
Aug 7, 2026
Merged

feat: notes template category and description#1986
robinroy03 merged 3 commits into
version-16-hotfixfrom
feat/notes-template

Conversation

@robinroy03

Copy link
Copy Markdown
Member

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

  • I have carefully reviewed the code before submitting it for review.
  • This code is adequately covered by unit tests to validate its functionality.
  • I have conducted thorough testing to ensure it functions as intended.
  • A member of the QA team has reviewed and tested this PR (To be checked by QA or code reviewer)

Fixes #1488

@robinroy03
robinroy03 requested review from wreckage0907 and a balanced review from Copilot August 6, 2026 11:08

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@wreckage0907 wreckage0907 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@robinroy03
robinroy03 merged commit 01f67ff into version-16-hotfix Aug 7, 2026
6 checks passed
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.

3 participants