Skip to content

feat: model management - browser and downloads panel#96

Draft
Kosinkadink wants to merge 6 commits intomainfrom
feature/model-management-downloads
Draft

feat: model management - browser and downloads panel#96
Kosinkadink wants to merge 6 commits intomainfrom
feature/model-management-downloads

Conversation

@Kosinkadink
Copy link
Member

Summary

Adds model management features to the Models view:

Model Browser (Browse tab)

  • New Browse tab in the Models view with a folder-type sidebar (220px) and file listing
  • Sidebar lists raw folder names from configured model directories (e.g. \checkpoints, \loras)
  • File listing shows model name, size, and modified date
  • Show in Folder button on each file (uses \shell.showItemInFolder\ with full path)
  • Backend IPC handlers \get-model-folders\ and \get-model-files\ scan configured \modelsDirs\

Downloads Panel (Directories tab)

  • \DownloadsPanel\ remains inline in the Directories sub-tab (not a global sidebar drawer)
  • Shows active and completed downloads with progress, pause/resume/cancel controls

Download from URL (disabled)

  • \DownloadModelDialog.vue\ component and \launcher-start-download\ backend handler exist but the UI entry point is removed pending further iteration

Other

  • New \ModelFileInfo\ type in \ipc.ts\ with \ ullPath\ field
  • \DownloadsDrawer.vue\ exists but is unused (from a reverted approach)
  • Plan documented in \docs/model-management-plan.md\

Status: WIP — Browse tab and Downloads panel are functional. Download-from-URL is disabled. Further iteration needed.

Kosinkadink and others added 6 commits March 2, 2026 10:17
…download-from-URL

Phase 1: Global downloads drawer
- DownloadsDrawer slides out from sidebar, accessible from any view
- Sidebar badge toggles drawer; dedicated download icon when active
- Removed embedded DownloadsPanel from ModelsView

Phase 2: Model file browser
- ModelBrowser with folder-type sidebar and searchable file list
- Backend IPC handlers to scan modelsDirs for model files
- Tab switcher in ModelsView (Directories / Browse)

Phase 3: Download from URL
- DownloadModelDialog modal with URL, filename, and folder selection
- launcher-start-download IPC handler reusing existing download infra

Amp-Thread-ID: https://ampcode.com/threads/T-019cae16-0b12-758d-8211-9a8205b88929
Co-authored-by: Amp <amp@ampcode.com>
- Disable Download Model button (needs further iteration)
- Use raw folder names instead of aliases in sidebar
- Fix open-folder button by adding fullPath to ModelFileInfo
- Move filter tabs below title instead of toolbar right side
- Fix folder icon shrinking on long names (flex-shrink: 0)
- Widen model folder sidebar from 180px to 220px

Amp-Thread-ID: https://ampcode.com/threads/T-019cae16-0b12-758d-8211-9a8205b88929
Co-authored-by: Amp <amp@ampcode.com>
Remove the global DownloadsDrawer from App.vue sidebar and restore
DownloadsPanel inline in ModelsView under the Directories tab.

Amp-Thread-ID: https://ampcode.com/threads/T-019cae16-0b12-758d-8211-9a8205b88929
Co-authored-by: Amp <amp@ampcode.com>
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