[FND-109] Changing the active type variant in a project - #24540
Open
dfriquet wants to merge 4 commits into
Open
Conversation
|
Warning Flaky specs
🤖 Ask Copilot to investigateCopy the prompt below into a new comment on this PR to delegate the investigation to GitHub Copilot. It will look into the flakiness and open a separate pull request with you as reviewer. |
Switching re-types the project's work packages as the acting user, so it requires edit_work_packages on top of manage_types.
dfriquet
force-pushed
the
feature/fnd-109-changing-the-active-type-variant-in-a-project
branch
from
August 3, 2026 06:52
58c8378 to
711fc31
Compare
dfriquet
marked this pull request as ready for review
August 3, 2026 06:54
|
Caution The provided work package version does not match the core version Details:
Please make sure that:
|
Deploying openproject with ⚡ PullPreview
|
oliverguenther
approved these changes
Aug 3, 2026
3 tasks
A formatter can render a change as nothing, which left the header announcing an author and a time above an empty entry.
Every member of a family answers the root's name, so the change read "Type changed from Task to Task". How to word it instead is still open, so the change stays journaled and only its rendering waits.
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.
Ticket
https://community.openproject.org/wp/FND-109
What are you trying to accomplish?
Variant: <name>instead of a Label chip, and the "In roadmap" indicator is dropped.Out of scope and tracked separately: the impact preview (FND-188) and background execution for large re-typings (FND-187).
Screenshots
What approach did you choose and why?
Projects::Types::Switch, anActiveModelform object, owns the choice (project, source, target) and its validation.SwitchesControllerbuilds one per action and hands it to a component or the service, keeping the controller thin.unchangederror instead.<dialog>node and close it.edit_work_packagesalongsidemanage_types. Re-typing runs throughWorkPackages::UpdateServiceas the acting user, which is what keeps each journal entry attributed to the person rather than to System.Merge checklist