stable

Clone or download

Read-only

Create project and redirect user on his personal dashboard

part of story #8283: Enhance project creation user experience How to test: - fill form with project name => slugified name is valid => you should be able to create a project => slugified name is invalid => new project button is disabled - button has a spinner - user is redirected for now on its personal dashboard In order to ease code review this patch does not deal with REST error/success. You are always redirected, whatever the rest result is, I will handle it in next commit. Change-Id: I3eeeb1fc4acaf117af0fb3ff1021b266aeb4a130

Modified Files

Name
A src/www/scripts/project/registration/src/api/rest-querier.test.ts +45 −0 Go to diff View file
A src/www/scripts/project/registration/src/api/rest-querier.ts +38 −0 Go to diff View file
M src/www/scripts/project/registration/src/components/Information/Input/ProjectInformationInputPrivacySwitch.vue +4 −3 Go to diff View file
M src/www/scripts/project/registration/src/components/Information/Input/ProjectName.test.ts +58 −1 Go to diff View file
M src/www/scripts/project/registration/src/components/Information/Input/ProjectName.vue +7 −2 Go to diff View file
M src/www/scripts/project/registration/src/components/Information/ProjectInformation.vue +18 −6 Go to diff View file
M src/www/scripts/project/registration/src/components/Information/ProjectInformationFooter.test.ts +49 −2 Go to diff View file
M src/www/scripts/project/registration/src/components/Information/ProjectInformationFooter.vue +44 −3 Go to diff View file
A src/www/scripts/project/registration/src/helpers/location-helper.ts +23 −0 Go to diff View file
M src/www/scripts/project/registration/src/store/actions.ts +11 −1 Go to diff View file
M src/www/scripts/project/registration/src/type.ts +14 −0 Go to diff View file