'use client' import { ExternalLink } from 'lucide-react' import { cn } from 'ui' import { AiTools } from '@/components/AiTools' import { ChangeTypeBadge, ProductBadges } from '@/components/Changelog/ChangelogTimelineList' import type { ChangelogEntryFrontmatter } from '@/lib/changelog-repo' type Props = { slug: string frontmatter: ChangelogEntryFrontmatter className?: string } export function ChangelogDetailSidebar({ slug, frontmatter, className }: Props) { const affectedProducts = frontmatter.affected_products ?? [] return (

Change type

{affectedProducts.length > 0 && ( <>

Products

e.stopPropagation()} />
)} {frontmatter.product_stage && ( <>

Product stage

{frontmatter.product_stage}
)} {frontmatter.sunset_date && ( <>

Sunset date

{frontmatter.sunset_date}

)} {frontmatter.affects_self_hosted != null && ( <>

Self-hosted

{frontmatter.affects_self_hosted ? 'Affected' : 'Not affected'}
)} {frontmatter.legacy_gh_discussion && ( <>
)}
) }