收口 Makelore 客户端变更
Some checks failed
Electron E2E / Electron E2E (macos-latest) (push) Has been cancelled
Electron E2E / Electron E2E (ubuntu-latest) (push) Has been cancelled
Electron E2E / Electron E2E (windows-latest) (push) Has been cancelled

This commit is contained in:
inman
2026-08-12 22:35:06 +08:00
parent 253bad8b40
commit f4113a872f
232 changed files with 4617 additions and 20121 deletions

View File

@@ -6,6 +6,7 @@ import { Badge } from '@/components/ui/badge';
import { Input } from '@/components/ui/input';
import { Label } from '@/components/ui/label';
import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle } from '@/components/ui/dialog';
import { DisclosureContent } from '@/components/ui/disclosure';
import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs';
import {
CollaborationProject,
@@ -259,19 +260,17 @@ export function Home() {
<Button variant="outline" size="sm" onClick={() => setShowInactive(!showInactive)}>
{showInactive ? '收起不活跃项目' : `展开不活跃项目 (${visibleGroups.inactive.length})`}
</Button>
{showInactive ? (
<div className="mt-3 grid gap-3 xl:grid-cols-2">
{visibleGroups.inactive.map((project) => (
<ProjectCard
key={project.id}
project={project}
onOpen={() => openProject(project)}
onArchive={() => archiveProject(project.id)}
onRestore={() => restoreProject(project.id)}
/>
))}
</div>
) : null}
<DisclosureContent open={showInactive} className="mt-3" innerClassName="grid gap-3 xl:grid-cols-2">
{visibleGroups.inactive.map((project) => (
<ProjectCard
key={project.id}
project={project}
onOpen={() => openProject(project)}
onArchive={() => archiveProject(project.id)}
onRestore={() => restoreProject(project.id)}
/>
))}
</DisclosureContent>
</div>
) : null}
</TabsContent>