Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions web-site/src/components/DocumentQuality/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// 文档质量评估组件

import React from 'react'
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'
import { Activity } from 'lucide-react'

interface DocumentQualityEvaluationProps {
warehouseId: string
}

export const DocumentQualityEvaluation: React.FC<DocumentQualityEvaluationProps> = () => {
Comment on lines +7 to +11
Copy link

Copilot AI Oct 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The warehouseId prop is defined in the interface but not used in the component implementation. Consider removing the unused parameter or add a comment explaining it's reserved for future implementation.

Suggested change
interface DocumentQualityEvaluationProps {
warehouseId: string
}
export const DocumentQualityEvaluation: React.FC<DocumentQualityEvaluationProps> = () => {
export const DocumentQualityEvaluation: React.FC = () => {

Copilot uses AI. Check for mistakes.
return (
<Card>
<CardHeader>
<CardTitle>文档质量评估</CardTitle>
<CardDescription>评估和分析文档质量</CardDescription>
</CardHeader>
<CardContent>
<div className="text-center py-8">
<Activity className="h-12 w-12 mx-auto mb-4 opacity-50" />
<p className="text-muted-foreground">文档质量评估功能开发中...</p>
</div>
</CardContent>
</Card>
)
}

export default DocumentQualityEvaluation
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// Wiki生成管理组件

import React from 'react'
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'
import { FileText } from 'lucide-react'

interface WikiGenerationManagementProps {
warehouseId: string
}

const WikiGenerationManagement: React.FC<WikiGenerationManagementProps> = () => {
Comment on lines +7 to +11
Copy link

Copilot AI Oct 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The warehouseId prop is defined in the interface but not used in the component implementation. Consider removing the unused parameter or add a comment explaining it's reserved for future implementation.

Suggested change
interface WikiGenerationManagementProps {
warehouseId: string
}
const WikiGenerationManagement: React.FC<WikiGenerationManagementProps> = () => {
const WikiGenerationManagement: React.FC = () => {

Copilot uses AI. Check for mistakes.
return (
<Card>
<CardHeader>
<CardTitle>Wiki生成管理</CardTitle>
<CardDescription>管理和配置Wiki文档生成</CardDescription>
</CardHeader>
<CardContent>
<div className="text-center py-8">
<FileText className="h-12 w-12 mx-auto mb-4 opacity-50" />
<p className="text-muted-foreground">Wiki生成管理功能开发中...</p>
</div>
</CardContent>
</Card>
)
}

export default WikiGenerationManagement