Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit 20adc60

Browse files
authored
[Backport-5.5.x]: Move Cody Web to beta (#63806) (#63808)
Closes https://linear.app/sourcegraph/issue/CODY-2847/change-experimental-labels-to-beta ## Test plan - Check that the cody web page and cody web side panel have beta badges (cherry-picked from commit fbb0a1f) ## Test plan - Check that the side-panel Cody and Cody Chat page have beta product status badges
1 parent 308624f commit 20adc60

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

client/web/src/cody/chat/new-chat/NewCodyChatPage.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { FC } from 'react'
33
import { CodyWebHistory, CodyWebChatProvider } from 'cody-web-experimental'
44
import { Navigate } from 'react-router-dom'
55

6-
import { Badge, ButtonLink, PageHeader, Text } from '@sourcegraph/wildcard'
6+
import { ButtonLink, PageHeader, ProductStatusBadge, Text } from '@sourcegraph/wildcard'
77

88
import { Page } from '../../../components/Page'
99
import { PageTitle } from '../../../components/PageTitle'
@@ -95,9 +95,7 @@ const CodyPageHeader: FC<CodyPageHeaderProps> = props => {
9595
<PageHeader.Breadcrumb icon={CodyColorIcon}>
9696
<div className="d-inline-flex align-items-center">
9797
Cody Chat
98-
<Badge variant="info" className="ml-2">
99-
Experimental
100-
</Badge>
98+
<ProductStatusBadge status="beta" className="ml-2" />
10199
</div>
102100
</PageHeader.Breadcrumb>
103101
</PageHeader.Heading>

client/web/src/cody/sidebar/new-cody-sidebar/NewCodySidebar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { mdiClose } from '@mdi/js'
44

55
import { CodyLogo } from '@sourcegraph/cody-ui'
66
import { lazyComponent } from '@sourcegraph/shared/src/util/lazyComponent'
7-
import { Alert, Badge, Button, H4, Icon, LoadingSpinner } from '@sourcegraph/wildcard'
7+
import { Alert, Button, H4, Icon, LoadingSpinner, ProductStatusBadge } from '@sourcegraph/wildcard'
88

99
import styles from './NewCodySidebar.module.scss'
1010

@@ -32,7 +32,7 @@ export const NewCodySidebar: FC<NewCodySidebarProps> = props => {
3232
<CodyLogo />
3333
Cody
3434
<div className="ml-2">
35-
<Badge variant="info">Experimental</Badge>
35+
<ProductStatusBadge status="beta" />
3636
</div>
3737
</div>
3838
<Button variant="icon" aria-label="Close" onClick={onClose}>

0 commit comments

Comments
 (0)