Skip to content

Commit

Permalink
"Cody" in navbar not "Cody AI" (#63429)
Browse files Browse the repository at this point in the history
The name of the product is "Cody", not "Cody AI". Also, "AI" just looks
dumb and hype-y.


## Test plan

View the navbar and ensure it reads "Cody" not "Cody AI".

## Changelog

- In the navbar, Cody is now just "Cody" not "Cody AI".
  • Loading branch information
sqs committed Jun 23, 2024
1 parent ef73ae6 commit 1ff74b0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions client/web-sveltekit/src/routes/navigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const mainNavigation: (NavigationMenu | NavigationEntry)[] = [
},
},
{
label: 'Cody AI',
label: 'Cody',
icon: ISgCody,
href: '/cody',
isCurrent(this: NavigationMenu, page) {
Expand Down Expand Up @@ -82,7 +82,7 @@ export const dotcomMainNavigation: (NavigationMenu | NavigationEntry)[] = [
href: '/search',
},
{
label: 'Cody AI',
label: 'Cody',
icon: ISgCody,
href: '/cody',
children: [
Expand Down
4 changes: 2 additions & 2 deletions client/web/src/nav/GlobalNavbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ export const InlineNavigationPanel: FC<InlineNavigationPanelProps> = props => {
const codyNavigation = hideCodyDropdown ? (
<NavItem icon={() => <CodyLogoWrapper />} key="cody">
<NavLink variant={navLinkVariant} to={disableCodyFeatures ? PageRoutes.Cody : PageRoutes.CodyChat}>
Cody AI
Cody
</NavLink>
</NavItem>
) : (
Expand All @@ -376,7 +376,7 @@ export const InlineNavigationPanel: FC<InlineNavigationPanelProps> = props => {
toggleItem={{
path: isSourcegraphDotCom ? CodyProRoutes.Manage : PageRoutes.Cody,
icon: () => <CodyLogoWrapper />,
content: 'Cody AI',
content: 'Cody',
variant: navLinkVariant,
}}
routeMatch={routeMatch}
Expand Down
6 changes: 3 additions & 3 deletions client/web/src/nav/__snapshots__/GlobalNavbar.test.tsx.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ const SidebarNavigation: FC<SidebarNavigationProps> = props => {
</li>

<NavItemLink url={PageRoutes.Cody} icon={CodyLogo} onClick={handleNavigationClick}>
Cody AI
Cody
</NavItemLink>

{authenticatedUser && (
Expand Down

0 comments on commit 1ff74b0

Please sign in to comment.