Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(stats): Display subseries in tooltip #73774

Merged
merged 7 commits into from
Jul 5, 2024

Conversation

priscilawebdev
Copy link
Member

@priscilawebdev priscilawebdev commented Jul 3, 2024

Goal

On the stats page, we aim to provide more detailed information about the statistics. Currently, we display the outcomes: Accepted, Filtered, and Dropped, but we should also include specifics about what was filtered and what was dropped.

Before:

image

After:
image

Note

Discarded will be included in a follow-up

Part of #59320

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jul 3, 2024
Copy link

codecov bot commented Jul 3, 2024

Bundle Report

Changes will increase total bundle size by 3.08kB ⬆️

Bundle name Size Change
app-webpack-bundle-array-push 27.31MB 3.08kB ⬆️

Copy link

codecov bot commented Jul 3, 2024

Codecov Report

Attention: Patch coverage is 79.16667% with 5 lines in your changes missing coverage. Please review.

Project coverage is 78.10%. Comparing base (ed0c930) to head (dd7d706).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #73774      +/-   ##
==========================================
- Coverage   78.12%   78.10%   -0.02%     
==========================================
  Files        6661     6665       +4     
  Lines      298042   297646     -396     
  Branches    51278    51200      -78     
==========================================
- Hits       232834   232480     -354     
+ Misses      58919    58882      -37     
+ Partials     6289     6284       -5     
Files Coverage Δ
static/app/components/charts/baseChart.tsx 71.42% <ø> (ø)
...c/app/views/organizationStats/usageChart/index.tsx 72.00% <ø> (ø)
...atic/app/views/organizationStats/usageStatsOrg.tsx 84.51% <90.47%> (+1.06%) ⬆️
...tatic/app/components/charts/components/tooltip.tsx 6.25% <0.00%> (-0.12%) ⬇️

... and 100 files with indirect coverage changes

@priscilawebdev priscilawebdev force-pushed the priscila/ref/stats/display-subseries-tooltip branch from 9e149d5 to eb53f83 Compare July 3, 2024 21:11
@priscilawebdev priscilawebdev marked this pull request as ready for review July 3, 2024 21:23
@priscilawebdev priscilawebdev requested a review from a team as a code owner July 3, 2024 21:23
@priscilawebdev priscilawebdev requested a review from a team July 3, 2024 21:23
@@ -115,7 +117,7 @@ class UsageStatsOrganization<
return {
...queryDatetime,
interval: getSeriesApiInterval(dataDatetime),
groupBy: ['category', 'outcome'],
groupBy: ['category', 'outcome', 'reason'],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this need to be behind a feature flag?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I recall correctly, no, but let me check again to confirm.

@brianthi brianthi requested a review from a team July 3, 2024 21:42
Copy link
Member

@matejminar matejminar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

Could we do something about this huge tooltip? Perhaps only show non-zero values?
CleanShot 2024-07-04 at 14 45 14@2x

@priscilawebdev priscilawebdev enabled auto-merge (squash) July 5, 2024 06:45
@priscilawebdev priscilawebdev merged commit 479ea5a into master Jul 5, 2024
43 checks passed
@priscilawebdev priscilawebdev deleted the priscila/ref/stats/display-subseries-tooltip branch July 5, 2024 06:49
priscilawebdev added a commit that referenced this pull request Jul 5, 2024
@priscilawebdev priscilawebdev added the Trigger: Revert Add to a merged PR to revert it (skips CI) label Jul 5, 2024
@getsentry-bot
Copy link
Contributor

PR reverted: 5e2457d

getsentry-bot added a commit that referenced this pull request Jul 5, 2024
This reverts commit 479ea5a.

Co-authored-by: priscilawebdev <29228205+priscilawebdev@users.noreply.github.com>
@priscilawebdev priscilawebdev restored the priscila/ref/stats/display-subseries-tooltip branch July 5, 2024 07:56
@github-actions github-actions bot locked and limited conversation to collaborators Jul 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Frontend Automatically applied to PRs that change frontend components Trigger: Revert Add to a merged PR to revert it (skips CI)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants