File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed
WorkspacePage/WorkspaceActions Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 11import type { WorkspaceTransition } from "api/typesGenerated" ;
2- import { PlayIcon , SquareIcon , TrashIcon } from "lucide-react" ;
2+ import { PauseIcon , PlayIcon , TrashIcon } from "lucide-react" ;
33import type { ComponentProps } from "react" ;
44
55type SVGIcon = typeof PlayIcon ;
@@ -8,7 +8,7 @@ type SVGIconProps = ComponentProps<SVGIcon>;
88
99const iconByTransition : Record < WorkspaceTransition , SVGIcon > = {
1010 start : PlayIcon ,
11- stop : SquareIcon ,
11+ stop : PauseIcon ,
1212 delete : TrashIcon ,
1313} ;
1414
Original file line number Diff line number Diff line change 77} from "components/Tooltip/Tooltip" ;
88import {
99 BanIcon ,
10- CircleStopIcon ,
1110 CloudIcon ,
11+ PauseIcon ,
1212 PlayIcon ,
1313 PowerIcon ,
1414 RotateCcwIcon ,
@@ -130,7 +130,7 @@ export const StopButton: FC<ActionButtonProps> = ({
130130 onClick = { ( ) => handleAction ( ) }
131131 data-testid = "workspace-stop-button"
132132 >
133- < CircleStopIcon />
133+ < PauseIcon />
134134 { loading ? < > Stopping…</ > : "Stop" }
135135 </ TopbarButton >
136136 ) ;
Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ import { TableToolbar } from "components/TableToolbar/TableToolbar";
2020import {
2121 ChevronDownIcon ,
2222 CloudIcon ,
23+ PauseIcon ,
2324 PlayIcon ,
24- SquareIcon ,
2525 TrashIcon ,
2626} from "lucide-react" ;
2727import { WorkspacesTable } from "pages/WorkspacesPage/WorkspacesTable" ;
@@ -175,7 +175,7 @@ export const WorkspacesPageView: FC<WorkspacesPageViewProps> = ({
175175 }
176176 onClick = { onBatchStopTransition }
177177 >
178- < SquareIcon /> Stop
178+ < PauseIcon /> Stop
179179 </ DropdownMenuItem >
180180 < DropdownMenuSeparator />
181181 < DropdownMenuItem onClick = { onBatchUpdateTransition } >
Original file line number Diff line number Diff line change @@ -51,9 +51,9 @@ import {
5151 EllipsisVertical ,
5252 ExternalLinkIcon ,
5353 FileIcon ,
54+ PauseIcon ,
5455 PlayIcon ,
5556 RefreshCcwIcon ,
56- SquareIcon ,
5757 SquareTerminalIcon ,
5858 StarIcon ,
5959} from "lucide-react" ;
@@ -481,7 +481,7 @@ const WorkspaceActionsCell: FC<WorkspaceActionsCellProps> = ({
481481 isLoading = { stopWorkspaceMutation . isPending }
482482 label = "Stop workspace"
483483 >
484- < SquareIcon />
484+ < PauseIcon />
485485 </ PrimaryAction >
486486 ) }
487487
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ import utc from "dayjs/plugin/utc";
88import {
99 CircleAlertIcon ,
1010 HourglassIcon ,
11+ PauseIcon ,
1112 PlayIcon ,
12- SquareIcon ,
1313} from "lucide-react" ;
1414import semver from "semver" ;
1515import { getPendingStatusLabel } from "./provisionerJob" ;
@@ -241,7 +241,7 @@ export const getDisplayWorkspaceStatus = (
241241 return {
242242 type : "inactive" ,
243243 text : "Stopped" ,
244- icon : < SquareIcon /> ,
244+ icon : < PauseIcon /> ,
245245 } as const ;
246246 case "deleting" :
247247 return {
You can’t perform that action at this time.
0 commit comments