Skip to content

Feature/66343 comment fields for project attributes#21452

Merged
toy merged 108 commits intodevfrom
feature/64264-comment-fields-for-project-attributes
Feb 25, 2026
Merged

Feature/66343 comment fields for project attributes#21452
toy merged 108 commits intodevfrom
feature/64264-comment-fields-for-project-attributes

Conversation

@toy
Copy link
Copy Markdown
Contributor

@toy toy commented Dec 15, 2025

Ticket

https://community.openproject.org/wp/66343 (originally https://community.openproject.org/wp/64264)

What are you trying to accomplish?

Allow to comment project attributes

Leftovers

  • Tests:
    • Feature tests for project overview (modules/overviews/app/components/overviews/project_custom_fields/* + modules/overviews/app/controllers/overviews/project_custom_fields_controller.rb)
    • app/models/custom_field.rb : test can_have_comment? and comment_for
    • lib_static/plugins/acts_as_customizable/lib/acts_as_customizable.rb - tested implicitly, but better to test expected behaviour for project as having comment and work package as not having them
  • API docs for the newly introduced custom comment fields
  • Decide if custom comments functionality should stay in acts as customizable or be moved to Projects::CustomFields
  • N+1 when exporting project query is still present

Merge checklist

  • Added/updated tests
  • Added/updated documentation in Lookbook (patterns, previews, etc)
  • Tested major browsers (Chrome, Firefox, Edge, ...)

@toy toy force-pushed the feature/64264-comment-fields-for-project-attributes branch 3 times, most recently from d6d9bcd to 7b1dd29 Compare December 19, 2025 21:35
@toy toy force-pushed the feature/64264-comment-fields-for-project-attributes branch 3 times, most recently from d96b04a to 3ca06f4 Compare January 8, 2026 16:11
@toy toy force-pushed the feature/64264-comment-fields-for-project-attributes branch from 3ca06f4 to 53e8534 Compare January 8, 2026 20:50
@toy toy force-pushed the feature/64264-comment-fields-for-project-attributes branch 2 times, most recently from 22dc532 to 8fc8b9f Compare January 15, 2026 17:47
@github-actions github-actions bot temporarily deployed to gh-6899875-pr-21452 January 15, 2026 18:22 Inactive
@toy toy force-pushed the feature/64264-comment-fields-for-project-attributes branch from 8fc8b9f to 406b2ff Compare January 19, 2026 19:44
@github-actions github-actions bot temporarily deployed to gh-6899875-pr-21452 January 19, 2026 19:44 Inactive
@toy toy force-pushed the feature/64264-comment-fields-for-project-attributes branch from 406b2ff to 8fc1727 Compare January 20, 2026 20:04
@github-actions github-actions bot requested a deployment to gh-6899875-pr-21452 January 20, 2026 20:05 Pending
@toy toy force-pushed the feature/64264-comment-fields-for-project-attributes branch from 8fc1727 to fc6b5c8 Compare January 26, 2026 20:40
@github-actions github-actions bot temporarily deployed to gh-6899875-pr-21452 January 26, 2026 20:40 Inactive
@toy toy force-pushed the feature/64264-comment-fields-for-project-attributes branch from fc6b5c8 to 26c4df2 Compare January 28, 2026 20:27
@github-actions github-actions bot temporarily deployed to gh-6899875-pr-21452 January 28, 2026 20:27 Inactive
@toy toy force-pushed the feature/64264-comment-fields-for-project-attributes branch from 26c4df2 to 0e1b24b Compare January 29, 2026 13:19
@github-actions github-actions bot temporarily deployed to gh-6899875-pr-21452 January 29, 2026 13:20 Inactive
@github-actions github-actions bot temporarily deployed to gh-6899875-pr-21452 January 29, 2026 21:20 Inactive
@toy toy force-pushed the feature/64264-comment-fields-for-project-attributes branch from ad81a62 to c7956ed Compare February 2, 2026 20:56
@github-actions github-actions bot temporarily deployed to gh-6899875-pr-21452 February 2, 2026 23:18 Inactive
toy and others added 28 commits February 25, 2026 20:07
Usage of project-long-text-container is nowhere to be found
As comments are built on object size, they will be present after failed
validation, but for comments from the custom field side they will be
queried from DB, so will not be the built ones
Co-authored-by: Dombi Attila <83396+dombesz@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 82 out of 83 changed files in this pull request and generated 2 comments.

@toy
Copy link
Copy Markdown
Contributor Author

toy commented Feb 25, 2026

@dombesz Thank you for review, I'll create tickets or notes to discuss for the leftovers

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants