Will Miao
d0ed1213d8
feat: enhance LoRA metadata handling by adding model IDs and updating recipe data structure. Fixes #246
2025-06-24 11:12:21 +08:00
Will Miao
f6ef428008
feat: update preview URL handling in RecipeRoutes and optimize recipe refresh logic in RecipeModal. Fixes #244
2025-06-23 15:29:22 +08:00
Will Miao
e726c4f442
feat: enhance metadata extraction for TSC samplers with vae_decode handling
2025-06-23 10:55:27 +08:00
Will Miao
402318e586
feat: enhance metadata processing and extraction for Efficient nodes with improved prompt handling and conditioning outputs.
2025-06-22 13:21:31 +08:00
Will Miao
b198cc2a6e
feat: enhance metadata enrichment process to update file paths and preview URLs dynamically. See #113
2025-06-21 21:24:22 +08:00
Will Miao
c3dd4da11b
feat: enhance theme toggle functionality with auto theme support and icon updates. Fix #243
2025-06-21 20:43:44 +08:00
Will Miao
ba2e42b06e
feat: enhance LoraModal with notes hint and cleanup functionality on close
2025-06-21 20:04:57 +08:00
Will Miao
fa0902dc74
feat: add AdvancedCLIPTextEncode to NODE_EXTRACTORS for enhanced metadata extraction. See #234
2025-06-21 06:22:33 +08:00
Will Miao
8fcb6083dc
feat: update release notes and version to 0.8.18 with new features and improvements
2025-06-20 18:25:15 +08:00
Will Miao
1ef88140e3
fix: adjust widget heights and padding for improved layout and text alignment
2025-06-20 17:21:31 +08:00
Will Miao
aa34c4c84c
refactor: streamline prompt matching logic in MetadataProcessor
2025-06-20 17:00:23 +08:00
Will Miao
32d12bb334
feat: update API routes for version info and enhance version fetching functionality
2025-06-20 16:38:11 +08:00
Will Miao
1b2a02cb1a
feat: add git information display in update modals and enhance version check functionality
2025-06-20 15:22:07 +08:00
Will Miao
2ff11a16c4
feat: implement DebugMetadata node with metadata display and update functionality
2025-06-20 14:17:39 +08:00
Will Miao
441af82dbd
fix: update EXIF metadata extraction method for better compatibility with non-JPEG formats
2025-06-20 11:15:05 +08:00
Will Miao
e09c09af6f
feat: support GIF format for preview images. Fixes #236
2025-06-20 10:51:52 +08:00
Will Miao
3721fe226f
Remove unused code
2025-06-20 10:43:02 +08:00
Will Miao
8ace0e11cf
Update find_preview_file to include example extension from Civitai Helper for A1111. Fixes #225
2025-06-20 10:41:42 +08:00
Will Miao
5e249b0b59
fix: Update from_civitai flag to True in metadata creation for checkpoints and LoraMetadata. Fixes #238
2025-06-20 05:48:28 +08:00
Will Miao
4889955ecf
feat: Add conditioning matching to prompts and update metadata handling in node extractors. See #235
2025-06-20 00:04:02 +08:00
Will Miao
e986fbb5fb
refactor: Streamline progress file handling and enhance metadata extraction for images
2025-06-19 18:12:16 +08:00
Will Miao
8f4d575ec8
refactor: Improve metadata handling and streamline example image loading in modals
2025-06-19 17:07:28 +08:00
Will Miao
605a06317b
feat: Enhance media handling by adding NSFW level support and improving preview image management
2025-06-19 15:19:24 +08:00
Will Miao
a7304ccf47
feat: Add deepMerge method for improved object merging in VirtualScroller
2025-06-19 12:46:50 +08:00
Will Miao
374e2bd4b9
refactor: Add MediaRenderers, MediaUtils, MetadataPanel, and ShowcaseView components for enhanced media handling in showcase
...
- Implemented MediaRenderers.js to generate HTML for video and image wrappers, including NSFW handling and media controls.
- Created MediaUtils.js for utility functions to manage media loading, lazy loading, and metadata panel interactions.
- Developed MetadataPanel.js to generate metadata panels for media items, including prompts and generation parameters.
- Introduced ShowcaseView.js to render showcase content, manage media items, and handle file imports with drag-and-drop support.
2025-06-19 11:21:32 +08:00
Will Miao
09a3246ddb
Add delete functionality for custom example images with API endpoint
2025-06-19 11:21:00 +08:00
Will Miao
a615603866
Prevent Ctrl+A behavior in modals by checking for open modals before handling the key event
2025-06-18 18:43:11 +08:00
Will Miao
1ca05808e1
Enhance preview image upload by deleting existing previews and updating UI state management
2025-06-18 18:37:13 +08:00
Will Miao
5febc2a805
Add update indicator and animation for updated cards in VirtualScroller
2025-06-18 17:30:49 +08:00
Will Miao
3c047bee58
Refactor example images handling by introducing migration logic, updating metadata structure, and enhancing image loading in the UI
2025-06-18 17:14:49 +08:00
Will Miao
022c6c157a
Refactor example images code
2025-06-18 09:28:00 +08:00
Will Miao
fa587d5678
Refactor modal components by removing unused imports and commenting out cache management section in modals.html
2025-06-17 21:06:01 +08:00
Will Miao
afa5a42f5a
Refactor metadata handling by introducing MetadataManager for centralized operations and improving error handling
2025-06-17 21:01:48 +08:00
Will Miao
71df8ba3e2
Refactor metadata handling by removing direct UI updates from saveModelMetadata and related functions
2025-06-17 20:25:39 +08:00
Will Miao
8764998e8c
Update example images optimization message to clarify metadata preservation
2025-06-16 23:26:55 +08:00
Will Miao
2cb4f3aac8
Add example images access modal and API integration for checking image availability. Fixes #183 and #209
2025-06-16 21:33:49 +08:00
Will Miao
1ccaf33aac
Refactor example images management by removing centralized examples settings and migration functionality
2025-06-16 18:29:37 +08:00
Will Miao
cb0a8e0413
Implement example image import functionality with UI and backend integration
2025-06-16 18:14:53 +08:00
Will Miao
2221653801
Add bulk selection functionality and limit thumbnail display in BulkManager. See #229
2025-06-15 22:21:21 +08:00
Will Miao
78bcdcef5d
Enhance CivitAI metadata fetch handling and update virtual scroller item management. See #227
2025-06-15 08:34:22 +08:00
Will Miao
672fbe2ac0
Remove unused and outdated code to improve clarity
2025-06-15 06:18:47 +08:00
Will Miao
56a5970b44
Adjust NSFW warning styles for medium and compact density modes
2025-06-14 19:49:54 +08:00
Will Miao
a66cef7cfe
Increase max-height for model names in medium and compact density modes to prevent text cutoff
2025-06-14 19:30:46 +08:00
Will Miao
c0b1c2e099
Remove commented-out Civitai context menu item from checkpoints and context menu templates
2025-06-14 18:13:37 +08:00
Will Miao
9e553bb87b
Refactor card update functions to unify model and Lora card handling; remove unused metadata path update logic. See #228
2025-06-14 09:39:59 +08:00
Will Miao
f966514bc7
Add tag editing functionality and update compact tags rendering
2025-06-13 20:42:44 +08:00
Will Miao
dc0a49f96d
Refactor trigger words and metadata editing styles
...
- Removed outdated styles from trigger words CSS and consolidated into a new shared edit-metadata CSS file.
- Updated JavaScript components for trigger words and model tags to utilize the new metadata styles.
- Adjusted class names and structure in the HTML to align with the new styling conventions.
- Enhanced the UI for editing tags and trigger words, ensuring consistency across components.
2025-06-13 20:19:10 +08:00
Will Miao
65c783c024
Refactor lora-modal.css into modular components
2025-06-13 15:10:26 +08:00
Will Miao
6395836fbb
Add styles for empty tags and update tag rendering logic to always display container
2025-06-13 07:11:07 +08:00
Will Miao
a7207084ef
Remove unused monitor cleanup logic from LoraManager and DownloadManager
2025-06-13 05:52:52 +08:00
Will Miao
27ef1f1e71
Refactor tag editing setup: improve event handler management for edit and save buttons
2025-06-13 05:46:53 +08:00
Will Miao
68fdb14cd6
Remove unused lora monitor retrieval and ignore path logic from ApiRoutes, DownloadManager, and ModelScanner. Fixes #226
2025-06-13 05:46:22 +08:00
Will Miao
c2af282a85
Add tag editing functionality: implement UI for editing model tags, including save and delete options, and integrate with existing modal structure.
2025-06-12 21:00:17 +08:00
Will Miao
92d48335cb
Add endpoints and functionality for verifying duplicates in Lora and Checkpoints
...
- Implemented `/api/loras/verify-duplicates` and `/api/checkpoints/verify-duplicates` endpoints.
- Added `handle_verify_duplicates` method in `ModelRouteUtils` to process duplicate verification requests.
- Enhanced `ModelDuplicatesManager` to manage verification state and display results.
- Updated CSS for verification badges and hash mismatch indicators. Fixes #221
2025-06-12 12:06:01 +08:00
Will Miao
78cac2edc2
Add DoRA type support. move VALID_LORA_TYPES to utils.constants and update imports in recipe parsers and API routes.
2025-06-12 09:25:00 +08:00
Will Miao
26d105c439
Enhance Civitai model handling: add get_model_version method for detailed metadata retrieval, update routes to utilize new method, and improve URL handling in context menu for model re-linking.
2025-06-11 22:06:16 +08:00
Will Miao
7fec107b98
Refactor context menus to use ModelContextMenuMixin for shared functionality
...
- Introduced ModelContextMenuMixin to encapsulate shared methods for Lora and Checkpoint context menus.
- Updated CheckpointContextMenu to utilize the mixin for common actions and NSFW level handling.
- Simplified LoraContextMenu by integrating the mixin, removing redundant methods.
- Removed duplicated NSFW handling logic and centralized it in the mixin.
- Adjusted import/export statements to reflect the new structure and ensure proper functionality.
2025-06-11 20:52:45 +08:00
Will Miao
eb01ad3af9
Refactor model response inclusion to only include groups with multiple models; update model removal logic to accept hash value. See #221
2025-06-11 19:52:44 +08:00
Will Miao
e0d9880b32
Remove duplicate hash entries with a single path in get_duplicate_hashes method
2025-06-11 17:33:13 +08:00
Will Miao
e81e96f0ab
Refactor file monitoring and model scanning; remove unused monitors and streamline model file deletion process.
2025-06-11 17:02:10 +08:00
Will Miao
06d5bd259c
Refactor model file processing in ModelScanner to determine root paths and enhance error logging for missing roots.
2025-06-11 15:53:35 +08:00
Will Miao
14238b8d62
Update preview URL handling in load_metadata function to reflect model location changes. See #113
2025-06-11 15:43:12 +08:00
Will Miao
3b51886927
Add cache file control to ModelScanner; implement flags to enable/disable cache usage and clear cache files accordingly. See #222
2025-06-11 09:17:10 +08:00
Will Miao
a295ff2e06
Refactor video embed implementation to enhance privacy and user experience; replace iframe with a privacy-friendly video container and add external link buttons for YouTube access.
2025-06-10 06:44:08 +08:00
Will Miao
18cdaabf5e
Update release notes and version to v0.8.17, adding new features including duplicate model detection, enhanced URL recipe imports, and improved trigger word control.
2025-06-09 19:07:53 +08:00
Will Miao
787e37b7c6
Add CivitAI re-linking functionality and related UI components. Fixes #216
...
- Implemented new API endpoints for re-linking models to CivitAI.
- Added context menu options for re-linking in both Lora and Checkpoint context menus.
- Created a modal for user confirmation and input for CivitAI model URL.
- Updated styles for the new modal and context menu items.
- Enhanced error handling and user feedback during the re-linking process.
2025-06-09 17:23:03 +08:00
Will Miao
4e5c8b2dd0
Add help modal functionality and update related UI components
2025-06-09 14:55:18 +08:00
Will Miao
d8ddacde38
Remove 'folder' field from model metadata before saving to file. See #211
2025-06-09 11:26:24 +08:00
Will Miao
bb1e42f0d3
Add restart required icon to example images download location label. See #212
2025-06-08 20:43:10 +08:00
Will Miao
7a4139544c
Add method to update model metadata from local example images. Fixes #211
2025-06-08 20:10:36 +08:00
Will Miao
4d6ea0236b
Add centralized example images setting and update related UI components
2025-06-08 17:38:46 +08:00
Will Miao
e872a06f22
Refactor MiscRoutes and move example images related api to ExampleImagesRoutes
2025-06-08 14:40:30 +08:00
Will Miao
647bda2160
Add API endpoint and frontend integration for fetching example image files
2025-06-07 22:31:57 +08:00
Will Miao
c1e93d23f3
Merge branch 'migrate-images' of https://github.com/willmiao/ComfyUI-Lora-Manager into migrate-images
2025-06-07 11:32:55 +08:00
Will Miao
c96550cc68
Enhance migration and download processes: add backend path update and prevent duplicate completion toasts
2025-06-07 11:29:53 +08:00
Will Miao
b1015ecdc5
Add migration functionality for example images: implement API endpoint and UI controls
2025-06-07 11:27:25 +08:00
Will Miao
f1b928a037
Add migration functionality for example images: implement API endpoint and UI controls
2025-06-07 09:34:07 +08:00
Will Miao
16c312c90b
Fix version description not showing. Fixes #210
2025-06-07 01:29:38 +08:00
Will Miao
110ffd0118
Refactor modal close behavior: ensure consistent handling of closeOnOutsideClick option across multiple modals.
2025-06-06 10:32:18 +08:00
Will Miao
35ad872419
Enhance duplicates management: add help tooltip for duplicate groups and improve responsive styling for banners and groups.
2025-06-05 15:06:53 +08:00
Will Miao
9b943cf2b8
Update custom node icon
2025-06-05 06:48:48 +08:00
Will Miao
9d1b357e64
Enhance cache validation logic: add logging for version and model type mismatches, and relax directory structure checks to improve cache validity.
2025-06-04 20:47:14 +08:00
Will Miao
9fc2fb4d17
Enhance model caching and exclusion functionality: update cache version, add excluded models to cache data, and ensure cache is saved to disk after model exclusion and deletion.
2025-06-04 18:38:45 +08:00
Will Miao
641fa8a3d9
Enhance duplicates mode functionality: add toggle for entering/exiting mode, improve exit button styling, and manage control button states during duplicates mode.
2025-06-04 16:46:57 +08:00
Will Miao
add9269706
Enhance duplicate mode exit logic: hide duplicates banner, clear model grid, and re-enable virtual scrolling. Improve spacer element handling in VirtualScroller by recreating it if not found in the DOM.
2025-06-04 16:05:57 +08:00
Will Miao
1a01c4a344
Refactor trigger words UI handling: improve event listener management, restore original words on cancel, and enhance dropdown update logic. See #147
2025-06-04 15:02:13 +08:00
Will Miao
b4e7feed06
Enhance trained words extraction and display: include class tokens in response and update UI accordingly. See #147
2025-06-04 12:04:38 +08:00
Will Miao
4b96c650eb
Enhance example image handling: improve filename extraction and fallback for local images
2025-06-04 11:30:56 +08:00
Will Miao
107aef3785
Enhance SaveImage and TriggerWordToggle: add tooltips for parameters to improve user guidance
2025-06-03 19:40:01 +08:00
Will Miao
b49807824f
Fix optimizeExampleImages setting in SettingsManager
2025-06-03 18:10:43 +08:00
Will Miao
e5ef2ef8b5
Add default_active parameter to TriggerWordToggle for controlling default state
2025-06-03 17:45:52 +08:00
Will Miao
88779ed56c
Enhance Lora Manager widget: add configurable window size for Shift+Click behavior
2025-06-03 16:25:31 +08:00
Will Miao
8b59fb6adc
Refactor ShowcaseView and uiHelpers for improved image/video handling
...
- Moved getLocalExampleImageUrl function to uiHelpers.js for better modularity.
- Updated ShowcaseView.js to utilize the new structure for local and fallback URLs.
- Enhanced lazy loading functions to support both primary and fallback URLs for images and videos.
- Simplified metadata panel generation in ShowcaseView.js.
- Improved showcase toggle functionality and added initialization for lazy loading and metadata handlers.
2025-06-03 16:06:54 +08:00
Will Miao
7945647b0b
Refactor core application and recipe manager: remove lazy loading functionality and clean up imports in uiHelpers.
2025-06-03 15:40:51 +08:00
Will Miao
2d39b84806
Add CivitaiApiMetadataParser and improve recipe parsing logic for Civitai images. Also fixes #197
...
Additional info: Now prioritizes using the Civitai Images API to fetch image and generation metadata. Even NSFW images can now be imported via URL.
2025-06-03 14:58:43 +08:00
Will Miao
e151a19fcf
Implement bulk operations for LoRAs: add send to workflow and bulk delete functionality with modal confirmation.
2025-06-03 07:44:52 +08:00
Will Miao
99d2ba26b9
Add API endpoint for fetching trained words and implement dropdown suggestions in the trigger words editor. See #147
2025-06-02 17:04:33 +08:00
Will Miao
396924f4cc
Add badge for duplicate count and update logic in ModelDuplicatesManager and PageControls
2025-06-02 09:42:28 +08:00
Will Miao
7545312229
Add bulk delete endpoint for checkpoints and enhance ModelDuplicatesManager for better handling of model types
2025-06-02 08:54:31 +08:00
Will Miao
26f9779fbf
Add bulk delete functionality for loras and implement model duplicates management. See #198
...
- Introduced a new API endpoint for bulk deleting loras.
- Added ModelDuplicatesManager to handle duplicate models for loras and checkpoints.
- Implemented UI components for displaying duplicates and managing selections.
- Enhanced controls with a button for finding duplicates.
- Updated templates to include a duplicates banner and associated actions.
2025-06-02 08:08:45 +08:00