stable

Clone or download

Read-only

Add information about the project in 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: I397f3f71ff7949acbdecf3127ad4575fcefd1ebd

Modified Files

Name
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +5 −3 Go to diff View file
A src/common/Layout/ProjectSidebar/Project/ProjectSidebarProject.php +79 −0 Go to diff View file
M src/common/Layout/ProjectSidebar/ProjectSidebarConfigRepresentation.php +15 −0 Go to diff View file
M src/common/Project/REST/v1/ProjectResource.class.php +8 −2 Go to diff View file
M src/common/Project/Sidebar/LinkedProjectPresenter.php +4 −7 Go to diff View file
M src/common/Project/Sidebar/LinkedProjectsCollectionPresenter.php +27 −13 Go to diff View file
M src/themes/BurningParrot/templates/header.mustache +7 −8 Go to diff View file
M src/themes/BurningParrot/templates/sidebar/header.mustache +8 −9 Go to diff View file
M src/themes/FlamingParrot/templates/sidebar/header.mustache +15 −17 Go to diff View file
M tests/unit/common/Layout/ProjectSidebar/ProjectSidebarConfigRepresentationTest.php +16 −0 Go to diff View file
M tests/unit/common/Project/Sidebar/LinkedProjectPresenterTest.php +6 −2 Go to diff View file
M tests/unit/common/Project/Sidebar/LinkedProjectsCollectionPresenterTest.php +1 −1 Go to diff View file