stable

Clone or download

Read-only

feat: Display welcome modal after invitation

Alice invite Bob to register on Tuleap. Bob registers himself and is redirected to his personal dashboard with a welcome modal. Part of request #29614: Invited users shouldn't be mandated to re-confirm their email Change-Id: I58d3d70b76a676aa96f4c6be894f938e76d8c904

Modified Files

Name
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +28 −1 Go to diff View file
M site-content/pt_BR/LC_MESSAGES/tuleap-core.po +22 −1 Go to diff View file
A src/common/Dashboard/User/FirstTimerPresenter.php +39 −0 Go to diff View file
A src/common/Dashboard/User/FirstTimerPresenterBuilder.php +74 −0 Go to diff View file
M src/common/Dashboard/User/MyPresenter.php +8 −14 Go to diff View file
M src/common/Dashboard/User/UserDashboardController.php +15 −4 Go to diff View file
M src/common/InviteBuddy/Invitation.php +1 −1 Go to diff View file
M src/common/InviteBuddy/InvitationDao.php +2 −2 Go to diff View file
M src/common/User/Account/Register/AfterSuccessfulUserRegistration.php +3 −3 Go to diff View file
A src/scripts/first-timer/package.json +21 −0 Go to diff View file
A src/scripts/first-timer/pnpm-lock.yaml +25 −0 Go to diff View file
A src/scripts/first-timer/src/first-timer.scss +71 −0 Go to diff View file
A src/scripts/first-timer/src/first-timer.ts +94 −0 Go to diff View file
A src/scripts/first-timer/tsconfig.json +9 −0 Go to diff View file
A src/scripts/first-timer/vite.config.ts +37 −0 Go to diff View file
A src/templates/dashboard/first-timer-modal.mustache +37 −0 Go to diff View file
M src/templates/dashboard/my.mustache +5 −0 Go to diff View file
M src/www/my/index.php +6 −1 Go to diff View file
A tests/unit/common/Dashboard/User/FirstTimerPresenterBuilderTest.php +134 −0 Go to diff View file
M tests/unit/common/User/Account/Register/AfterSuccessfulUserRegistrationTest.php +5 −3 Go to diff View file
M tests/unit/common/User/Account/Register/DisplayRegisterFormControllerTest.php +3 −3 Go to diff View file
M tests/unit/common/User/Account/Register/InvitationToEmailRequestExtractorTest.php +2 −2 Go to diff View file
M tests/unit/common/User/Account/Register/InvitationToEmailTest.php +2 −2 Go to diff View file
M tests/unit/common/User/Account/Register/ProcessRegisterFormControllerTest.php +3 −3 Go to diff View file