Files
Michael Clarke 4d4f571ded #1245: Update ProjectBranchesApp to new page layout
The ProjectBranchesApp page had not been altered to use the new
ProjectPageTemplate when the rest of the pages were upgraded, so was not
picking up the new banner and scrolling configuration that's present on
newer page layouts. By switching to the new layout we get a scrollbar
when we have more branches or pull requests than fit into the visible
content area.
2026-06-01 20:13:42 +01:00
..
…
2025-06-24 11:55:38 +05:30

sq-server-addons

This library reimplements removed features from the SonarQube Community Build frontend to support the community branch plugin.

Most code is refactored from the SonarSource/sonarqube-webapp@2025.1.0.10869.

Setup

# Clone git submodule
git submodule update --init --recursive

# Create symlink for local development
./sonarqube-webapp-addons/setup.sh

cd sonarqube-webapp

# Install dependencies
yarn

Local Development

By default, the UI targets SonarQube at http://localhost:9000. You can override this by setting the PROXY environment variable.

PROXY=http://my-sonarqube.org yarn start-sqs

Building

If you are building locally, run the setup script first to create the symlink. The Docker build overwrites the directory instead.

yarn nx run sq-server:build

The distribution files are generated in the `sonarqube-webapp/apps/sq-server/build/webapp' directory.

Testing

There are currently no tests for this project; however, it should be possible to refactor these from the original codebase.