Commit Graph
85 Commits
Author SHA1 Message Date
Dariusz L bbfd50a075 feat: expose download folder context through status indicators and notifications
Propagate the resolved download directory and file path from the backend
download flow into frontend progress UI: add \path\ and \directory\ fields
to download progress state, render right-clickable context menu entries on
progress bars and status messages, and allow opening the download folder
directly from completion or error notifications. Also update the HuggingFace
author index.
2026-06-12 16:32:48 +02:00
Dariusz L 98c4b10e90 chore: update HuggingFace author index and tighten model details CSS 2026-06-08 17:43:27 +02:00
Dariusz L c7f108fcf7 feat: add gated mirror status to model details view 2026-06-08 17:34:51 +02:00
Dariusz L 2709dddb22 feat: improve Civitai integration and download button resilience 2026-06-08 03:26:32 +02:00
Dariusz L 6e2f1b3101 feat: enhance CivArchive resilience and mirror display
backend:
- add 429 retry handling with backoff in CivArchive API requests
- add page-scraping fallback for CivArchive model payloads
- normalize CivArchive mirrors with dead/gated/paid/sha256 metadata
- include file metadata and mirror data in normalized archive files
- propagate additional dead/missing status field aliases
- include metadata in normalized CivitAI files

frontend:
- render mirror lists with source grouping, dead-link indicators, and skull icons
- add file badges (primary, type, format, size, fp, mirror count, id)
- improve secondary info in resolve/download methods to include base model
- enhance search panel secondary info with base model and filename
- on selecting a version with empty files, fetch fresh version details
- propagate base model context to CivitAI search state and display labels
2026-06-08 03:03:53 +02:00
Dariusz L 9bebb52395 feat: replace model details image gallery with draggable horizontal strip 2026-06-08 01:06:04 +02:00
Dariusz L 65b4594d19 feat: add model details modal and source-aware context menus 2026-06-08 00:53:39 +02:00
Dariusz L 87fabdd9d9 feat: add image preview modal and extended CivitAI image metadata
Adds a fullscreen image preview dialog to the model info panel with
navigation, copy-prompt support, generation metadata display, and
referenced resources listing.

Extends CivitAI backend extraction to handle varied metadata key names
(negativePrompt, Clip skip, Model, etc.) and surfaces clip_skip, width,
height, tags, resources, and raw metadata through the new preview UI.

Renames z-index variable to reserve a dedicated layer for the preview
backdrop.
2026-06-07 18:57:03 +02:00
Dariusz L 46be3fbb50 fix: separate z-index layers for info dialogs and tooltips 2026-06-07 18:44:10 +02:00
Dariusz L b9c9867472 feat: replace context menu text icons with SVG icons for consistent UI styling 2026-06-07 15:20:42 +02:00
Dariusz L ab59cd231f feat: add base model filtering across search sources, API routes, and frontend UI 2026-06-06 19:43:43 +02:00
Dariusz L 57ac022fc4 feat: add refresh button to re-analyze workflow and refresh local matches 2026-06-06 18:26:47 +02:00
Dariusz L 7bd1b9ad33 feat: persist download target subfolder selections and add suggest button 2026-06-06 18:18:58 +02:00
Dariusz L 57b8bc7cda feat: add force search (ignore cache) toggle to batch search menu
Adds a checkbox in the resolver footer search menu that bypasses all
search result caches for the duration of a batch search run.

Frontend (queue_methods.js, resolve_download_methods.js,
resolver_dialog.js, search_panel.js, resolver-main.css):
- Introduce checkbox-type footer menu items (type: 'checkbox').
- Add 'Force search (ignore cache)' checkbox to the search menu,
  wired to a new forceBatchSearch flag on ResolverManagerDialog.
- Pass forceSearch through searchMissingBatch and searchOnline to
  the backend API call.
- When the manual search button is clicked and results already exist
  for that model, forceSearch defaults to true.
- mergeSearchResults respects forceRefresh: if a forced search
  returns no results for a source, that source is cleared from the
  cached results.

