refactor: restructure project into 5 core modules

Organize project by 5 core modules based on requirement docs.

Co-authored-by: null <4804959+fnvtk@users.noreply.github.com>
This commit is contained in:
v0
2026-01-31 04:18:24 +00:00
parent b4aa620c93
commit 22e725887a
74 changed files with 4219 additions and 9234 deletions

View File

@@ -11,7 +11,7 @@ import { Checkbox } from "@/components/ui/checkbox"
import { Badge } from "@/components/ui/badge"
import { Separator } from "@/components/ui/separator"
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "@/components/ui/table"
import { Search, Filter, Download, RefreshCw, Play, ArrowRight, Settings } from "lucide-react"
import { Search, Filter, Download, RefreshCw, Play, ArrowRight, Settings } from 'lucide-react'
import {
Dialog,
DialogContent,
@@ -250,7 +250,7 @@ export function DataCorrelationAnalysis() {
if (significance <= 0.05) {
return <Badge className="bg-yellow-100 text-yellow-800"> (p0.05)</Badge>
}
return <Badge className="bg-red-100 text-red-800"> (p>0.05)</Badge>
return <Badge className="bg-red-100 text-red-800">{'不显著 (p>0.05)'}</Badge>
}
const toggleFieldSelection = (fieldId: string) => {
@@ -275,11 +275,11 @@ export function DataCorrelationAnalysis() {
<h2 className="text-2xl font-bold"></h2>
<div className="flex items-center gap-2">
<Button variant="outline">
<Download className="mr-2 h-4 w-4" &gt;
<Download className="mr-2 h-4 w-4" />
</Button>
<Button onClick={() => setIsCreatingAnalysis(true)}>
<Play className="mr-2 h-4 w-4" &gt;
<Play className="mr-2 h-4 w-4" />
</Button>
</div>
@@ -531,9 +531,9 @@ export function DataCorrelationAnalysis() {
</p>
</div>
</div>
</CardContent>
</Card>
</div>
</div>
</CardContent>
</Card>
</TabsContent>
<TabsContent value="user-network" className="space-y-4">