Will Miao
401200050b
feat(i18n): Enhance internationalization support by updating storage retrieval and translation handling
2025-08-30 17:29:04 +08:00
Will Miao
f82908221c
Implement internationalization (i18n) system for LoRA Manager
...
- Added i18n support with automatic language detection based on browser settings.
- Implemented translations for English (en) and Simplified Chinese (zh-CN).
- Created utility functions for text replacement in HTML templates and JavaScript.
- Developed a comprehensive translation key structure for various application components.
- Added formatting functions for numbers, dates, and file sizes according to locale.
- Included RTL language support and dynamic updates for DOM elements.
- Created tests to verify the functionality of the i18n system.
2025-08-29 21:32:48 +08:00
Will Miao
4246908f2e
feat: Add updateContainerMargin method and integrate it into sidebar state management for improved layout handling
2025-08-29 21:28:19 +08:00
Will Miao
f64597afd2
feat: Update restoreSelectedFolder to ensure activeFolder is a string before assignment and reset selectedPath if not
2025-08-29 17:46:43 +08:00
Will Miao
975ff2672d
feat: Add new Flux model 'FLUX_1_KREA' and update Video Models list for enhanced model support
2025-08-28 16:24:01 +08:00
Will Miao
cd0d832f14
feat: Refactor showModelModal to fetch complete metadata and update related functions for improved data handling
2025-08-27 19:42:34 +08:00
Will Miao
5b0becaaf2
feat: Implement model description retrieval and update related API endpoints
2025-08-27 18:22:56 +08:00
Will Miao
d62cff9841
feat: Refactor SidebarManager integration and cleanup methods for improved state management
2025-08-26 21:38:33 +08:00
Will Miao
8e5bfd379e
feat: Add closeDropdown method to manage dropdown state in SidebarManager
2025-08-26 19:26:05 +08:00
Will Miao
d2268fc9e0
feat: Implement initial hidden state for sidebar and enhance visibility handling
2025-08-26 18:02:52 +08:00
Will Miao
a98e26139f
feat: Implement auto-hide functionality for sidebar and update controls layout
2025-08-26 17:57:59 +08:00
Will Miao
522a3ea88b
feat: Update sidebar breadcrumb styles and enhance dropdown functionality
2025-08-26 17:13:04 +08:00
Will Miao
d7949fbc30
feat: Enhance sidebar navigation with dropdowns and refactor breadcrumb structure
2025-08-26 16:44:01 +08:00
Will Miao
6df083a1d5
feat: Refactor sidebar components for improved structure and styling
2025-08-26 15:26:45 +08:00
Will Miao
4dc80e7f6e
feat: Implement sidebar navigation with folder tree and controls
2025-08-26 10:33:46 +08:00
Will Miao
dcb9983786
feat: Refactor duplicates management with user preference for notification visibility and modular banner component, fixes #359
2025-08-16 09:14:35 +08:00
Will Miao
dda19b3920
feat: add download example images functionality to context menus, see #347
2025-08-15 17:15:31 +08:00
Will Miao
25139ca922
feat: enhance bulk operations panel styling and update downloadExampleImages method to accept optional modelTypes parameter
2025-08-15 15:58:33 +08:00
Will Miao
3cd57a582c
feat: add force download functionality for example images with progress tracking
2025-08-15 15:16:12 +08:00
Andreas
9e268cf016
Merge branch 'willmiao:main' into main
2025-08-13 17:51:10 +02:00
Andreas
112b3abc26
feat: add qwen-image base model to ModelMetadata
2025-08-13 15:49:30 +00:00
Will Miao
52e3ad08c1
feat: add placeholder for empty folder tree in download modal
2025-08-13 23:45:37 +08:00
Will Miao
d04deff5ca
feat: enhance download and move modals with improved folder path input, autocomplete, and folder tree integration
2025-08-13 14:41:21 +08:00
Will Miao
286f4ff384
feat: add folder tree and unified folder tree endpoints, enhance download modal with folder path input and tree navigation
2025-08-12 22:34:53 +08:00
Will Miao
425c33ae00
fix: update model identifier handling in RecipeModal and DownloadManager for consistency
2025-08-11 17:13:42 +08:00
Will Miao
c74033b9c0
refactor: conditionally initialize managers in HeaderManager to avoid unnecessary setup on statistics page
2025-08-06 11:14:02 +08:00
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
31223f0526
feat: enhance model root fetching and moving functionality across various components
2025-08-04 23:37:27 +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
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
c06d9f84f0
fix: disable pointer events on video element in model card preview
2025-07-27 20:02:21 +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
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
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
e8ccdabe6c
refactor: Enhance sorting functionality and UI for model selection, including legacy format conversion
2025-07-24 09:26:15 +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
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