Backend (__init__.py, core/sources/huggingface.py):
- force_search is read from the incoming API request and, when true,
  clears all active source search caches (local, huggingface,
  civitai, civarchive, lora_manager_archive) before searching.
- force_search is forwarded as force_refresh to
  search_huggingface_for_file, which folds it into the cache key so
  the cache is not hit, and propagates it to _get_author_index.
- Search result timestamps are no longer inherited from prior
  cached signatures when force_search is active; a fresh timestamp
  is written unconditionally.

Updated metadata/huggingface-author-index.json reflects the latest
cached author index after rebuild.
2026-06-06 17:02:25 +02:00
Dariusz L 57018b4e0f feat: add search result timestamps, enhanced cache clearing, and maintenance UI
Add searched_at timestamps to search results so cached entries are accurately tracked and preserved across merges. Expand the clear-search-cache command to also invalidate popular databases, model list, and the new result timestamp store. Frontend gains new cache-clearing methods and a full resolver cache reset for maintenance. The search panel and missing browser now show source result dates and toggle the search button between 'Search' and 'Search Again' when results already exist.
2026-06-06 16:38:30 +02:00
Dariusz L e031b288ed feat: add hover/focus preview highlights for footer menu items 2026-06-06 03:29:36 +02:00
Dariusz L 4eebc1c9ac refactor: consolidate link actions into footer menu
Group Queue Exact, Apply Selected, and Clear Selected into a single
'Link' dropdown menu in the missing browser footer. Move Auto-Link 100%
into the same menu and show/hide it when exact local matches exist.

Add disabledWhen support to createFooterMenu items so buttons can be
visually and functionally disabled. Include disabled state styles for
.mr-footer-menu-item.

Simplify footer visibility logic and update references throughout.
2026-06-06 03:15:49 +02:00
Dariusz L 08128de8e9 feat: improve footer menu button caret and tooltip behavior 2026-06-06 03:07:12 +02:00
Dariusz L 0e02bd9eb6 feat: add batch search cancellation and dynamic footer menu items 2026-06-06 02:59:42 +02:00
Dariusz L 5a8e68655f refactor: rename Model Linker to Model Resolver
Replace all link dialog terminology with resolver terminology
throughout the codebase, including module names, CSS classes,
IDs, JS variables, SVG gradient IDs, and log module names.
Remove the old web/linker/ tree and introduce the new web/resolver/
tree with parallel structure. Also replace core/linker.py with
core/resolver.py.
2026-06-05 05:53:39 +02:00
Dariusz L d38e1cbb67 Add inline credential validation endpoints and UI for CivitAI, HuggingFace, and Brave Search 2026-06-05 03:56:15 +02:00
Dariusz L c3fad878af Add persistent HuggingFace author index cache and reorganize options UI 2026-06-05 03:36:58 +02:00
Dariusz L 4b57d07ffa Add batch selection UI, footer command menus, and helper filters for missing models 2026-06-05 02:51:23 +02:00
Dariusz L c4ee8844d4 Improve footer button accessibility and visual disabled state
Adds ARIA labels, tooltips, and aria-disabled attributes to all footer
buttons (Apply, Auto-link, Download All). Enforces a visible disabled
state via the .ml-btn-is-disabled class instead of relying on the
native disabled attribute, which is compatible with the custom dialog.
2026-06-05 02:31:51 +02:00
Dariusz L 1618273c75 Replace local database icon with ComfyUI icon and update styling 2026-06-04 19:54:18 +02:00
Dariusz L f9e8ce3eb4 Add Local Database status and update feature for model-list.json
Add backend endpoints (/model_linker/model-list/status, /model_linker/model-list/update)
that let users check whether their bundled ComfyUI-Manager model-list.json is current
and download the latest version from GitHub, with SHA tracking and cache invalidation.

