Skip to content

Commit 9e4ebd9

Browse files
authored
Reorder experiment table indicator icons (#4416)
1 parent 8bb765d commit 9e4ebd9

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

webview/src/experiments/components/table/Indicators.tsx

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -123,20 +123,22 @@ export const Indicators = () => {
123123
</button>
124124
</CellHintTooltip>
125125
<Indicator
126-
count={selectedForPlotsCount}
127-
aria-label="selected for plots"
128-
onClick={openPlotsWebview}
129-
tooltipContent="Show Plots"
126+
count={columnsSelected}
127+
aria-label="columns"
128+
onClick={selectColumns}
129+
tooltipContent="Select Columns"
130+
disabled={!hasColumns}
130131
>
131-
<Icon width={16} height={16} icon={GraphScatter} />
132+
<Icon width={16} height={16} icon={ListFilter} />
132133
</Indicator>
133134
<Indicator
134-
count={sortsCount}
135-
aria-label="sorts"
136-
onClick={focusSortsTree}
137-
tooltipContent="Show Sorts"
135+
count={branchesSelected}
136+
aria-label="branches"
137+
onClick={selectBranches}
138+
tooltipContent="Select Branches"
139+
disabled={!hasBranchesToSelect}
138140
>
139-
<Icon width={16} height={16} icon={SortPrecedence} />
141+
<Icon width={16} height={16} icon={GitMerge} />
140142
</Indicator>
141143
<Indicator
142144
count={filtersCount}
@@ -147,22 +149,20 @@ export const Indicators = () => {
147149
<Icon width={16} height={16} icon={Filter} />
148150
</Indicator>
149151
<Indicator
150-
count={branchesSelected}
151-
aria-label="branches"
152-
onClick={selectBranches}
153-
tooltipContent="Select Branches"
154-
disabled={!hasBranchesToSelect}
152+
count={sortsCount}
153+
aria-label="sorts"
154+
onClick={focusSortsTree}
155+
tooltipContent="Show Sorts"
155156
>
156-
<Icon width={16} height={16} icon={GitMerge} />
157+
<Icon width={16} height={16} icon={SortPrecedence} />
157158
</Indicator>
158159
<Indicator
159-
count={columnsSelected}
160-
aria-label="columns"
161-
onClick={selectColumns}
162-
tooltipContent="Select Columns"
163-
disabled={!hasColumns}
160+
count={selectedForPlotsCount}
161+
aria-label="selected for plots"
162+
onClick={openPlotsWebview}
163+
tooltipContent="Show Plots"
164164
>
165-
<Icon width={16} height={16} icon={ListFilter} />
165+
<Icon width={16} height={16} icon={GraphScatter} />
166166
</Indicator>
167167
</div>
168168
)

0 commit comments

Comments
 (0)