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(DiffView): Disable AI button when no selections #258

Closed grafakus closed 3 weeks ago

grafakus commented 3 weeks ago

✨ Description

Related issue(s): is caused by https://github.com/grafana/explore-profiles/pull/231/files#diff-b648e06443c5667d8938e238e6b0a8b7579e793379e4fdd1cfc0c0191a7984e6R105

A quick fix to properly disable the "Explain Flame Graph" when no selections are made

📖 Summary of the changes

See diff tab

🧪 How to test?

-

github-actions[bot] commented 3 weeks ago

Unit test coverage

Lines Statements Branches Functions
Coverage: 12%
12.34% (486/3937) 9.73% (136/1397) 8.88% (111/1249)