Add corresponding UI in the Options dialog under a new 'Local Database' section
with status display, remote check, and update controls.
2026-06-04 19:48:12 +02:00
Dariusz L 6102972ea8 Add copy mode switching, refactor copy section UI, and harden XSS handling 2026-06-04 18:55:12 +02:00
Dariusz L a277d3d6b6 Fix XSS in copy section and tighten UI spacing 2026-06-03 18:21:04 +02:00
Dariusz L ae4398fb56 Use provider-specific icons for CivitAI and HuggingFace options nav 2026-06-03 18:12:44 +02:00
Dariusz L 37011c080a Remove horizontal padding from missing detail pane card body 2026-06-03 17:21:32 +02:00
Dariusz L 1cf5b448cb Improve queue panel resize UX with edge-drag collapse preview and collapse-to-edge toggle 2026-06-03 16:43:20 +02:00
Dariusz L 5f3262e266 Improve panel resize performance with RAF throttling and flex layout 2026-06-03 16:07:59 +02:00
Dariusz L 719b84fe6a Remove padding from queue items for flush, borderless layout 2026-06-03 15:31:51 +02:00
Dariusz L d6660dad26 Add search source enable/disable settings with persistence
- Added methods to manage search source definitions and their enabled state via localStorage
- Added UI toggles in the options dialog for each search source
- Updated CSS for source icons in the options
- Refactored source selection logic to use enabled sources
- Ensured at least one source remains enabled (defaults to local)
2026-05-29 19:06:01 +02:00
Dariusz L c4e86edf94 Add CivArchive model source to Model Linker extension 2026-05-29 18:45:52 +02:00
Dariusz L 2b27a05961 Restyle queue items and add HTML escaping for security 2026-05-29 17:57:05 +02:00
Dariusz L 4dd3c99833 Refactor queue panel visibility into updateQueueVisibility method and refresh splitter styling 2026-05-29 17:52:54 +02:00
Dariusz L 15e51951a5 Update linker options panel: CSS redesign, add icons to nav buttons, update title 2026-05-29 16:53:17 +02:00
Dariusz L 9df0400fae Refactor button styling to use CSS variables and add support for model linker modal 2026-05-29 16:34:40 +02:00
Dariusz L 7ecea75af0 Adjust fullscreen behavior when docked and update SVG icons to use stroke-width:2 and round line caps 2026-05-29 15:44:51 +02:00
Dariusz L ebe8c0a4ea Add draggable splitter to adjust width of missing model detail pane in linker UI 2026-05-29 15:23:28 +02:00
Dariusz L af2a3cd645 Add docking functionality to Model Linker dialog 2026-05-29 03:38:23 +02:00
Dariusz L ba9ae41f1e Refactor: introduce CSS variables for model type colors and update linker UI to use them 2026-05-28 15:57:04 +02:00
Dariusz L 93c5cad1d5 feat: add type-based chip styling and dynamic class assignment for model types 2026-05-28 15:54:28 +02:00
Dariusz L b5beace334 Update drag handling: use topbar for dragging, add cursor styles, and exclude certain elements from drag initiation 2026-05-28 15:12:00 +02:00
Dariusz L 6124005f6c Use CSS variable for missing panel backgrounds
Added --ml-missing-bg variable and replaced hardcoded background
values with var(--ml-missing-bg) for consistency across missing
state UI components.
2026-05-28 06:45:31 +02:00
Dariusz L 4ed0247005 Refactor tab UI: add ml-tab-label spans, adjust hover/focus states, and simplify transitions
- Add ml-tab-label span elements for better tab label structure
- Update padding and hover/focus states for consistent styling
- Remove isolation property and simplify transition handling
- Set opacity: 0 for ::after pseudo-element by default
2026-05-28 06:36:44 +02:00
Dariusz L f2ca72881e Fix model-linker drag handle alignment and sizing
- Add align-self: flex-start for proper positioning
- Change dimensions to 30x30px square
- Adjust border-radius to 8px
- Add margin-top and box-sizing for consistent layout
2026-05-28 06:28:43 +02:00
Dariusz L 015db24f52 fix: disable pointer-events and transition on active tab
Prevent mouse events and animation on the active tab element in the model linker UI.
2026-05-28 06:25:25 +02:00
Dariusz L e12633c614 Fix tab styling: adjust padding, border-radius, and positioning for better visual alignment 2026-05-28 06:23:10 +02:00