stable

Clone or download

Read-only

feat: Add branch name preview in modal

This is part of story #26803 create Tuleap Git branch & pull request from artifact When opening the modal, the branch name preview must be displayed. The branch is like: TULEAP-{{artifact_id}}-{{artifact_title_slugified}} Change-Id: I92377f08285b195411784582c89b02b0c37554ee

Modified Files

Name
M plugins/git/include/Artifact/Action/CreateBranchButtonFetcher.php +9 −1 Go to diff View file
A plugins/git/include/REST/v1/Branch/BranchNameCreatorFromArtifact.php +49 −0 Go to diff View file
M plugins/git/include/gitPlugin.php +6 −1 Go to diff View file
M plugins/git/scripts/artifact-create-branch-action/po/fr_FR.po +3 −0 Go to diff View file
M plugins/git/scripts/artifact-create-branch-action/po/pt_BR.po +3 −0 Go to diff View file
M plugins/git/scripts/artifact-create-branch-action/src/components/MainComponent.vue +5 −1 Go to diff View file
M plugins/git/scripts/artifact-create-branch-action/src/components/ModalContent.vue +9 −0 Go to diff View file
M plugins/git/scripts/artifact-create-branch-action/src/modal.ts +5 −0 Go to diff View file
M plugins/git/tests/unit/Artifact/Action/CreateBranchButtonFetcherTest.php +9 −1 Go to diff View file
A plugins/git/tests/unit/REST/v1/Branch/BranchNameCreatorFromArtifactTest.php +76 −0 Go to diff View file