diff --git a/site/src/modules/resources/AppLink/BaseIcon.tsx b/site/src/modules/resources/AppLink/BaseIcon.tsx index b768facbdd..9d59495c66 100644 --- a/site/src/modules/resources/AppLink/BaseIcon.tsx +++ b/site/src/modules/resources/AppLink/BaseIcon.tsx @@ -1,6 +1,6 @@ -import ComputerIcon from "@mui/icons-material/Computer"; import type { WorkspaceApp } from "api/typesGenerated"; import { ExternalImage } from "components/ExternalImage/ExternalImage"; +import { LaptopIcon } from "lucide-react"; import type { FC } from "react"; interface BaseIconProps { @@ -22,6 +22,6 @@ export const BaseIcon: FC = ({ app, onIconPathError }) => { }} /> ) : ( - + ); }; diff --git a/site/src/modules/resources/DownloadAgentLogsButton.tsx b/site/src/modules/resources/DownloadAgentLogsButton.tsx index 7d27241f88..69a29f810a 100644 --- a/site/src/modules/resources/DownloadAgentLogsButton.tsx +++ b/site/src/modules/resources/DownloadAgentLogsButton.tsx @@ -1,9 +1,9 @@ -import DownloadOutlined from "@mui/icons-material/DownloadOutlined"; import { agentLogs } from "api/queries/workspaces"; import type { WorkspaceAgent, WorkspaceAgentLog } from "api/typesGenerated"; import { Button } from "components/Button/Button"; import { displayError } from "components/GlobalSnackbar/utils"; import { saveAs } from "file-saver"; +import { DownloadIcon } from "lucide-react"; import { type FC, useState } from "react"; import { useQueryClient } from "react-query"; @@ -54,7 +54,7 @@ export const DownloadAgentLogsButton: FC = ({ } }} > - + {isDownloading ? "Downloading..." : "Download logs"} ); diff --git a/site/src/pages/DeploymentSettingsPage/Option.tsx b/site/src/pages/DeploymentSettingsPage/Option.tsx index 3f2d848509..3dd61750d1 100644 --- a/site/src/pages/DeploymentSettingsPage/Option.tsx +++ b/site/src/pages/DeploymentSettingsPage/Option.tsx @@ -1,6 +1,6 @@ import { css, type Interpolation, type Theme, useTheme } from "@emotion/react"; -import BuildCircleOutlinedIcon from "@mui/icons-material/BuildCircleOutlined"; import { DisabledBadge, EnabledBadge } from "components/Badges/Badges"; +import { WrenchIcon } from "lucide-react"; import type { FC, HTMLAttributes, PropsWithChildren } from "react"; import { MONOSPACE_FONT_FAMILY } from "theme/constants"; @@ -90,16 +90,7 @@ export const OptionValue: FC = (props) => { alignItems: "center", }} > - {isEnabled && ( - ({ - width: 16, - height: 16, - color: theme.palette.mode, - margin: "0 8px", - })} - /> - )} + {isEnabled && } {option} diff --git a/site/src/pages/HealthPage/DERPPage.tsx b/site/src/pages/HealthPage/DERPPage.tsx index 75ff55d5c8..8b4b85bd37 100644 --- a/site/src/pages/HealthPage/DERPPage.tsx +++ b/site/src/pages/HealthPage/DERPPage.tsx @@ -1,5 +1,4 @@ import { useTheme } from "@emotion/react"; -import LocationOnOutlined from "@mui/icons-material/LocationOnOutlined"; import Button from "@mui/material/Button"; import type { HealthcheckReport, @@ -7,6 +6,7 @@ import type { NetcheckReport, } from "api/typesGenerated"; import { Alert } from "components/Alert/Alert"; +import { MapPinIcon } from "lucide-react"; import type { FC } from "react"; import { Link, useOutletContext } from "react-router"; import { pageTitle } from "utils/page"; @@ -102,10 +102,9 @@ const DERPPage: FC = () => { return ( )} diff --git a/site/src/pages/UserSettingsPage/ExternalAuthPage/ExternalAuthPageView.tsx b/site/src/pages/UserSettingsPage/ExternalAuthPage/ExternalAuthPageView.tsx index db229b2890..01f468a232 100644 --- a/site/src/pages/UserSettingsPage/ExternalAuthPage/ExternalAuthPageView.tsx +++ b/site/src/pages/UserSettingsPage/ExternalAuthPage/ExternalAuthPageView.tsx @@ -1,5 +1,4 @@ import { useTheme } from "@emotion/react"; -import AutorenewIcon from "@mui/icons-material/Autorenew"; import Table from "@mui/material/Table"; import TableBody from "@mui/material/TableBody"; import TableCell from "@mui/material/TableCell"; @@ -28,7 +27,7 @@ import { Spinner } from "components/Spinner/Spinner"; import { Stack } from "components/Stack/Stack"; import { TableEmpty } from "components/TableEmpty/TableEmpty"; import type { ExternalAuthPollingState } from "hooks/useExternalAuth"; -import { EllipsisVertical } from "lucide-react"; +import { EllipsisVertical, RefreshCcwIcon } from "lucide-react"; import { type FC, useCallback, useEffect, useState } from "react"; import { useQuery } from "react-query"; @@ -142,11 +141,7 @@ const ExternalAuthRow: FC = ({ title="Authentication token will automatically refresh when expired." placement="right" > - + )} diff --git a/site/src/pages/UserSettingsPage/SecurityPage/SingleSignOnSection.tsx b/site/src/pages/UserSettingsPage/SecurityPage/SingleSignOnSection.tsx index c7d24384f3..5a38d79045 100644 --- a/site/src/pages/UserSettingsPage/SecurityPage/SingleSignOnSection.tsx +++ b/site/src/pages/UserSettingsPage/SecurityPage/SingleSignOnSection.tsx @@ -1,6 +1,5 @@ import { useTheme } from "@emotion/react"; import GitHubIcon from "@mui/icons-material/GitHub"; -import KeyIcon from "@mui/icons-material/VpnKey"; import Button from "@mui/material/Button"; import Link from "@mui/material/Link"; import TextField from "@mui/material/TextField"; @@ -15,7 +14,7 @@ import type { import { ConfirmDialog } from "components/Dialogs/ConfirmDialog/ConfirmDialog"; import { EmptyState } from "components/EmptyState/EmptyState"; import { Stack } from "components/Stack/Stack"; -import { CircleCheck as CircleCheckIcon } from "lucide-react"; +import { CircleCheck as CircleCheckIcon, KeyIcon } from "lucide-react"; import { type FC, useState } from "react"; import { useMutation } from "react-query"; import { docs } from "utils/docs"; @@ -230,7 +229,7 @@ interface OIDCIconProps { const OIDCIcon: FC = ({ oidcAuth }) => { if (!oidcAuth.iconUrl) { - return ; + return ; } return ( diff --git a/site/src/pages/UserSettingsPage/Sidebar.tsx b/site/src/pages/UserSettingsPage/Sidebar.tsx index fd9b342227..85f3dd99f0 100644 --- a/site/src/pages/UserSettingsPage/Sidebar.tsx +++ b/site/src/pages/UserSettingsPage/Sidebar.tsx @@ -1,5 +1,3 @@ -import AppearanceIcon from "@mui/icons-material/Brush"; -import NotificationsIcon from "@mui/icons-material/NotificationsNoneOutlined"; import type { User } from "api/typesGenerated"; import { Avatar } from "components/Avatar/Avatar"; import { GitIcon } from "components/Icons/GitIcon"; @@ -9,6 +7,8 @@ import { SidebarNavItem, } from "components/Sidebar/Sidebar"; import { + BellIcon, + BrushIcon, CalendarCogIcon, FingerprintIcon, KeyIcon, @@ -39,7 +39,7 @@ export const Sidebar: FC = ({ user }) => { Account - + Appearance @@ -64,7 +64,7 @@ export const Sidebar: FC = ({ user }) => { Tokens - + Notifications diff --git a/site/src/pages/UsersPage/UsersTable/UserGroupsCell.tsx b/site/src/pages/UsersPage/UsersTable/UserGroupsCell.tsx index 1b4a44a454..1cfc1db54a 100644 --- a/site/src/pages/UsersPage/UsersTable/UserGroupsCell.tsx +++ b/site/src/pages/UsersPage/UsersTable/UserGroupsCell.tsx @@ -1,5 +1,4 @@ import { useTheme } from "@emotion/react"; -import GroupIcon from "@mui/icons-material/Group"; import List from "@mui/material/List"; import ListItem from "@mui/material/ListItem"; import type { Group } from "api/typesGenerated"; @@ -11,7 +10,9 @@ import { } from "components/deprecated/Popover/Popover"; import { OverflowY } from "components/OverflowY/OverflowY"; import { TableCell } from "components/Table/Table"; +import { UsersIcon } from "lucide-react"; import type { FC } from "react"; +import { cn } from "utils/cn"; type GroupsCellProps = { userGroups: readonly Group[] | undefined; @@ -42,12 +43,13 @@ export const UserGroupsCell: FC = ({ userGroups }) => { type="button" >
- 0 ? 0.8 : 0.5, - }} + 0, + }, + ])} /> diff --git a/site/src/pages/WorkspacePage/HistorySidebar.tsx b/site/src/pages/WorkspacePage/HistorySidebar.tsx index 037aeec4b8..3ab9966d3d 100644 --- a/site/src/pages/WorkspacePage/HistorySidebar.tsx +++ b/site/src/pages/WorkspacePage/HistorySidebar.tsx @@ -1,4 +1,3 @@ -import ArrowDownwardOutlined from "@mui/icons-material/ArrowDownwardOutlined"; import { infiniteWorkspaceBuilds } from "api/queries/workspaceBuilds"; import type { Workspace } from "api/typesGenerated"; import { Button } from "components/Button/Button"; @@ -10,6 +9,7 @@ import { } from "components/FullPageLayout/Sidebar"; import { ScrollArea } from "components/ScrollArea/ScrollArea"; import { Spinner } from "components/Spinner/Spinner"; +import { ArrowDownIcon } from "lucide-react"; import { WorkspaceBuildData, WorkspaceBuildDataSkeleton, @@ -57,7 +57,7 @@ export const HistorySidebar: FC = ({ workspace }) => { className="w-full" > - + Show more builds