feat: show new OpenProject work package display ID#1071
Conversation
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
96de1c2 to
7649474
Compare
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
7649474 to
2b7dfb0
Compare
There was a problem hiding this comment.
Pull request overview
Note
Copilot couldn't run its full agentic review because no GitHub Actions runner was available. Make sure your repository has a runner available to run Copilot's review, or add a copilot-setup-steps.yml file specifying one with the runs-on attribute. See the docs for more details.
Adds support for OpenProject’s semantic “display ID” for work packages while keeping numeric IDs prefixed with #, and updates tests/config accordingly.
Changes:
- Introduces
displayIdinto the normalized work package model and renders it inWorkPackage.vuewith numeric-vs-semantic formatting. - Expands Jest unit test coverage/snapshots for both “old” numeric IDs and new semantic IDs.
- Updates Jest config ignore patterns and changelog entry.
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/jest/components/tab/snapshots/WorkPackage.spec.js.snap | Updates snapshots for old vs new display ID rendering. |
| tests/jest/components/tab/snapshots/SearchInput.spec.js.snap | Adds displayId to the search input snapshot payload. |
| tests/jest/components/tab/WorkPackage.spec.js | Adds separate test cases for numeric vs semantic displayId rendering. |
| src/utils/workpackageHelper.js | Includes displayId in the normalized work package object. |
| src/components/tab/WorkPackage.vue | Displays formatted displayId (numeric gets # prefix). |
| jest.config.js | Adds ignore patterns for tests/modules under server/ (and dev/ for modules). |
| CHANGELOG.md | Documents the new feature. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
PHP Code CoverageCoverage after merging feat/show-new-op-wp-id into release/2.11 will be
Coverage Report
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Create |
|
Hello there, We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process. Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6 Thank you for contributing to Nextcloud and we hope to hear from you soon! (If you believe you should not receive this message, you can add yourself to the blocklist.) |
Description
Show new OpenProject work package display id.
As per the requirement,
#<id>. E.g.:#123<id>: #.g.:ABC-123For Testing
Administration -> Work packages -> IdentifiersRelated Issue or Workpackage
Screenshots (if appropriate):
Types of changes
Checklist:
CHANGELOG.mdfile