Skip to content

Commit 1d5c806

Browse files
committed
replace square stop icon with stop circle
1 parent a8ff0f7 commit 1d5c806

7 files changed

Lines changed: 20 additions & 14 deletions

File tree

packages/ui/src/features/agent-applications/components/AgentChatSurface.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ArrowUp, Stop } from "@phosphor-icons/react";
1+
import { ArrowUp, StopCircle } from "@phosphor-icons/react";
22
import {
33
InputGroup,
44
InputGroupAddon,
@@ -179,7 +179,7 @@ function Composer({
179179
onClick={onCancel}
180180
aria-label="Stop"
181181
>
182-
<Stop size={14} weight="fill" />
182+
<StopCircle size={14} weight="fill" />
183183
</InputGroupButton>
184184
</Tooltip>
185185
) : (

packages/ui/src/features/autoresearch/AutoresearchPanel.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
import { ChartLineUp, Pause, Play, Plus, Stop } from "@phosphor-icons/react";
1+
import {
2+
ChartLineUp,
3+
Pause,
4+
Play,
5+
Plus,
6+
StopCircle,
7+
} from "@phosphor-icons/react";
28
import type { AutoresearchService } from "@posthog/core/autoresearch/autoresearch";
39
import { AUTORESEARCH_SERVICE } from "@posthog/core/autoresearch/identifiers";
410
import type {
@@ -344,7 +350,7 @@ function RunHeader({
344350
color="red"
345351
onClick={() => service.stopRun(run.id)}
346352
>
347-
<Stop size={12} /> Stop
353+
<StopCircle size={12} /> Stop
348354
</Button>
349355
)}
350356
{!isLive && (

packages/ui/src/features/message-editor/components/PromptInput.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import "./message-editor.css";
22
import type { SessionConfigOption } from "@agentclientprotocol/sdk";
3-
import { ArrowUp, Stop } from "@phosphor-icons/react";
3+
import { ArrowUp, StopCircle } from "@phosphor-icons/react";
44
import { InputGroup, InputGroupAddon, InputGroupButton } from "@posthog/quill";
55
import { SHORTCUTS } from "@posthog/ui/features/command/keyboard-shortcuts";
66
import type { PromptRecallHandler } from "@posthog/ui/features/sessions/components/chat-thread/composerPromptRecall";
@@ -366,7 +366,7 @@ export const PromptInput = forwardRef<EditorHandle, PromptInputProps>(
366366
onClick={onCancel}
367367
aria-label="Stop"
368368
>
369-
<Stop size={14} weight="fill" />
369+
<StopCircle size={14} weight="fill" />
370370
</InputGroupButton>
371371
</Tooltip>
372372
) : slotMachineMode ? null : (

packages/ui/src/features/sessions/components/StopCloudRunButton.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Spinner, Stop } from "@phosphor-icons/react";
1+
import { Spinner, StopCircle } from "@phosphor-icons/react";
22
import { isTerminalStatus } from "@posthog/core/cloud-task/schemas";
33
import { Button as QuillButton } from "@posthog/quill";
44
import { useState } from "react";
@@ -36,7 +36,7 @@ export function StopCloudRunButton({ taskId }: StopCloudRunButtonProps) {
3636
{stopRequested ? (
3737
<Spinner size={14} className="shrink-0 animate-spin" />
3838
) : (
39-
<Stop size={14} weight="regular" className="shrink-0" />
39+
<StopCircle size={14} weight="regular" className="shrink-0" />
4040
)}
4141
{stopRequested ? "Stopping..." : "Stop run"}
4242
</QuillButton>

packages/ui/src/features/sessions/components/StopCloudRunDialog.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Stop } from "@phosphor-icons/react";
1+
import { StopCircle } from "@phosphor-icons/react";
22
import {
33
SESSION_SERVICE,
44
type SessionService,
@@ -58,7 +58,7 @@ export function StopCloudRunDialog({
5858
<GitDialog
5959
open={open}
6060
onOpenChange={handleOpenChange}
61-
icon={<Stop size={14} />}
61+
icon={<StopCircle size={14} />}
6262
title={title}
6363
error={error}
6464
buttonLabel={buttonLabel}

packages/ui/src/features/sessions/components/session-update/TaskNotificationView.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { CheckCircle, Stop, XCircle } from "@phosphor-icons/react";
1+
import { CheckCircle, StopCircle, XCircle } from "@phosphor-icons/react";
22
import { Box, Flex, Text } from "@radix-ui/themes";
33

44
interface TaskNotificationViewProps {
@@ -18,7 +18,7 @@ const statusConfig = {
1818
borderColor: "border-red-6 dark:border-red-8",
1919
},
2020
stopped: {
21-
icon: <Stop size={14} weight="fill" className="text-orange-9" />,
21+
icon: <StopCircle size={14} weight="fill" className="text-orange-9" />,
2222
label: "Task stopped",
2323
borderColor: "border-orange-6 dark:border-orange-8",
2424
},

packages/ui/src/features/settings/sections/AddCustomSoundDialog.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {
33
Microphone,
44
Play,
55
Scissors,
6-
Stop,
6+
StopCircle,
77
Trash,
88
UploadSimple,
99
} from "@phosphor-icons/react";
@@ -66,7 +66,7 @@ export function AddCustomSoundDialog({
6666
<Flex gap="2" align="center" wrap="wrap">
6767
{sound.isRecording ? (
6868
<Button color="red" onClick={sound.stopRecording}>
69-
<Stop weight="fill" /> Stop ({sound.elapsedLabel})
69+
<StopCircle weight="fill" /> Stop ({sound.elapsedLabel})
7070
</Button>
7171
) : (
7272
<Button

0 commit comments

Comments
 (0)