-
Notifications
You must be signed in to change notification settings - Fork 1.1k
chore(site): replace stop icon with pause icon #21173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
Replace CircleStopIcon and SquareIcon with PauseIcon from Lucide for workspace stop actions to better represent the stop/pause functionality. Changes: - WorkspaceActions/Buttons.tsx: CircleStopIcon -> PauseIcon - WorkspacesTable.tsx: SquareIcon -> PauseIcon Fixes #20195
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -51,9 +51,9 @@ import { | |
| EllipsisVertical, | ||
| ExternalLinkIcon, | ||
| FileIcon, | ||
| PauseIcon, | ||
|
||
| PlayIcon, | ||
| RefreshCcwIcon, | ||
| SquareIcon, | ||
| SquareTerminalIcon, | ||
| StarIcon, | ||
| } from "lucide-react"; | ||
|
|
@@ -481,7 +481,7 @@ const WorkspaceActionsCell: FC<WorkspaceActionsCellProps> = ({ | |
| isLoading={stopWorkspaceMutation.isPending} | ||
| label="Stop workspace" | ||
| > | ||
| <SquareIcon /> | ||
| <PauseIcon /> | ||
| </PrimaryAction> | ||
| )} | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The pause icon is semantically incorrect for the "Stop" action. A pause suggests a temporary suspension that can be quickly resumed, while stop suggests a full shutdown. This creates a semantic mismatch between the icon (pause) and the button label ("Stop"). Consider either:
Additionally, there are other locations in the codebase still using SquareIcon for stop actions (WorkspacesPageView.tsx line 178, BuildIcon.tsx line 11, utils/workspace.tsx line 244), creating an inconsistent experience.