Skip to content

[#72856] Add semantic identifier support to project copying on web#22331

Merged
thykel merged 11 commits intodevfrom
feature/72856-copy-project-with-semantic-identifiers
Mar 19, 2026
Merged

[#72856] Add semantic identifier support to project copying on web#22331
thykel merged 11 commits intodevfrom
feature/72856-copy-project-with-semantic-identifiers

Conversation

@thykel
Copy link
Contributor

@thykel thykel commented Mar 12, 2026

Ticket

https://community.openproject.org/projects/stream-jira-exit/work_packages/72856

What are you trying to accomplish?

We are currently adding support for "semantic work package identifiers".

  • old-style numeric identifiers: project ID project-zeus / work package ID 1
  • new-style semantic identifiers: project ID PZEUS / work package PZEUS-1.

This PR extends the "Copy Project" page to include an identifier form that gets auto-filled with a suggestion when a user types a project name and then clicks or tabs outside the name input form.

The implementation reuses the exact same approach already applied in #22330.

Screenshots

What approach did you choose and why?

Merge checklist

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

@thykel thykel marked this pull request as ready for review March 16, 2026 22:13
@thykel
Copy link
Contributor Author

thykel commented Mar 16, 2026

(red due to a flaky test run)

@thykel thykel requested a review from akabiru March 16, 2026 22:39
@github-actions
Copy link

github-actions bot commented Mar 16, 2026

Deploying openproject with PullPreview

Field Value
Latest commit 52db271
Job deploy
Status ✅ Deploy successful
Preview URL https://pr-22331-72856-copy-proje-ip-188-34-176-122.my.opf.run:443

View logs

end
end
end
end
Copy link
Member

Choose a reason for hiding this comment

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

Nice one extracting to a shared concern 👍🏾

# ++

module Projects
module Concerns
Copy link
Member

Choose a reason for hiding this comment

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

🍊 '"concerns" should be auto-loaded by default, so we can exclude the "Concern" module

Copy link
Member

@akabiru akabiru left a comment

Choose a reason for hiding this comment

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

👍🏾 Non-blocking feedback for your consideration

Base automatically changed from feature/72855-new-project-with-semantic-identifiers to feature/71896-change-identifier-with-semantic-identifiers March 19, 2026 00:21
@thykel thykel changed the title [#72856] Add semantic identifier support to "Copy Project" [#72856] Add semantic identifier support to project copying on web Mar 19, 2026
Base automatically changed from feature/71896-change-identifier-with-semantic-identifiers to dev March 19, 2026 21:51
@thykel thykel merged commit 81c43ca into dev Mar 19, 2026
18 checks passed
@thykel thykel deleted the feature/72856-copy-project-with-semantic-identifiers branch March 19, 2026 22:06
@github-actions github-actions bot locked and limited conversation to collaborators Mar 19, 2026
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.

2 participants