From 8422bc378f44d5f4bbaa8b816dfcd07861e618cc Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Wed, 12 Nov 2025 05:03:25 +0000 Subject: [PATCH] Remove version number badge from Indicator Remove the version number badge display in VersionIndicator.tsx: - drop Badge import and Clock icon import - replace compact mode text with History - remove version number badge in non-compact rendering Keeps last-edited time and history functionality intact. --- src/components/versioning/VersionIndicator.tsx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/components/versioning/VersionIndicator.tsx b/src/components/versioning/VersionIndicator.tsx index 501b51f6..a65f7fe1 100644 --- a/src/components/versioning/VersionIndicator.tsx +++ b/src/components/versioning/VersionIndicator.tsx @@ -1,8 +1,7 @@ import { useState } from 'react'; import { Button } from '@/components/ui/button'; -import { Badge } from '@/components/ui/badge'; import { Dialog, DialogContent, DialogHeader, DialogTitle } from '@/components/ui/dialog'; -import { History, Clock } from 'lucide-react'; +import { History } from 'lucide-react'; import { formatDistanceToNow } from 'date-fns'; import { EntityVersionHistory } from './EntityVersionHistory'; import { useEntityVersions } from '@/hooks/useEntityVersions'; @@ -43,7 +42,7 @@ export function VersionIndicator({ > - v{currentVersion.version_number} + History @@ -66,10 +65,6 @@ export function VersionIndicator({ return ( <>
- - - Version {currentVersion.version_number} - Last edited {timeAgo}