stable

Clone or download

Read-only

Take in account the company template when a new project is created

part of story #8283 Enhance project creation user experience You should be able to see the company template and create a project according to the selected template Change-Id: I806f6d593d7e2b4bd6f4e7b970eca429318e08fd

Modified Files

Name
M src/common/Project/Admin/ProjectDetails/ProjectDetailsPresenter.php +1 −1 Go to diff View file
M src/common/Project/Admin/ProjectDetailsPresenter.php +1 −1 Go to diff View file
M src/common/Project/Registration/ProjectRegistrationPresenter.php +11 −0 Go to diff View file
M src/common/Project/Registration/ProjectRegistrationPresenterBuilder.php +9 −1 Go to diff View file
M src/common/Project/Registration/Template/AgileALMTemplate.php +7 −2 Go to diff View file
A src/common/Project/Registration/Template/CompanyTemplate.php +83 −0 Go to diff View file
M src/common/Project/Registration/Template/IssuesTemplate.php +7 −2 Go to diff View file
M src/common/Project/Registration/Template/KanbanTemplate.php +7 −2 Go to diff View file
M src/common/Project/Registration/Template/ProjectTemplate.php +2 −4 Go to diff View file
M src/common/Project/Registration/Template/ScrumTemplate.php +7 −2 Go to diff View file
M src/common/Project/Registration/Template/TemplateFactory.php +41 −7 Go to diff View file
M src/common/Project/Registration/Template/TemplatePresenter.php +8 −2 Go to diff View file
A src/common/Project/Registration/Template/TuleapTemplate.php +29 −0 Go to diff View file
A src/glyphs/company-template.svg +3 −0 Go to diff View file
M src/templates/project/registration/project-registration.mustache +2 −0 Go to diff View file
M src/www/scripts/package-lock.json +6 −0 Go to diff View file
M src/www/scripts/package.json +1 −0 Go to diff View file
M src/www/scripts/project/registration/index.ts +15 −3 Go to diff View file
M src/www/scripts/project/registration/po/fr_FR.po +6 −0 Go to diff View file
M src/www/scripts/project/registration/src/components/Approval/ProjectApproval.test.ts +19 −37 Go to diff View file
M src/www/scripts/project/registration/src/components/Approval/ProjectApproval.vue +4 −5 Go to diff View file
M src/www/scripts/project/registration/src/components/Information/Fields/FieldDescription.test.ts +8 −4 Go to diff View file
M src/www/scripts/project/registration/src/components/Information/Input/ProjectInformationInputPrivacyList.test.ts +5 −2 Go to diff View file
M src/www/scripts/project/registration/src/components/Information/ProjectInformation.test.ts +22 −9 Go to diff View file
M src/www/scripts/project/registration/src/components/Information/ProjectInformation.vue +30 −26 Go to diff View file
M src/www/scripts/project/registration/src/components/Information/ProjectInformationFooter.test.ts +9 −5 Go to diff View file
M src/www/scripts/project/registration/src/components/Information/ProjectInformationFooter.vue +1 −1 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
A src/www/scripts/project/registration/src/components/Template/Company/CompanyTemplateList.test.ts +122 −0 Go to diff View file
A src/www/scripts/project/registration/src/components/Template/Company/CompanyTemplateList.vue +62 −0 Go to diff View file
M src/www/scripts/project/registration/src/components/Template/TemplateCard.test.ts +9 −6 Go to diff View file
M src/www/scripts/project/registration/src/components/Template/TemplateCard.vue +4 −4 Go to diff View file
M src/www/scripts/project/registration/src/components/Template/TemplateFooter.test.ts +5 −2 Go to diff View file
A src/www/scripts/project/registration/src/components/Template/Tuleap/TuleapTemplateList.test.ts +84 −0 Go to diff View file
M src/www/scripts/project/registration/src/components/Template/Tuleap/TuleapTemplateList.vue +6 −1 Go to diff View file
M src/www/scripts/project/registration/src/store/getters.test.ts +49 −12 Go to diff View file
M src/www/scripts/project/registration/src/store/getters.ts +2 −1 Go to diff View file
A src/www/scripts/project/registration/src/store/mutations.test.ts +130 −0 Go to diff View file
M src/www/scripts/project/registration/src/store/mutations.ts +12 −1 Go to diff View file
M src/www/scripts/project/registration/src/store/state.ts +5 −2 Go to diff View file
M src/www/scripts/project/registration/src/store/type.ts +5 −2 Go to diff View file
M src/www/scripts/project/registration/src/type.ts +4 −2 Go to diff View file
M tests/phpunit/common/Project/REST/v1/RestProjectCreatorTest.php +1 −0 Go to diff View file
M tests/phpunit/common/Project/Registration/Template/TemplateFactoryTest.php +42 −0 Go to diff View file