mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore(site): remove Beta tag from agents navigation (#27986)
## Summary Removes the `Beta` feature stage badge from the `/agents` page navigation: - **`ChatsPanel.tsx`**: removed the badge from the desktop left sidebar header - **`AgentPageHeader.tsx`**: removed the badge from the mobile top header Both instances rendered `<FeatureStageBadge contentType="beta" size="xs" />` next to the Coder product logo. The `FeatureStageBadge` imports were removed as they are no longer used in these files. ## Sidebar summary - Removed Beta badge from desktop sidebar (`ChatsPanel.tsx`) - Removed Beta badge from mobile header (`AgentPageHeader.tsx`) - Removed unused `FeatureStageBadge` imports from both files - No behavioral or logic changes, badge-only removal --- PR generated with Coder Agents
This commit is contained in:
@@ -26,7 +26,6 @@ import {
|
||||
DropdownMenuItem,
|
||||
DropdownMenuTrigger,
|
||||
} from "#/components/DropdownMenu/DropdownMenu";
|
||||
import { FeatureStageBadge } from "#/components/FeatureStageBadge/FeatureStageBadge";
|
||||
import { ProductLogo } from "#/components/Icons/ProductLogo";
|
||||
import { Spinner } from "#/components/Spinner/Spinner";
|
||||
import { useWebpushNotifications } from "#/contexts/useWebpushNotifications";
|
||||
@@ -132,7 +131,6 @@ export const AgentPageHeader: FC<AgentPageHeaderProps> = ({
|
||||
<NavLink to="/workspaces" className="inline-flex">
|
||||
<ProductLogo className="size-6" />
|
||||
</NavLink>
|
||||
<FeatureStageBadge contentType="beta" size="xs" />
|
||||
</div>
|
||||
)}
|
||||
{isSidebarCollapsed && (
|
||||
|
||||
@@ -25,7 +25,6 @@ import { Link, type Location, NavLink } from "react-router";
|
||||
import type { Chat, ChatModelConfig } from "#/api/typesGenerated";
|
||||
import { ErrorAlert } from "#/components/Alert/ErrorAlert";
|
||||
import { Button } from "#/components/Button/Button";
|
||||
import { FeatureStageBadge } from "#/components/FeatureStageBadge/FeatureStageBadge";
|
||||
import { ProductLogo } from "#/components/Icons/ProductLogo";
|
||||
import { Kbd, KbdGroup } from "#/components/Kbd/Kbd";
|
||||
import { ScrollArea } from "#/components/ScrollArea/ScrollArea";
|
||||
@@ -369,7 +368,6 @@ export const ChatsPanel: FC<ChatsPanelProps> = ({
|
||||
<NavLink to="/workspaces" className="inline-flex">
|
||||
<ProductLogo className="size-6" />
|
||||
</NavLink>
|
||||
<FeatureStageBadge contentType="beta" size="xs" />
|
||||
</div>
|
||||
<div className="flex items-center gap-0.5 -mr-1.5">
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user