stable

Clone or download

Read-only

Convert ProjectAdminUgroups and ProjectAdminMembers to TypeScript

This is part of request #20973 Convert Project Admin to TypeScript No functional changes. You can still add/remove ugroups, and user in ugroups. There is a new e2e test for this part. You can still add users as project member with select2 or import them with file. Change-Id: I1676abf8a0bf61b8fb04043a47c3851b065ab771

Modified Files

Name
M build-manifest.json +4 −0 Go to diff View file
R src/scripts/project/admin/po/fr.po Go to diff View file
M src/scripts/project/admin/src/index.js +2 −2 Go to diff View file
A src/scripts/project/admin/src/members-import/mustache.d.ts +23 −0 Go to diff View file
R src/scripts/project/admin/src/members-import/project-admin-members-import.js Go to diff View file
R src/scripts/project/admin/src/project-admin-members.js Go to diff View file
D src/scripts/project/admin/src/project-admin-ugroups.js +0 −216 Go to diff View file
A src/scripts/project/admin/src/project-admin-ugroups.ts +317 −0 Go to diff View file
M src/templates/project/admin/ugroup-add-member-modal.mustache +1 −1 Go to diff View file
M src/templates/project/admin/ugroup-settings-member-list.mustache +2 −0 Go to diff View file
M src/tsconfig.json +1 −0 Go to diff View file
M src/webpack.common.js +1 −1 Go to diff View file
M src/www/project/admin/userimport.php +1 −1 Go to diff View file
M tests/e2e/full/_fixtures/permission_project/users.xml +7 −0 Go to diff View file
M tests/e2e/full/cypress/integration/project_admin.spec.ts +48 −1 Go to diff View file
M tests/e2e/full/cypress/support/commands.ts +6 −0 Go to diff View file