Move "Add model" into the library page

The add form now opens inline from the library instead of living on its own
page with a separate menu entry. After adding, the panel closes and the new
model's download progress shows in the list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Pascal LinxweilerandClaude Opus 5.5 committed 2026-10-05 17:06:09 +02:00
1 parent 49440154a2
commit c7cb6ed433
6 files changed
+53 -42

No files matched your search

-3
View File
@@ -22,9 +22,6 @@ export default async function AppLayout({ children }: LayoutProps<"/">) {
<Link href="/" className="hover:text-foreground">
Library
</Link>
<Link href="/models/new" className="hover:text-foreground">
Add model
</Link>
</nav>
<div className="ml-auto flex items-center gap-3">
<WorkerIndicator initial={worker} />