stable

Clone or download

Read-only

Project reference admin use FrontRouter

This contribution makes the default UI of the admin UI of references use FrontRouter. To do so, I had to extract some legacy code. This code will be refactored and extracted to mustache templates in the next contribution. How to test: - Go to project > Admin > References --> You land on /project/<project_id>/admin/references --> System and project references used by your project are listed as before - Click on a reference keyword to edit it --> You are redirected to the edition form - Edit it and submit --> you are redirected on /project/<project_id>/admin/references --> NB: No feedback displayed since it is not implemented in the code - Click on [Create a new reference pattern] --> you land on the creation form - Fill in the fields, then submit --> You are redirected on /project/<project_id>/admin/reference --> There is a feedback - Click on the trash icon of a reference - Confirm the action in the dialog --> It is deleted --> You have a feedback - Same thing with site-admin in project 100 part of: request #18833 Migrate project references administration UI to BurningParrot Change-Id: I1253d08c622577e6b9bad812f6043b68abbbf0ad

Modified Files

Name
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +3 −0 Go to diff View file
M src/common/Project/Admin/Navigation/NavigationPresenterBuilder.php +1 −1 Go to diff View file
A src/common/Project/Admin/Reference/Browse/LegacyReferenceAdministrationBrowsingRenderer.php +233 −0 Go to diff View file
A src/common/Project/Admin/Reference/Browse/ReferenceAdministrationBrowseController.php +101 −0 Go to diff View file
M src/common/Project/Admin/Reference/ReferenceAdministration.php +19 −6 Go to diff View file
M src/common/Project/Admin/Reference/ReferenceAdministrationActions.class.php +16 −6 Go to diff View file
M src/common/Project/Admin/Reference/ReferenceAdministrationViews.php +0 −190 Go to diff View file
M src/common/Request/RouteCollector.php +27 −0 Go to diff View file