feat(insights): add view trends button to ai overview
Work for (https://github.com/getsentry/sentry/issues/77572) Similar to https://github.com/getsentry/sentry/pull/78520
Adds a view trends button for the ai view and performs some related changes that were necessary for it to work
Bundle Report
Changes will increase total bundle size by 1.28kB (0.0%) :arrow_up:. This is within the configured threshold :white_check_mark:
Detailed changes
| Bundle name | Size | Change |
|---|---|---|
| app-webpack-bundle-array-push | 30.98MB | 1.28kB (0.0%) :arrow_up: |
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:white_check_mark: All tests successful. No failed tests found.
Additional details and impacted files
@@ Coverage Diff @@
## master #78611 +/- ##
===========================================
+ Coverage 52.16% 78.22% +26.05%
===========================================
Files 7079 7104 +25
Lines 311665 312869 +1204
Branches 50904 51084 +180
===========================================
+ Hits 162591 244729 +82138
+ Misses 147549 61770 -85779
- Partials 1525 6370 +4845
Are we going to eventually have these trends buttons filter transactions based on the domain they were clicked from?
Yup, if its possible, that's the plan. I think whatever filters are applied to the transaction table, will be applied once you click the view trends button.