grafana / explore-profiles

Explore Profiles is a native Grafana application designed to integrate seamlessly with Pyroscope, the open-source continuous profiling platform, providing a smooth, query-less experience for browsing and analyzing profiling data.
GNU Affero General Public License v3.0
18 stars 1 forks source link

refactor(AppHeader): Split responsibilities #229

Closed grafakus closed 1 week ago

grafakus commented 1 week ago

✨ Description

Related issue(s): -

The goal of this PR is to reduce the complexity of the SceneProfilesExplorer class by extracting the logic related to the app header to a separate component. It tries to achieve this by using our architecture guidelines.

📖 Summary of the changes

The main changes are:

See diff tab for specific comments.

🧪 How to test?

The build should pass

github-actions[bot] commented 1 week ago

Unit test coverage

Lines Statements Branches Functions
Coverage: 11%
11.62% (433/3726) 9.11% (121/1328) 8.6% (102/1186)