stable

Clone or download

Read-only

Add a the `From project template` card

Part of story #36484 create a new project from an XML template For now, you can chose the project file and nothing else. How to test: - enabled the feature flag: `tuleap config-set feature_flag_create_from_custom_archive 1` - Create new project via the UI - Go to `For Advanced Users` => the card is displayed - Click on the card => The file input is displayed and you can choose a zip file => you can still create the project from another template Change-Id: I952700e54b0f4d6b9871f0c7d4b81601c74e3854

Modified Files

Name
M src/common/Project/Registration/ProjectRegistrationPresenter.php +18 −56 Go to diff View file
M src/scripts/project-registration/package.json +3 −1 Go to diff View file
M src/scripts/project-registration/pnpm-lock.yaml +16 −0 Go to diff View file
M src/scripts/project-registration/po/fr_FR.po +6 −0 Go to diff View file
M src/scripts/project-registration/po/pt_BR.po +6 −0 Go to diff View file
A src/scripts/project-registration/src/components/Template/Advanced/AdvancedTemplateList.test.ts +55 −0 Go to diff View file
M src/scripts/project-registration/src/components/Template/Advanced/AdvancedTemplateList.vue +10 −3 Go to diff View file
A src/scripts/project-registration/src/components/Template/Advanced/FromProjectArchive/FromProjectArchiveCard.test.ts +62 −0 Go to diff View file
A src/scripts/project-registration/src/components/Template/Advanced/FromProjectArchive/FromProjectArchiveCard.vue +76 −0 Go to diff View file
A src/scripts/project-registration/src/components/Template/Advanced/FromProjectArchive/FromProjectSvg.vue +376 −0 Go to diff View file
M src/scripts/project-registration/src/components/Template/Advanced/FromUserExistingProject/FromExistingUserProjectTemplateCard.vue +51 −60 Go to diff View file
M src/scripts/project-registration/src/index.ts +3 −0 Go to diff View file
M src/scripts/project-registration/src/stores/root.ts +1 −0 Go to diff View file
M src/scripts/project-registration/src/stores/type.ts +1 −0 Go to diff View file
M src/scripts/project-registration/src/type.ts +1 −1 Go to diff View file
M src/scripts/project-registration/themes/project-registration/includes/_cards.scss +1 −0 Go to diff View file
M src/templates/project/registration/project-registration.mustache +1 −0 Go to diff View file
M tests/unit/common/Project/Registration/ProjectRegistrationPresenterBuilderTest.php +1 −0 Go to diff View file