stable

Clone or download

Read-only

Add the project tools to the serialized project sidebar configuration

The values can be seen in the serialized configuration returned by the REST endpoint `GET /projects/:id/3rd_party_integration_data`. The returned config is expected to match what is expected by the Project Sidebar component (see src/scripts/lib/project-sidebar-internal/src/configuration.ts). Part of story #24227: have private oauth2 endpoints for Mediawiki Change-Id: I7ee5cfa08e4ef9c2d0c4622e7c283896a7c2108a

Modified Files

Name
M src/common/Layout/BaseLayout.php +2 −3 Go to diff View file
M src/common/Layout/ProjectSidebar/ProjectSidebarConfigRepresentation.php +9 −0 Go to diff View file
R src/common/Layout/ProjectSidebarBuilder.php Go to diff View file
D src/common/Layout/SidebarProjectDefinedServicePresenter.php +0 −67 Go to diff View file
M src/common/Layout/SidebarServicePresenter.php +46 −17 Go to diff View file
M src/common/Project/REST/v1/ProjectResource.class.php +13 −2 Go to diff View file
M src/themes/BurningParrot/templates/sidebar/tools.mustache +14 −30 Go to diff View file
M src/themes/FlamingParrot/templates/sidebar/tools.mustache +16 −33 Go to diff View file
M tests/psalm/tuleap-baseline.xml +1 −1 Go to diff View file
M tests/unit/common/Layout/ProjectSidebar/ProjectSidebarConfigRepresentationTest.php +9 −0 Go to diff View file
R tests/unit/common/Layout/ProjectSidebarBuilderTest.php Go to diff View file