Will Miao
6f2ad2be77
fix: update LoRA model type check to use constant for improved readability, fixes #341
2025-08-05 19:11:28 +08:00
Will Miao
677a239d53
feat: add setting to include trigger words in LoRA syntax, update UI and functionality, fixes #268
2025-08-05 18:04:10 +08:00
Will Miao
3b96bfe5af
feat: add auto download setting for example images with UI toggle and functionality, fixes #288
2025-08-05 16:49:46 +08:00
Will Miao
7abfc49e08
feat: implement bulk operations for model management including delete, move, and refresh functionalities
2025-08-05 11:23:20 +08:00
Will Miao
31223f0526
feat: enhance model root fetching and moving functionality across various components
2025-08-04 23:37:27 +08:00
Will Miao
92daadb92c
feat: add endpoints for retrieving checkpoints and unet roots in CheckpointApiClient
2025-08-04 22:23:43 +08:00
Will Miao
fae2e274fd
feat: enable move operations for all model types and remove unsupported methods from specific clients
2025-08-04 19:51:02 +08:00
Will Miao
342a722991
feat: refactor model API structure to support specific model types with dedicated API clients for Checkpoints, LoRAs, and Embeddings
...
refactor: consolidate model API client creation into a factory function for better maintainability
feat: implement move operations for LoRAs and handle unsupported operations for Checkpoints and Embeddings
2025-08-04 19:37:53 +08:00
Will Miao
487b062175
refactor: simplify API endpoint construction in FilterManager for top tags and base models
2025-08-04 17:06:54 +08:00
Will Miao
4081b7f022
feat: implement settings synchronization with backend and migrate legacy settings
2025-07-29 20:29:19 +08:00
Will Miao
a5808193a6
fix: rename URL error element ID to 'importUrlError' for consistency across components
2025-07-29 16:13:27 +08:00
Will Miao
c1d9b5137a
feat: add version name display to model cards in ModelCard.js and style it in card.css. Fixes #287
2025-07-28 16:36:23 +08:00
Will Miao
f33d5745b3
feat: enhance model description editing functionality in ModelDescription.js and integrate with ModelModal.js. Fixes #292
2025-07-28 11:52:04 +08:00
Will Miao
835584cc85
fix: update restart message for ComfyUI and LoRA Manager after successful update
2025-07-27 21:20:09 +08:00
Will Miao
c06d9f84f0
fix: disable pointer events on video element in model card preview
2025-07-27 20:02:21 +08:00
Will Miao
fe57a8e156
feat: implement banner service for managing notification banners, including UI integration and storage handling
2025-07-27 18:07:43 +08:00
Will Miao
b77105795a
feat: add embedding support in statistics page, including data handling and UI updates
2025-07-27 16:36:14 +08:00
Will Miao
e2df5fcf27
feat: add default embedding root setting and load functionality in settings manager
2025-07-27 15:58:15 +08:00
Will Miao
836a64e728
refactor: enhance bulk metadata refresh functionality and update UI components
2025-07-26 23:45:57 +08:00
Will Miao
6dd58248c6
refactor: add embedding scanner support in download manager and example images processor
2025-07-26 07:35:53 +08:00
Will Miao
381bd3938a
refactor: rename 'lora-card' to 'model-card' across styles and scripts for consistency
2025-07-25 23:23:57 +08:00
Will Miao
e4ce384023
feat: implement embeddings functionality with context menus, controls, and page management
2025-07-25 23:15:33 +08:00
Will Miao
12d1857b13
refactor: update model type references from 'lora' to 'loras' and streamline event delegation setup
2025-07-25 22:33:46 +08:00
Will Miao
0d9003dea4
refactor: remove legacy card components and update imports to use shared ModelCard component
2025-07-25 22:00:38 +08:00
Will Miao
1a3751acfa
refactor: unify API client usage across models and remove deprecated API files
2025-07-25 21:38:54 +08:00
Will Miao
981e367bf1
refactor: remove unused API and page routes from routes.js
2025-07-25 17:51:40 +08:00
Will Miao
a3d6e62035
refactor: centralize resetAndReload functionality in baseModelApi
2025-07-25 17:48:02 +08:00
Will Miao
7f205cdcc8
refactor: unify model download system across all model types
...
- Add download-related methods to baseModelApi.js for fetching versions, roots, folders, and downloading models
- Replace separate download managers with a unified DownloadManager.js supporting all model types
- Create a single download_modals.html template that adapts to model type (LoRA, checkpoint, etc.)
- Remove old download modals from lora_modals.html and checkpoint_modals.html
- Update apiConfig.js to include civitaiVersions endpoints for each model type
- Centralize event handler binding in DownloadManager.js (no more inline HTML handlers)
- Modal UI and logic now auto-adapt to the current model type, making future extension easier
2025-07-25 17:35:06 +08:00
Will Miao
206c1bd69f
Refactor modals.html into modular components
2025-07-25 16:10:16 +08:00
Will Miao
a7d9255c2c
refactor: Replace direct model metadata API calls with unified model API client
2025-07-25 15:35:16 +08:00
Will Miao
08265a85ec
refactor: Include new file path in response after moving model
2025-07-25 15:10:03 +08:00
Will Miao
c784615f11
refactor: Simplify API calls and enhance model moving functionality
2025-07-25 14:48:28 +08:00
Will Miao
d83fad6abc
Refactor API structure to unify model operations
...
- Introduced MODEL_TYPES and MODEL_CONFIG for centralized model type management.
- Created a unified API client for checkpoints and loras to streamline operations.
- Updated all API calls in checkpointApi.js and loraApi.js to use the new client.
- Simplified context menus and model card operations to leverage the unified API client.
- Enhanced state management to accommodate new model types and their configurations.
- Added virtual scrolling functions for recipes and improved loading states.
- Refactored modal utilities to handle model exclusion and deletion generically.
- Improved error handling and user feedback across various operations.
2025-07-25 10:04:18 +08:00
Will Miao
692796db46
refactor: Update API endpoints to include 'loras' prefix for consistency
2025-07-24 19:56:55 +08:00
Will Miao
6f3aeb61e7
feat: Implement Git-based update functionality with nightly mode support and UI enhancements
2025-07-24 19:03:52 +08:00
Will Miao
d6145e633f
refactor: Simplify cache resort calls in model metadata updates and API routes
2025-07-24 10:47:19 +08:00
Will Miao
e8ccdabe6c
refactor: Enhance sorting functionality and UI for model selection, including legacy format conversion
2025-07-24 09:26:15 +08:00
Will Miao
4d38add291
Revert "refactor: Update logging configuration to use asyncio logger and remove aiohttp access logger references"
...
This reverts commit 804808da4a .
2025-07-23 22:23:48 +08:00
Will Miao
804808da4a
refactor: Update logging configuration to use asyncio logger and remove aiohttp access logger references
2025-07-23 22:09:42 +08:00
Will Miao
a834fc4b30
feat: Update API routes for LoRA management and enhance folder handling
2025-07-23 17:26:06 +08:00
Will Miao
ea9370443d
refactor: Implement download management routes and update API endpoints for LoRA
2025-07-23 16:11:02 +08:00
Will Miao
eccfa0ca54
feat: Add keyboard shortcuts for bulk operations and enhance shortcut key styling
2025-07-22 19:14:36 +08:00
Will Miao
6d3feb4bef
feat: Update styles for creator info and Civitai view in Lora modal; refactor button to div
2025-07-22 18:07:19 +08:00
Will Miao
29d2b5ee4b
feat: Enhance creator info display and add Civitai view functionality in ModelModal
2025-07-22 17:43:33 +08:00
Will Miao
c82fabb67f
feat: Refactor model type determination to use state for saving metadata and handling events
2025-07-22 16:44:21 +08:00
Will Miao
fcfc868e57
feat: Move LoRA related components to shared directory for consistency
...
- Added PresetTags.js to handle LoRA model preset parameter tags.
- Introduced RecipeTab.js for managing recipes associated with LoRA models.
- Created TriggerWords.js to manage trigger word functionality for LoRA models.
- Implemented utility functions in utils.js for general model modal operations.
2025-07-22 16:00:04 +08:00
Will Miao
0c883433c1
feat: Implement download path template settings and base model path mappings in UI
2025-07-21 07:37:03 +08:00
Will Miao
a579d36389
fix: Improve error message for example image import failure
2025-07-17 14:58:02 +08:00
Will Miao
132334d500
feat: Add new content indicators for Documentation tab and update links in modals
2025-07-10 17:39:59 +08:00
Will Miao
79ab0f7b6c
refactor: Update folder loading to fetch dynamically from API in DownloadManager and MoveManager. Fixes #274
2025-07-09 20:29:49 +08:00