stable
Clone or download
part of story #8283 Enhance project creation user experience How to test: - have a project admin of several projects - You should be able to choose project in the drop down and use it as template This is done in best effort: - I do not have mockup for spinner, I used the standard spinner for now - If any error happens during the load of project, it's displayed as an alert in the card Rest route does not provide description, so unlike mockup it's not displayed in the drop down Service modal will be added later. Rest route does not provide project type, so if user is member of a template, it will be displayed twice: once in company template, one in drop down => this will be corrected later. Change-Id: I8e5fc7af1e822bd48383627fc607be2bfa041cd6
Modified Files
Name | ||||
---|---|---|---|---|
M | src/common/Project/ProjectManager.class.php | +11 | −0 | Go to diff View file |
M | src/common/Project/REST/v1/GetProjectsQueryChecker.php | +2 | −2 | Go to diff View file |
M | src/common/Project/REST/v1/ProjectResource.class.php | +9 | −0 | Go to diff View file |
M | src/common/dao/ProjectDao.class.php | +18 | −0 | Go to diff View file |
M | src/www/scripts/project/registration/po/fr_FR.po | +22 | −4 | Go to diff View file |
M | src/www/scripts/project/registration/src/api/rest-querier.test.ts | +53 | −2 | Go to diff View file |
M | src/www/scripts/project/registration/src/api/rest-querier.ts | +28 | −3 | Go to diff View file |
M | src/www/scripts/project/registration/src/components/Information/ProjectInformationFooter.test.ts | +1 | −1 | Go to diff View file |
M | src/www/scripts/project/registration/src/components/Information/ProjectInformationFooter.vue | +1 | −1 | Go to diff View file |
A | src/www/scripts/project/registration/src/components/Template/Advanced/AdvancedTemplateList.test.ts | +120 | −0 | Go to diff View file |
A | src/www/scripts/project/registration/src/components/Template/Advanced/AdvancedTemplateList.vue | +126 | −0 | Go to diff View file |
A | src/www/scripts/project/registration/src/components/Template/Advanced/SvgTemplate.vue | +29 | −0 | Go to diff View file |
A | src/www/scripts/project/registration/src/components/Template/Advanced/UserProjectList.test.ts | +117 | −0 | Go to diff View file |
A | src/www/scripts/project/registration/src/components/Template/Advanced/UserProjectList.vue | +64 | −0 | Go to diff View file |
A | src/www/scripts/project/registration/src/components/Template/Advanced/__snapshots__/UserProjectList.test.ts.snap | +15 | −0 | Go to diff View file |
M | src/www/scripts/project/registration/src/components/Template/AllProjectTemplates.test.ts | +2 | −0 | Go to diff View file |
M | src/www/scripts/project/registration/src/components/Template/AllProjectTemplates.vue | +3 | −0 | Go to diff View file |
M | src/www/scripts/project/registration/src/components/Template/Company/CompanyTemplateList.test.ts | +0 | −20 | Go to diff View file |
M | src/www/scripts/project/registration/src/components/Template/Tuleap/TuleapTemplateList.vue | +0 | −4 | Go to diff View file |
M | src/www/scripts/project/registration/src/type.ts | +16 | −0 | Go to diff View file |
M | tests/rest/tests/ProjectTest.php | +13 | −0 | Go to diff View file |