fix(web): standardize UI icon language
All checks were successful
CD Pipeline / tests (push) Successful in 1m35s
Code Review / ai-code-review (push) Successful in 14s
CD Pipeline / build-and-deploy (push) Successful in 5m44s
CD Pipeline / post-deploy-checks (push) Successful in 2m36s

This commit is contained in:
Your Name
2026-06-03 00:18:23 +08:00
parent 0643e336b2
commit 6bf98ed00e
7 changed files with 94 additions and 47 deletions

View File

@@ -17,7 +17,7 @@ import { useTranslations } from 'next-intl'
import { cn } from '@/lib/utils'
import {
Search, BookOpen, FileText, Shield, Cpu,
Server, Eye, Bot, ChevronRight, Plus, Sparkles,
Server, Eye, Bot, ChevronRight, Plus, Sparkles, ClipboardList, TriangleAlert,
} from 'lucide-react'
import ReactMarkdown from 'react-markdown'
import remarkGfm from 'remark-gfm'
@@ -493,13 +493,15 @@ export default function KnowledgeBasePage({
{/* Related links */}
{selectedEntry.related_playbook_id && (
<div className="text-xs text-claw-blue font-body mb-2">
📋 {t('relatedPlaybook')}: {selectedEntry.related_playbook_id}
<div className="flex items-center gap-1.5 text-xs text-claw-blue font-body mb-2">
<ClipboardList className="h-3.5 w-3.5" aria-hidden="true" />
<span>{t('relatedPlaybook')}: {selectedEntry.related_playbook_id}</span>
</div>
)}
{selectedEntry.related_incident_id && (
<div className="text-xs text-status-warning font-body mb-4">
{t('relatedIncident')}: {selectedEntry.related_incident_id}
<div className="flex items-center gap-1.5 text-xs text-status-warning font-body mb-4">
<TriangleAlert className="h-3.5 w-3.5" aria-hidden="true" />
<span>{t('relatedIncident')}: {selectedEntry.related_incident_id}</span>
</div>
)}
@@ -534,4 +536,3 @@ export default function KnowledgeBasePage({
</AppLayout>
)
}