stable

Clone or download

Read-only

feat: list project's Git repositories in modal

This is part of story #26803 create Tuleap Git branch & pull request from artifact The "create branch" artifact action button is now only displayed if we have at least one Git repository the user can see. When opening the modal, the list of Git repositories user can see is now displayed in a select. Change-Id: I097f69371f826bdaed0f88e23bb84dc73653e84d

Modified Files

Name
M plugins/git/include/Artifact/Action/CreateBranchButtonFetcher.php +29 −4 Go to diff View file
M plugins/git/include/GitRepositoryFactory.class.php +0 −12 Go to diff View file
M plugins/git/include/gitPlugin.php +6 −2 Go to diff View file
A plugins/git/scripts/artifact-create-branch-action/api/repositories-reponses-formatter.test.ts +62 −0 Go to diff View file
A plugins/git/scripts/artifact-create-branch-action/api/repositories-reponses-formatter.ts +35 −0 Go to diff View file
A plugins/git/scripts/artifact-create-branch-action/api/rest_querier.test.ts +51 −0 Go to diff View file
A plugins/git/scripts/artifact-create-branch-action/api/rest_querier.ts +36 −0 Go to diff View file
M plugins/git/scripts/artifact-create-branch-action/package.json +1 −0 Go to diff View file
M plugins/git/scripts/artifact-create-branch-action/pnpm-lock.yaml +2 −0 Go to diff View file
M plugins/git/scripts/artifact-create-branch-action/po/fr_FR.po +9 −0 Go to diff View file
M plugins/git/scripts/artifact-create-branch-action/po/pt_BR.po +9 −0 Go to diff View file
M plugins/git/scripts/artifact-create-branch-action/src/components/Main.vue +68 −17 Go to diff View file
M plugins/git/scripts/artifact-create-branch-action/src/index.ts +1 −1 Go to diff View file
M plugins/git/scripts/artifact-create-branch-action/src/modal.ts +16 −2 Go to diff View file
A plugins/git/scripts/artifact-create-branch-action/src/types.ts +24 −0 Go to diff View file
M plugins/git/tests/unit/Artifact/Action/CreateBranchButtonFetcherTest.php +74 −10 Go to diff View file