diff --git a/site/src/components/GitDeviceAuth/GitDeviceAuth.tsx b/site/src/components/GitDeviceAuth/GitDeviceAuth.tsx index 5bbf036943773..ef7dc398fc498 100644 --- a/site/src/components/GitDeviceAuth/GitDeviceAuth.tsx +++ b/site/src/components/GitDeviceAuth/GitDeviceAuth.tsx @@ -1,5 +1,4 @@ import type { Interpolation, Theme } from "@emotion/react"; -import OpenInNewIcon from "@mui/icons-material/OpenInNew"; import AlertTitle from "@mui/material/AlertTitle"; import CircularProgress from "@mui/material/CircularProgress"; import Link from "@mui/material/Link"; @@ -8,6 +7,7 @@ import type { ExternalAuthDevice } from "api/typesGenerated"; import { isAxiosError } from "axios"; import { Alert, AlertDetail } from "components/Alert/Alert"; import { CopyButton } from "components/CopyButton/CopyButton"; +import { ExternalLinkIcon } from "lucide-react"; import type { FC } from "react"; interface GitDeviceAuthProps { @@ -146,7 +146,7 @@ export const GitDeviceAuth: FC = ({ target="_blank" rel="noreferrer" > - + Open and Paste diff --git a/site/src/modules/dashboard/Navbar/UserDropdown/UserDropdownContent.tsx b/site/src/modules/dashboard/Navbar/UserDropdown/UserDropdownContent.tsx index f0f9e257a0838..4b4e9c76293e0 100644 --- a/site/src/modules/dashboard/Navbar/UserDropdown/UserDropdownContent.tsx +++ b/site/src/modules/dashboard/Navbar/UserDropdown/UserDropdownContent.tsx @@ -4,12 +4,6 @@ import { type Theme, css, } from "@emotion/react"; -import AccountIcon from "@mui/icons-material/AccountCircleOutlined"; -import BugIcon from "@mui/icons-material/BugReportOutlined"; -import ChatIcon from "@mui/icons-material/ChatOutlined"; -import LogoutIcon from "@mui/icons-material/ExitToAppOutlined"; -import LaunchIcon from "@mui/icons-material/LaunchOutlined"; -import DocsIcon from "@mui/icons-material/MenuBook"; import Divider from "@mui/material/Divider"; import MenuItem from "@mui/material/MenuItem"; import type { SvgIconProps } from "@mui/material/SvgIcon"; @@ -19,7 +13,12 @@ import { CopyButton } from "components/CopyButton/CopyButton"; import { ExternalImage } from "components/ExternalImage/ExternalImage"; import { Stack } from "components/Stack/Stack"; import { usePopover } from "components/deprecated/Popover/Popover"; -import { MonitorDownIcon } from "lucide-react"; +import { BookOpenTextIcon } from "lucide-react"; +import { BugIcon } from "lucide-react"; +import { CircleUserIcon } from "lucide-react"; +import { LogOutIcon } from "lucide-react"; +import { MessageSquareIcon } from "lucide-react"; +import { MonitorDownIcon, SquareArrowOutUpRightIcon } from "lucide-react"; import type { FC } from "react"; import { Link } from "react-router-dom"; @@ -53,9 +52,9 @@ export const UserDropdownContent: FC = ({ case "bug": return ; case "chat": - return ; + return ; case "docs": - return ; + return ; case "star": return ; default: @@ -86,13 +85,13 @@ export const UserDropdownContent: FC = ({ - + {Language.accountLabel} - + {Language.signOutLabel} @@ -126,7 +125,7 @@ export const UserDropdownContent: FC = ({ target="_blank" rel="noreferrer" > - {buildInfo?.version} + {buildInfo?.version} diff --git a/site/src/modules/notifications/utils.tsx b/site/src/modules/notifications/utils.tsx index 47c4d4b482522..c876c5b05d94f 100644 --- a/site/src/modules/notifications/utils.tsx +++ b/site/src/modules/notifications/utils.tsx @@ -1,13 +1,13 @@ -import EmailIcon from "@mui/icons-material/EmailOutlined"; -import WebhookIcon from "@mui/icons-material/WebhookOutlined"; +import { MailIcon } from "lucide-react"; +import { WebhookIcon } from "lucide-react"; // TODO: This should be provided by the auto generated types from codersdk const notificationMethods = ["smtp", "webhook"] as const; export type NotificationMethod = (typeof notificationMethods)[number]; -export const methodIcons: Record = { - smtp: EmailIcon, +export const methodIcons: Record = { + smtp: MailIcon, webhook: WebhookIcon, }; diff --git a/site/src/modules/provisioners/Provisioner.tsx b/site/src/modules/provisioners/Provisioner.tsx index 4c8b912afa3fa..3f9e5d4cad296 100644 --- a/site/src/modules/provisioners/Provisioner.tsx +++ b/site/src/modules/provisioners/Provisioner.tsx @@ -1,9 +1,9 @@ import { useTheme } from "@emotion/react"; -import Business from "@mui/icons-material/Business"; -import Person from "@mui/icons-material/Person"; import Tooltip from "@mui/material/Tooltip"; import type { HealthMessage, ProvisionerDaemon } from "api/typesGenerated"; import { Pill } from "components/Pill/Pill"; +import { Building2Icon } from "lucide-react"; +import { UserIcon } from "lucide-react"; import type { FC } from "react"; import { createDayString } from "utils/createDayString"; import { ProvisionerTag } from "./ProvisionerTag"; @@ -19,7 +19,12 @@ export const Provisioner: FC = ({ }) => { const theme = useTheme(); const daemonScope = provisioner.tags.scope || "organization"; - const iconScope = daemonScope === "organization" ? : ; + const iconScope = + daemonScope === "organization" ? ( + + ) : ( + + ); const extraTags = Object.entries(provisioner.tags).filter( ([key]) => key !== "scope" && key !== "owner", diff --git a/site/src/modules/resources/AppLink/ShareIcon.tsx b/site/src/modules/resources/AppLink/ShareIcon.tsx index b462a3fc003fe..2c0daf2794964 100644 --- a/site/src/modules/resources/AppLink/ShareIcon.tsx +++ b/site/src/modules/resources/AppLink/ShareIcon.tsx @@ -1,8 +1,8 @@ import GroupOutlinedIcon from "@mui/icons-material/GroupOutlined"; -import LaunchOutlinedIcon from "@mui/icons-material/LaunchOutlined"; import PublicOutlinedIcon from "@mui/icons-material/PublicOutlined"; import Tooltip from "@mui/material/Tooltip"; import type * as TypesGen from "api/typesGenerated"; +import { SquareArrowOutUpRightIcon } from "lucide-react"; export interface ShareIconProps { app: TypesGen.WorkspaceApp; @@ -12,7 +12,7 @@ export const ShareIcon = ({ app }: ShareIconProps) => { if (app.external) { return ( - + ); } diff --git a/site/src/pages/ExternalAuthPage/ExternalAuthPageView.tsx b/site/src/pages/ExternalAuthPage/ExternalAuthPageView.tsx index 32809fb08cc7b..798116145dd78 100644 --- a/site/src/pages/ExternalAuthPage/ExternalAuthPageView.tsx +++ b/site/src/pages/ExternalAuthPage/ExternalAuthPageView.tsx @@ -1,5 +1,4 @@ import type { Interpolation, Theme } from "@emotion/react"; -import OpenInNewIcon from "@mui/icons-material/OpenInNew"; import Link from "@mui/material/Link"; import Tooltip from "@mui/material/Tooltip"; import type { ApiErrorResponse } from "api/errors"; @@ -9,6 +8,7 @@ import { Avatar } from "components/Avatar/Avatar"; import { GitDeviceAuth } from "components/GitDeviceAuth/GitDeviceAuth"; import { SignInLayout } from "components/SignInLayout/SignInLayout"; import { Welcome } from "components/Welcome/Welcome"; +import { ExternalLinkIcon } from "lucide-react"; import { RotateCwIcon } from "lucide-react"; import type { FC, ReactNode } from "react"; @@ -120,7 +120,7 @@ const ExternalAuthPageView: FC = ({ rel="noreferrer" css={styles.link} > - + {externalAuth.installations.length > 0 ? "Configure" : "Install"}{" "} the {externalAuth.display_name} App diff --git a/site/src/pages/LoginPage/TermsOfServiceLink.tsx b/site/src/pages/LoginPage/TermsOfServiceLink.tsx index 0fb6e81d9173e..a3ed055c1835e 100644 --- a/site/src/pages/LoginPage/TermsOfServiceLink.tsx +++ b/site/src/pages/LoginPage/TermsOfServiceLink.tsx @@ -1,5 +1,5 @@ -import LaunchIcon from "@mui/icons-material/LaunchOutlined"; import Link from "@mui/material/Link"; +import { SquareArrowOutUpRightIcon } from "lucide-react"; import type { FC } from "react"; interface TermsOfServiceLinkProps { @@ -21,7 +21,7 @@ export const TermsOfServiceLink: FC = ({ rel="noreferrer" > Terms of Service  - + ); diff --git a/site/src/pages/OrganizationSettingsPage/OrganizationMembersPageView.tsx b/site/src/pages/OrganizationSettingsPage/OrganizationMembersPageView.tsx index dc507d567b3c0..99e80cb6de397 100644 --- a/site/src/pages/OrganizationSettingsPage/OrganizationMembersPageView.tsx +++ b/site/src/pages/OrganizationSettingsPage/OrganizationMembersPageView.tsx @@ -1,4 +1,3 @@ -import PersonAdd from "@mui/icons-material/PersonAdd"; import { getErrorMessage } from "api/errors"; import type { Group, @@ -35,6 +34,7 @@ import { } from "components/Table/Table"; import { UserAutocomplete } from "components/UserAutocomplete/UserAutocomplete"; import type { PaginationResultInfo } from "hooks/usePaginatedQuery"; +import { UserPlusIcon } from "lucide-react"; import { EllipsisVertical, TriangleAlert } from "lucide-react"; import { UserGroupsCell } from "pages/UsersPage/UsersTable/UserGroupsCell"; import { type FC, useState } from "react"; @@ -243,7 +243,7 @@ const AddOrganizationMember: FC = ({ variant="outline" > - + Add user diff --git a/site/src/pages/WorkspacePage/AppStatuses.tsx b/site/src/pages/WorkspacePage/AppStatuses.tsx index fe1df6863b26b..60e4a8cecf22e 100644 --- a/site/src/pages/WorkspacePage/AppStatuses.tsx +++ b/site/src/pages/WorkspacePage/AppStatuses.tsx @@ -4,7 +4,6 @@ import AppsIcon from "@mui/icons-material/Apps"; import CheckCircle from "@mui/icons-material/CheckCircle"; import ErrorIcon from "@mui/icons-material/Error"; import InsertDriveFile from "@mui/icons-material/InsertDriveFile"; -import OpenInNew from "@mui/icons-material/OpenInNew"; import Warning from "@mui/icons-material/Warning"; import CircularProgress from "@mui/material/CircularProgress"; import Link from "@mui/material/Link"; @@ -16,6 +15,7 @@ import type { WorkspaceApp, } from "api/typesGenerated"; import { formatDistance, formatDistanceToNow } from "date-fns"; +import { ExternalLinkIcon } from "lucide-react"; import { HourglassIcon } from "lucide-react"; import { CircleHelpIcon } from "lucide-react"; import { useAppLink } from "modules/apps/useAppLink"; @@ -304,7 +304,10 @@ export const AppStatuses: FC = ({ }, }} > - +