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 2 forks source link

fix: Correctly render blank lines in code view #250

Closed bryanhuhta closed 3 weeks ago

bryanhuhta commented 3 weeks ago

✨ Description

In code view, blank lines were being rendered as ??? instead of and empty line. This PR fixes the logic to make sure blank lines are rendered correctly.

Before:

Screenshot 2024-10-30 at 2 56 12 PM

After:

Screenshot 2024-10-30 at 2 55 42 PM
github-actions[bot] commented 3 weeks ago

Unit test coverage

Lines Statements Branches Functions
Coverage: 11%
11.6% (447/3851) 9.05% (123/1358) 8.49% (104/1224)