Commit Graph
292 Commits
Author SHA1 Message Date
Dariusz L fa2002fc2a Add per-item Apply button to queued resolution selected bar
Refactor queue_methods.js to split applyPendingResolutions into
applyQueuedByKey (per-item) and applyPendingResolutionList (shared
implementation). Add an Apply button alongside the Remove button in
the selected resolution bar, wired to applyQueuedByKey with loading
state. Update CSS for .mr-selected-actions layout and .mr-btn-primary
styling in the detail pane.
2026-06-17 01:17:25 +02:00
Dariusz L 40b1108bd2 feat: expand multi-ref pending resolutions and fix race conditions in loaded/missing tabs
- Add getResolutionQueueKey, getResolutionNodeRefs, and expandPendingResolutionsForApply helpers in queue_methods.js so each queued resolution can carry multiple node refs and be fully resolved before apply.
- Store node_refs, is_lora_v2, original_lora_name, and nested_key on pending resolutions; expand them during apply, with a guard for empty selections.
- Introduce optimistic analysis updates (applyOptimisticAnalysisData + getOptimisticAnalysisDataAfterApply) so the missing/loaded views refresh immediately after apply, then refresh in the background via refreshAnalysisInBackground.
- Update notification messaging to reflect expanded reference counts.
- Fix race conditions in lifecycle_graph_methods.js and tabs_loaded_methods.js by assigning load tokens only after the async workflow-load path begins, so early returns no longer clobber the token and stale panels are suppressed.
- Minor README badge styling fixes: add labelColor=111827 and update the Python badge to an SVG-based asset.
2026-06-17 01:06:51 +02:00
Dariusz L d4d1715f8a fix(web): prevent stale workflow refreshes and improve signature detection
- Guard workflow-tab-click handler with setTimeout and generation ownership check to avoid stale state updates
- Add generation-based refresh cancellation so outdated retry attempts are discarded
- Expand workflow signature to detect more model reference types, normalize widget values, and include subgraph definitions
2026-06-17 00:29:59 +02:00
Dariusz L 4289e7eb17 Merge branch 'main' of https://github.com/Azornes/Comfyui-Model-Resolver 2026-06-16 23:41:22 +02:00
Dariusz L 3dda91a39b Improve model path resolution with scanner-based exact-case matching
Pass available_models through to the workflow analyzer, enabling
case-sensitive relative path lookups against scanned model data.
Normalize paths for comparison while preserving letter casing.
Skip irrelevant categories (custom_nodes, configs) upfront.
Fall back gracefully when no scanner data is available.
Also ignore the tests/ directory in .gitignore.
2026-06-16 23:39:16 +02:00
GitHub Action 7d61b39713 create clone count badge 2026-06-16 18:48:23 +00:00
Dariusz L 13214e5005 Delete CLONE.md 2026-06-16 20:47:53 +02:00
Dariusz L 80049410aa Add release links to issue templates 2026-06-16 20:46:18 +02:00
Dariusz L 92ed1d56c3 Merge branch 'main' of https://github.com/Azornes/Comfyui-Model-Resolver 2026-06-16 20:28:58 +02:00
Dariusz L bfb0d3b836 Update clone.yml 2026-06-16 20:28:38 +02:00
GitHub Action f1d81f1de8 create clone count badge 2026-06-16 18:19:00 +00:00
Dariusz L 131060764f Delete CLONE.md 2026-06-16 20:18:36 +02:00
Dariusz L b3569c8bf2 Merge branch 'main' of https://github.com/Azornes/Comfyui-Model-Resolver 2026-06-16 20:17:50 +02:00
GitHub Action b76e86ebe8 create clone count badge 2026-06-16 18:17:10 +00:00
Dariusz L 92270eef2a Delete CLONE.md 2026-06-16 20:16:41 +02:00
Dariusz L 7e418ebf5e Update clone.yml 2026-06-16 20:16:08 +02:00
GitHub Action 350b446875 create clone count badge 2026-06-16 18:13:38 +00:00
Dariusz L 83c49aaf81 Delete CLONE.md 2026-06-16 20:13:03 +02:00
Dariusz L 851a38b9b1 Merge branch 'main' of https://github.com/Azornes/Comfyui-Model-Resolver 2026-06-16 20:10:23 +02:00
Dariusz L 4889703c1c Update clone.yml 2026-06-16 20:06:06 +02:00
Dariusz L 23e8526f9f Update README.md 2026-06-16 20:06:00 +02:00
GitHub Action 902f6e1e63 create clone count badge 2026-06-16 17:55:29 +00:00
Dariusz L f52ba153ae Update clone.yml 2026-06-16 19:54:29 +02:00
Dariusz L 90e719f113 Add GitHub issue templates, FUNDING.yml, and clone count workflow 2026-06-16 19:40:37 +02:00
Dariusz L d533cda5e8 fix: preserve model_url fallback and add search download button icons with tooltips 2026-06-16 19:19:45 +02:00
Dariusz L 4c1424f8bf Merge branch 'main' of https://github.com/Azornes/Comfyui-Model-Resolver 2026-06-16 19:17:34 +02:00
Dariusz L 3c34fa330a Remove funding model placeholders from FUNDING.yml 2026-06-16 17:58:07 +02:00
Dariusz L 881e565df9 Fix funding model format for GitHub 2026-06-16 17:30:23 +02:00
Dariusz L 55948fd996 Update GitHub Sponsors username in FUNDING.yml 2026-06-16 17:10:06 +02:00
Dariusz L 7e6e08a4e7 refactor: simplify queue panel layout and unify tab styling with shared tab components 2026-06-12 18:42:26 +02:00
Dariusz L 406b6b2624 feat: add Downloads tab to queue panel and scope active downloads to current workflow 2026-06-12 18:21:24 +02:00
Dariusz L 38874f5d99 feat: centralize download progress UI state and re-render on view reconnect 2026-06-12 18:01:07 +02:00
Dariusz L 03c274a88d feat: extract token family prefixes as additional download candidates 2026-06-12 17:44:14 +02:00
Dariusz L f6c2d924a5 feat: show base directory only when subfolder values collide 2026-06-12 17:35:53 +02:00
Dariusz L 1cd9668db2 feat: track base_directory across download and subfolder flows; normalize clip to text_encoders 2026-06-12 17:23:59 +02:00
Dariusz L cb01596cf8 Add right-click folder context menu on category and subfolder inputs
Introduces helper methods to attach folder-open context menus to category/subfolder dropdowns:
- getDownloadTargetBaseDirectory / joinLocalPath / getDownloadTargetFolderContext
- setDownloadFolderContextTarget / syncDownloadTargetFolderContext

