Skip to content

feat: add model browser and downloads drawer#319

Draft
Kosinkadink wants to merge 2 commits into
mainfrom
feature/model-browser-downloads-drawer
Draft

feat: add model browser and downloads drawer#319
Kosinkadink wants to merge 2 commits into
mainfrom
feature/model-browser-downloads-drawer

Conversation

@Kosinkadink

Copy link
Copy Markdown
Member

Summary

Adds two new features to the Models view:

1. Model Browser

A new Browse Models tab in ModelsView with:

  • Left sidebar listing all model folder types (checkpoints, loras, etc.)
  • Searchable file list showing name, size, and modified date
  • Show-in-folder action per file
  • Backend IPC handlers (getModelFolders/getModelFiles) that scan shared model directories

2. Downloads Drawer

A global slide-out drawer accessible from the sidebar that:

  • Shows active downloads with progress, speed, ETA, pause/resume/cancel
  • Shows finished downloads with show-in-folder/dismiss
  • Has a 'Clear Completed' button
  • Replaces the inline DownloadsPanel that was embedded in ModelsView
  • Stays accessible from any view via the sidebar download indicator

Changes

  • src/types/ipc.tsModelFileInfo type, getModelFolders/getModelFiles API methods
  • src/main/lib/models.tslistModelFolders/listModelFiles backend functions
  • src/main/lib/ipc.ts — IPC handlers for model file listing
  • src/preload/index.ts — preload bindings
  • src/renderer/src/components/ModelBrowser.vuenew file browser component
  • src/renderer/src/components/DownloadsDrawer.vuenew drawer component
  • src/renderer/src/views/ModelsView.vue — tab switcher, removed DownloadsPanel
  • src/renderer/src/App.vue — drawer wiring + sidebar download button
  • src/renderer/src/assets/main.css — toolbar tabs, drawer styles
  • locales/en.json — new i18n keys

@Kosinkadink Kosinkadink force-pushed the feature/model-browser-downloads-drawer branch 7 times, most recently from b5b3d12 to c25b009 Compare March 26, 2026 11:26
- Add Model Browser tab to ModelsView with folder sidebar, searchable
  file list (name, size, date), and show-in-folder action
- Add global Downloads Drawer accessible from sidebar, replacing the
  inline DownloadsPanel in ModelsView
- Backend: add getModelFolders/getModelFiles IPC handlers that scan
  shared model directories
- Add ModelFileInfo type, preload bindings, and i18n keys

Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019d29a1-effe-7670-be7c-424140001724
@Kosinkadink Kosinkadink force-pushed the feature/model-browser-downloads-drawer branch from c25b009 to 712b505 Compare March 26, 2026 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant