Skip to content

Commit cb7e10c

Browse files
committed
Update GeneratingIndicator.tsx
1 parent f9e3e67 commit cb7e10c

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

apps/twig/src/renderer/features/sessions/components/GeneratingIndicator.tsx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Campfire } from "@phosphor-icons/react";
1+
import { Campfire, Circle } from "@phosphor-icons/react";
22
import { Flex, Text } from "@radix-ui/themes";
33
import { useEffect, useState } from "react";
44

@@ -50,12 +50,16 @@ export function GeneratingIndicator({ startedAt }: GeneratingIndicatorProps) {
5050
>
5151
<Campfire size={14} weight="fill" className="campfire-pulse" />
5252
<Text size="1">{ACTIVITIES[activityIndex]}...</Text>
53+
<Text size="1" color="gray">
54+
(Esc to interrupt
55+
</Text>
56+
<Circle size={4} weight="fill" className="text-gray-9" style={{ margin: "0 2px" }} />
5357
<Text
5458
size="1"
5559
color="gray"
56-
style={{ fontVariantNumeric: "tabular-nums", minWidth: "50px" }}
60+
style={{ fontVariantNumeric: "tabular-nums" }}
5761
>
58-
{formatDuration(elapsed)}
62+
{formatDuration(elapsed)})
5963
</Text>
6064
</Flex>
6165
);

0 commit comments

Comments
 (0)