Skip to content

Commit

Permalink
feat(replays): Sort "Session Replays" under Transaction in /stats cat…
Browse files Browse the repository at this point in the history
…egory dropdown (#45346)

Here's the new sorted list:

![SCR-20230302-kax](https://user-images.githubusercontent.com/187460/222575736-6604048e-2d87-414c-a3bc-2e1fbc42000d.png)

This page has a few different layouts, but they all use the same
dropdown and sort order.

Fixes #45148
  • Loading branch information
ryan953 authored Mar 2, 2023
1 parent 2aaa851 commit 48dbf73
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions static/app/views/organizationStats/usageChart/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ export const CHART_OPTIONS_DATACATEGORY: CategoryOption[] = [
disabled: false,
yAxisMinInterval: 100,
},
{
label: DATA_CATEGORY_INFO.replay.titleName,
value: DATA_CATEGORY_INFO.replay.plural,
disabled: false,
yAxisMinInterval: 100,
},
{
label: DATA_CATEGORY_INFO.attachment.titleName,
value: DATA_CATEGORY_INFO.attachment.plural,
Expand All @@ -75,12 +81,6 @@ export const CHART_OPTIONS_DATACATEGORY: CategoryOption[] = [
disabled: false,
yAxisMinInterval: 100,
},
{
label: DATA_CATEGORY_INFO.replay.titleName,
value: DATA_CATEGORY_INFO.replay.plural,
disabled: false,
yAxisMinInterval: 100,
},
];

export enum ChartDataTransform {
Expand Down

0 comments on commit 48dbf73

Please sign in to comment.