From 6e8581607558dc50cc8fec073e0b2b87d39ad3ff Mon Sep 17 00:00:00 2001 From: Tyler Date: Fri, 14 Aug 2026 19:36:49 +0000 Subject: [PATCH] fix(site/src/pages): use RotateCcwIcon for update actions The update actions used a cloud icon, which reads as a cloud/network concept rather than update and restart. RotateCcwIcon is already used for the Restart button and for the Update action in WorkspaceOutdatedTooltip and AgentOutdatedTooltip, so reuse it for the workspace page update button, the workspaces table primary actions, and the batch update menu item. --- site/src/pages/WorkspacePage/WorkspaceActions/Buttons.tsx | 3 +-- site/src/pages/WorkspacesPage/WorkspacesPageView.tsx | 4 ++-- site/src/pages/WorkspacesPage/WorkspacesTable.tsx | 6 +++--- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/site/src/pages/WorkspacePage/WorkspaceActions/Buttons.tsx b/site/src/pages/WorkspacePage/WorkspaceActions/Buttons.tsx index e2773d60820d6..81e461fb6a399 100644 --- a/site/src/pages/WorkspacePage/WorkspaceActions/Buttons.tsx +++ b/site/src/pages/WorkspacePage/WorkspaceActions/Buttons.tsx @@ -1,6 +1,5 @@ import { BanIcon, - CloudIcon, PlayIcon, PowerIcon, RotateCcwIcon, @@ -41,7 +40,7 @@ export const UpdateButton: FC = ({ disabled={loading} onClick={() => handleAction()} > - {requireActiveVersion ? : } + {requireActiveVersion ? : } {loading ? ( <>Updating… ) : isRunning ? ( diff --git a/site/src/pages/WorkspacesPage/WorkspacesPageView.tsx b/site/src/pages/WorkspacesPage/WorkspacesPageView.tsx index aa5c4da077e31..a45699e64499a 100644 --- a/site/src/pages/WorkspacesPage/WorkspacesPageView.tsx +++ b/site/src/pages/WorkspacesPage/WorkspacesPageView.tsx @@ -1,4 +1,4 @@ -import { CloudIcon, PlayIcon, SquareIcon, TrashIcon } from "lucide-react"; +import { PlayIcon, RotateCcwIcon, SquareIcon, TrashIcon } from "lucide-react"; import type { FC } from "react"; import type { UseQueryResult } from "react-query"; import { hasError, isApiValidationError } from "#/api/errors"; @@ -171,7 +171,7 @@ export const WorkspacesPageView: FC = ({ - {" "} diff --git a/site/src/pages/WorkspacesPage/WorkspacesTable.tsx b/site/src/pages/WorkspacesPage/WorkspacesTable.tsx index 00ac4aad464f8..8158039ace3b3 100644 --- a/site/src/pages/WorkspacesPage/WorkspacesTable.tsx +++ b/site/src/pages/WorkspacesPage/WorkspacesTable.tsx @@ -1,12 +1,12 @@ import { BanIcon, CircleAlertIcon, - CloudIcon, EllipsisVerticalIcon, ExternalLinkIcon, FileIcon, PlayIcon, RefreshCcwIcon, + RotateCcwIcon, SquareTerminalIcon, StarIcon, } from "lucide-react"; @@ -513,7 +513,7 @@ const WorkspaceActionsCell: FC = ({ isLoading={workspaceUpdate.isUpdating} label="Update and start workspace" > - + @@ -539,7 +539,7 @@ const WorkspaceActionsCell: FC = ({ isLoading={workspaceUpdate.isUpdating} label="Update and restart workspace" > - +