Skip to content

Commit 64bbd8e

Browse files
atrakhConvex, Inc.
authored and
Convex, Inc.
committed
dashboard: change mixer to gear icon (#35016)
Let's reserve the mixer icon for filtering. GitOrigin-RevId: c3885bf1005676b01170715828de52e85aa90904
1 parent b2b6474 commit 64bbd8e

File tree

4 files changed

+9
-21
lines changed

4 files changed

+9
-21
lines changed

npm-packages/dashboard-common/src/layouts/DeploymentDashboardLayout.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import {
22
FileIcon,
33
TableIcon,
4-
MixerHorizontalIcon,
54
CodeIcon,
65
StopwatchIcon,
76
CounterClockwiseClockIcon,
87
TextAlignBottomIcon,
8+
GearIcon,
99
} from "@radix-ui/react-icons";
1010
import { useQuery } from "convex/react";
1111
import Link from "next/link";
@@ -97,7 +97,7 @@ export function DeploymentDashboardLayout({
9797
{
9898
key: "settings",
9999
label: "Settings",
100-
Icon: MixerHorizontalIcon,
100+
Icon: GearIcon,
101101
href: `${uriPrefix}/settings`,
102102
},
103103
],

npm-packages/dashboard/src/components/header/ProjectSelector/ProjectSelector.tsx

+3-7
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@ import React, { useRef, useState } from "react";
55
import { useCurrentProject, useProjects } from "api/projects";
66
import { Button } from "dashboard-common/elements/Button";
77
import { Popover } from "dashboard-common/elements/Popover";
8-
import {
9-
CaretSortIcon,
10-
MixerHorizontalIcon,
11-
ResetIcon,
12-
} from "@radix-ui/react-icons";
8+
import { CaretSortIcon, GearIcon, ResetIcon } from "@radix-ui/react-icons";
139
import { Avatar } from "elements/Avatar";
1410
import { useScrolling, useWindowSize } from "react-use";
1511
import { usePopper } from "react-popper";
@@ -233,7 +229,7 @@ function ProjectSelectorPanel({
233229
onClick={close}
234230
inline
235231
variant="neutral"
236-
icon={<MixerHorizontalIcon />}
232+
icon={<GearIcon />}
237233
tip="Team settings"
238234
aria-label={`Team settings for ${team.name}`}
239235
tipSide="right"
@@ -294,7 +290,7 @@ function ProjectSelectorPanel({
294290
onClick={close}
295291
inline
296292
variant="neutral"
297-
icon={<MixerHorizontalIcon />}
293+
icon={<GearIcon />}
298294
tip={`Project settings for ${lastHoveredProject.slug}`}
299295
/>
300296
</div>

npm-packages/dashboard/src/components/projects/ProjectCard.tsx

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
import {
2-
EyeOpenIcon,
3-
MixerHorizontalIcon,
4-
TrashIcon,
5-
} from "@radix-ui/react-icons";
1+
import { EyeOpenIcon, TrashIcon, GearIcon } from "@radix-ui/react-icons";
62
import { Card, CardProps } from "elements/Card";
73
import { Tooltip } from "dashboard-common/elements/Tooltip";
84
import { Loading } from "dashboard-common/elements/Loading";
@@ -41,7 +37,7 @@ export function ProjectCard({ project }: { project: ProjectDetails }) {
4137

4238
const dropdownItems: CardProps["dropdownItems"] = [
4339
{
44-
Icon: MixerHorizontalIcon,
40+
Icon: GearIcon,
4541
text: "Settings",
4642
action: openSettings,
4743
},

npm-packages/dashboard/src/elements/DeploymentDisplay.tsx

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
import { CommandLineIcon, SignalIcon } from "@heroicons/react/20/solid";
2-
import {
3-
GlobeIcon,
4-
MixerHorizontalIcon,
5-
Pencil2Icon,
6-
} from "@radix-ui/react-icons";
2+
import { GearIcon, GlobeIcon, Pencil2Icon } from "@radix-ui/react-icons";
73
import { useCurrentDeployment, useDeployments } from "api/deployments";
84
import { useCurrentTeam, useTeamMembers } from "api/teams";
95
import { useProjectById } from "api/projects";
@@ -47,7 +43,7 @@ export function DeploymentDisplay({ project }: { project: ProjectDetails }) {
4743

4844
return isProjectSettings ? (
4945
<div className="flex items-center gap-2">
50-
<MixerHorizontalIcon />
46+
<GearIcon />
5147
<span className="hidden sm:block">Project settings</span>
5248
</div>
5349
) : !isDoneLoading ? null : whoseName ? (

0 commit comments

Comments
 (0)