stable

Clone or download

Read-only

Display GitLab groups pane + prevent direct navigation

part of story #26799 associate a Tuleap project and a GitLab group How to test: - On the GitLab server pane, provide valid credentials and a valid server url --> You are redirected to the GitLab group Pane --> The groups you can see are displayed --> Their avatar is displayed of there is one (and if it is viewable) --> They have a default avatar in the contrary - Click [Back] --> You are redirected to the GitLab server pane --> The credentials you have provided and the server url are still there - Click on [Fetch GitLab groups] --> You are redirected to the GitLab group Pane - Refresh the page --> You are redirected to the empty state by the navigation guard since you did not complete step 1 beforehand. Change-Id: Id380191391e63d954f4f4d41a6776227fd04dfcb

Modified Files

Name
M plugins/gitlab/scripts/gitlab-group-link/po/fr_FR.po +13 −3 Go to diff View file
M plugins/gitlab/scripts/gitlab-group-link/po/pt_BR.po +12 −3 Go to diff View file
M plugins/gitlab/scripts/gitlab-group-link/src/api/gitlab-api-querier.test.ts +10 −4 Go to diff View file
M plugins/gitlab/scripts/gitlab-group-link/src/api/gitlab-api-querier.ts +1 −2 Go to diff View file
A plugins/gitlab/scripts/gitlab-group-link/src/components/PaneGitlabGroup.test.ts +86 −0 Go to diff View file
A plugins/gitlab/scripts/gitlab-group-link/src/components/PaneGitlabGroup.vue +190 −0 Go to diff View file
M plugins/gitlab/scripts/gitlab-group-link/src/components/PaneGitlabServer.test.ts +55 −28 Go to diff View file
M plugins/gitlab/scripts/gitlab-group-link/src/components/PaneGitlabServer.vue +12 −9 Go to diff View file
M plugins/gitlab/scripts/gitlab-group-link/src/router/router.ts +13 −2 Go to diff View file
A plugins/gitlab/scripts/gitlab-group-link/src/router/steps-order-guard.test.ts +69 −0 Go to diff View file
A plugins/gitlab/scripts/gitlab-group-link/src/router/steps-order-guard.ts +32 −0 Go to diff View file
A plugins/gitlab/scripts/gitlab-group-link/src/stores/credentials.ts +35 −0 Go to diff View file
M plugins/gitlab/scripts/gitlab-group-link/src/stores/types.ts +15 −0 Go to diff View file
M plugins/gitlab/scripts/gitlab-group-link/src/tests/stubs/GitlabApiQuerierStub.ts +1 −1 Go to diff View file
M plugins/gitlab/scripts/gitlab-group-link/src/types.ts +0 −5 Go to diff View file