Skip to content

Commit 2f83a07

Browse files
authored
internal: Update autocorrelation copy, add feature preview badge (#948)
1 parent 65ee05a commit 2f83a07

File tree

1 file changed

+25
-12
lines changed

1 file changed

+25
-12
lines changed

src/views/Generator/AutoCorrelation/IntroductionMessage.tsx

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Button, Flex, Text } from '@radix-ui/themes'
1+
import { Badge, Button, Flex, Text } from '@radix-ui/themes'
22
import { CheckCircleIcon, KeyIcon, WandSparkles } from 'lucide-react'
33

44
import grotIllustration from '@/assets/grot-magic.svg'
@@ -31,18 +31,28 @@ export function IntroductionMessage({ onStart }: IntroductionMessageProps) {
3131
css={{ maxWidth: 250 }}
3232
/>
3333

34-
<Flex direction="column" align="center" gap="4" maxWidth="500px" mt="4">
35-
<Text size="2" color="gray" align="center">
36-
AI analyzes your recording and automatically creates correlation rules
37-
to make your test repeatable.
34+
<Flex
35+
direction="column"
36+
align="center"
37+
gap="4"
38+
maxWidth="600px"
39+
css={{ textAlign: 'center' }}
40+
>
41+
<Badge color="orange" variant="soft">
42+
Feature Preview
43+
</Badge>
44+
<Text size="3" weight="bold">
45+
Automatically correlate dynamic values
46+
</Text>
47+
<Text size="2" color="gray" mb="2">
48+
Use AI to automatically handle session IDs, tokens, and other dynamic
49+
values that would otherwise cause your test scripts to fail.
3850
</Text>
3951

40-
<Flex direction="column" gap="2" align="start" width="100%" mb="6">
41-
<ListItem>Validation runs automatically</ListItem>
42-
<ListItem>AI analyzes your recording for dynamic values</ListItem>
43-
<ListItem>
44-
AI creates correlation rules to make your test repeatable
45-
</ListItem>
52+
<Flex direction="column" gap="2" align="start" width="100%" mb="4">
53+
<ListItem>Runs validation to identify mismatches</ListItem>
54+
<ListItem>Detects values that change between runs</ListItem>
55+
<ListItem>Creates rules to extract and reuse these values</ListItem>
4656
</Flex>
4757

4858
{isAiConfigured && (
@@ -53,7 +63,7 @@ export function IntroductionMessage({ onStart }: IntroductionMessageProps) {
5363
)}
5464
{!isAiConfigured && (
5565
<>
56-
<Text size="2" color="gray" align="center">
66+
<Text size="2" color="gray">
5767
To use autocorrelation, configure your OpenAI API key first.
5868
</Text>
5969

@@ -63,6 +73,9 @@ export function IntroductionMessage({ onStart }: IntroductionMessageProps) {
6373
</Button>
6474
</>
6575
)}
76+
<Text size="1" color="gray" mt="1">
77+
This feature is in public preview and subject to change.
78+
</Text>
6679
</Flex>
6780
</Flex>
6881
)

0 commit comments

Comments
 (0)