Skip to content

Commit d0be4fd

Browse files
authored
chore(comp workflows): Remove Sorting Tab (#102754)
- Remove sorting tab and default to RRR - Will do another follow up for cleanup once backend is updated Before <img width="1108" height="200" alt="image" src="https://github.com/user-attachments/assets/bd743aa0-11c4-4366-99d4-3c26810c08de" /> After <img width="1044" height="277" alt="image" src="https://github.com/user-attachments/assets/a23ae4ba-4b9c-4d8a-90a9-a02e11f11510" />
1 parent 54f5bde commit d0be4fd

File tree

2 files changed

+3
-37
lines changed

2 files changed

+3
-37
lines changed

static/app/views/explore/components/attributeBreakdowns/content.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ import {prettifyAggregation} from 'sentry/views/explore/utils';
2828

2929
import {Chart} from './chart';
3030
import {useChartSelection} from './chartSelectionContext';
31-
import {SortingToggle, type SortingMethod} from './sortingToggle';
31+
32+
type SortingMethod = 'rrr';
3233

3334
const CHARTS_COLUMN_COUNT = 3;
3435
const CHARTS_PER_PAGE = CHARTS_COLUMN_COUNT * 4;
@@ -96,7 +97,7 @@ function ContentImpl({
9697
chartInfo,
9798
});
9899
const [searchQuery, setSearchQuery] = useState('');
99-
const [sortingMethod, setSortingMethod] = useState<SortingMethod>('rrr');
100+
const sortingMethod: SortingMethod = 'rrr';
100101
const [page, setPage] = useState(0);
101102
const theme = useTheme();
102103

@@ -192,7 +193,6 @@ function ContentImpl({
192193
query={debouncedSearchQuery}
193194
size="sm"
194195
/>
195-
<SortingToggle value={sortingMethod} onChange={setSortingMethod} />
196196
</ControlsContainer>
197197
{selectionHint && (
198198
<SelectionHintContainer>

static/app/views/explore/components/attributeBreakdowns/sortingToggle.tsx

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)