Also calls these methods after auto-fills, suggestions, and applying download target so the UI gets live right-click-open-folder support.
2026-06-12 17:08:11 +02:00
Dariusz L 91a998bea2 feat: generalize download subfolder suggestions for all model types
- Replace CivitAI-specific subfolder suggestion with broadened logic that derives candidates from model metadata, filename patterns, and existing folder structure
- Add getSuggestedModelSubfolderCandidates / getSuggestedExistingSubfolderByModelName helpers
- Normalize download category consistently via normalize_download_category in backend and frontend
- Backend now walks actual ComfyUI folder paths dynamically instead of hardcoded category mapping
- Rename frontend methods to applySuggestedDownloadSubfolder / forceSuggestedDownloadSubfolder
- Update Auto-fill subfolder tooltip to reflect expanded scope across all model categories
2026-06-12 17:02:28 +02:00
Dariusz L 7a1473b58e feat: normalize download category strings across backend and frontend
Add a shared normalize_download_category helper (with CATEGORY_MAP) in Python
and use it in get_download_directory to prefer redirected paths and to rank
diffusion_models above legacy unet folders. Mirror the same normalization in
the JS downloadTargetMethods, applying it consistently when coalescing
downloadDirectories, building dropdown keys, and reading/writing selections.
Also fix display labels to use 'diffusion_models' instead of 'unet'.
2026-06-12 16:42:58 +02:00
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 2bdc3c2614 refactor: replace ad-hoc log formatting with structured helpers in search flow
Update search logging to use reusable formatters for values, sizes, and field
pairs, and add append-only extra kwargs so downstream logs stay on one line.
Tighten HuggingFace source messages, refresh the author index metadata, and
consolidate LoraManager/CivitAI log text.
2026-06-08 17:21:24 +02:00
Dariusz L ae5060317a refactor: replace print calls with structured logging in downloader 2026-06-08 04:52:33 +02:00
Dariusz L 2a43597c9e feat: support model details for LoraManager archive downloads
Map lora_manager_archive source to Civitai on the details endpoint so LoraManager archive results can retrieve model metadata. Add detailsContext payload to resolve_download_methods and extend model_info_methods to accept lora_manager_archive as a valid source.
2026-06-08 04:49:41 +02:00
Dariusz L 0933860dfb fix: update Civitai download row keys and LoraManager archive result keys
- Prefix rowKey with sourceKey in resolveDownloadMethods to prevent
  cross-source row collisions by using a composite identifier.
- Update LoraManager archive result check from 'url' to 'download_url'
  to match Civitai API response field naming, and fallback to model card
  URL using download_url to make the open button resilient when the
  direct URL is unavailable.
2026-06-08 03:39:53 +02:00
Dariusz L 93161add4d feat: add comprehensive file size extraction for Civitai/CivArchive payloads 2026-06-08 03:32:37 +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 511cf4ff1d refactor: update HuggingFace author index and refresh search panel icons 2026-06-08 00:56:27 +02:00