stable

Clone or download

Read-only

Configuration pane + enforce navigation guards

part of story #26799 associate a Tuleap project and a GitLab group How to test: [Configuration pane] - Navigate to the GitLab group link tab in the global git administration of your project - Follow the steps to the configuration pane - Check the "Prefix the branch name" --> The "Prefix" input is enabled and made required --> The submit button is disabled until you fill the input - Go back to the previous step --> The previously selected group is still selected [Navigation guards] --> Whenever you try to access a step by forging its url, you'll be redirected to the empty state --> Whenever the steps order is not respected, you'll be redirected to the empty state The authorized navigations are: - Empty state <-> GitLab server <-> Gitlab Group <-> Configuration Change-Id: Icf6c7162590ded967de8492d5a94980f6a815a74

Modified Files

Name
M plugins/gitlab/scripts/gitlab-group-link/po/fr_FR.po +36 −0 Go to diff View file
M plugins/gitlab/scripts/gitlab-group-link/po/pt_BR.po +30 −0 Go to diff View file
A plugins/gitlab/scripts/gitlab-group-link/src/components/PaneGitlabConfiguration.test.ts +62 −0 Go to diff View file
A plugins/gitlab/scripts/gitlab-group-link/src/components/PaneGitlabConfiguration.vue +145 −0 Go to diff View file
M plugins/gitlab/scripts/gitlab-group-link/src/components/PaneGitlabGroup.test.ts +80 −25 Go to diff View file
M plugins/gitlab/scripts/gitlab-group-link/src/components/PaneGitlabGroup.vue +21 −4 Go to diff View file
M plugins/gitlab/scripts/gitlab-group-link/src/router/router.ts +12 −1 Go to diff View file
M plugins/gitlab/scripts/gitlab-group-link/src/router/steps-order-guard.test.ts +66 −1 Go to diff View file
M plugins/gitlab/scripts/gitlab-group-link/src/router/steps-order-guard.ts +50 −3 Go to diff View file
M plugins/gitlab/scripts/gitlab-group-link/src/stores/groups.ts +4 −0 Go to diff View file
M plugins/gitlab/scripts/gitlab-group-link/src/stores/types.ts +1 −0 Go to diff View file
M plugins/gitlab/scripts/gitlab-group-link/src/types.ts +6 −3 Go to diff View file