Will Miao
e4a2c518bb
fix(preset): update filePath retrieval method in removePreset function
2025-09-30 21:41:30 +08:00
Will Miao
14c468f2a2
feat(video): enhance video handling in model cards with lazy loading and autoplay settings, see #446
2025-09-24 21:11:36 +08:00
pixelpaws
219cd242db
Merge pull request #467 from willmiao/codex/migrate-frontend-settings-to-backend
...
feat(settings): centralize settings loading and snake_case keys
2025-09-23 22:16:10 +08:00
pixelpaws
cd3e32bf4b
feat(context-menu): add example image download entry
2025-09-23 20:49:44 +08:00
Will Miao
656f1755fd
feat: add cleanup example image folders functionality and UI integration
2025-09-23 20:35:35 +08:00
pixelpaws
8aa76ce5c1
feat(settings): centralize frontend settings on backend
2025-09-23 20:28:32 +08:00
Will Miao
d477050239
feat: add global context menu with actions and integration
2025-09-23 11:19:36 +08:00
Will Miao
b91f06405d
feat: support clip strength in LoRA usage tips, fixes #401
2025-09-22 13:42:36 +08:00
Will Miao
3053b13fcb
feat(metadata): enhance model processing with CivitAI metadata checks and new fields for archive DB status
2025-09-19 23:22:47 +08:00
Will Miao
f3544b3471
refactor(settings): replace getStorageItem with state.global.settings for default root retrieval
2025-09-19 22:57:05 +08:00
Will Miao
bdc86ddf15
Refactor API endpoints to use '/api/lm/' prefix
...
- Updated all relevant routes in `stats_routes.py` and `update_routes.py` to include the new '/api/lm/' prefix for consistency.
- Modified API endpoint configurations in `apiConfig.js` to reflect the new structure, ensuring all CRUD and bulk operations are correctly routed.
- Adjusted fetch calls in various components and managers to utilize the updated API paths, including recipe, model, and example image operations.
- Ensured all instances of the old API paths were replaced with the new '/api/lm/' prefix across the codebase for uniformity and to prevent broken links.
2025-09-18 14:50:40 +08:00
Will Miao
0dc4b6f728
refactor(showcase): improve custom image identification logic in renderMediaItem and findLocalFile functions
2025-09-15 20:18:39 +08:00
Will Miao
13f13eb095
fix: update preview versions keys for consistency in state management, fixes #406
2025-09-13 09:20:55 +08:00
Will Miao
8b4e3128ff
feat: add functionality to open file location from model modal and update translations, fixes #405
2025-09-11 15:54:32 +08:00
Will Miao
fcb1fb39be
feat(controls): add toggleBulkMode functionality for Checkpoints and Embeddings pages
2025-09-06 08:15:18 +08:00
Will Miao
c109e392ad
feat(auto-organize): add auto-organize functionality for selected models and update context menu
2025-09-05 20:51:30 +08:00
Will Miao
95e2ff5f1e
Implement centralized event management system with priority handling and state tracking
...
- Enhanced EventManager class to support priority-based event handling, conditional execution, and automatic cleanup.
- Integrated event management into BulkManager for global keyboard shortcuts and marquee selection events.
- Migrated mouse tracking and node selector events to UIHelpers for better coordination.
- Established global event handlers for context menu interactions and modal state management.
- Added comprehensive documentation for event management implementation and usage.
- Implemented initialization logic for event management, including error handling and cleanup on page unload.
2025-09-05 16:56:26 +08:00
Will Miao
92ac487128
feat(bulk-base-model): implement bulk base model setting functionality with UI and context menu integration
2025-09-05 14:07:03 +08:00
Will Miao
7475de366b
feat(context-menu): enhance bulk workflow options with append and replace actions
2025-09-05 11:24:48 +08:00
Will Miao
fb2b69b787
feat(tags): refactor preset tags to constants for better maintainability
2025-09-05 09:27:45 +08:00
Will Miao
4eb67cf6da
feat(bulk-tags): add bulk tag management modal and context menu integration
2025-09-04 22:08:55 +08:00
Will Miao
c0b029e228
feat(context-menu): refactor context menu initialization and coordination for improved bulk operations
2025-09-04 16:34:05 +08:00
Will Miao
9bebcc9a4b
feat(bulk): implement bulk context menu for model operations and remove bulk operations panel
2025-09-04 15:24:54 +08:00
Will Miao
31b032429d
fix(sidebar): change default pinned state to true for sidebar restoration
2025-09-03 15:46:33 +08:00
Will Miao
2a67cec16b
fix(sidebar): update tree selection logic and improve breadcrumb and header state handling
2025-09-02 18:19:01 +08:00
Will Miao
1800afe31b
feat(sidebar): implement display mode toggle and update sidebar actions for improved navigation. See #389
2025-09-02 17:42:21 +08:00
Will Miao
63562240c4
feat(localization): enhance English and Chinese translations for update notifications and support modal
2025-08-31 21:54:54 +08:00
Will Miao
6c83c65e02
feat(localization): add custom filter message and update toast keys for recipe actions
2025-08-31 20:32:37 +08:00
Will Miao
f80e266d02
feat(localization): update toast messages for consistency and improved error handling across various components
2025-08-31 18:38:42 +08:00
Will Miao
7bef562541
feat(localization): update toast messages for improved user feedback and localization support across various components
2025-08-31 16:52:58 +08:00
Will Miao
b2428f607c
feat(localization): add trigger words functionality with localization support for UI elements and messages
2025-08-31 15:13:12 +08:00
Will Miao
8303196b57
feat(localization): enhance toast messages for context menu actions, model tags, and download management with improved error handling and user feedback
2025-08-31 14:27:33 +08:00
Will Miao
987b8c8742
feat(localization): enhance toast messages for recipes and example images with improved error handling and success feedback
2025-08-31 13:51:37 +08:00
Will Miao
e60a579b85
feat(localization): enhance toast messages for API actions and model management with i18n support
...
refactor(localization): update toast messages in various components and managers for better user feedback
2025-08-31 12:25:08 +08:00
Will Miao
59010ca431
Refactor localization handling and improve i18n support across the application
...
- Replaced `safeTranslate` with `translate` in various components for consistent translation handling.
- Updated Chinese (Simplified and Traditional) localization files to include new keys and improved translations for model card actions, metadata, and usage tips.
- Enhanced the ModelCard, ModelDescription, ModelMetadata, ModelModal, and ModelTags components to utilize the new translation functions.
- Improved user feedback messages for actions like copying to clipboard, saving notes, and updating tags with localized strings.
- Ensured all UI elements reflect the correct translations based on the user's language preference.
2025-08-31 11:19:06 +08:00
Will Miao
75f3764e6c
refactor(i18n): optimize safeTranslate usage by removing unnecessary await calls
2025-08-31 10:32:15 +08:00
Will Miao
867ffd1163
feat(localization): add model description translations and enhance UI text across multiple languages
2025-08-31 10:12:54 +08:00
Will Miao
b2c4efab45
refactor(i18n): streamline i18n initialization and update translation methods
2025-08-31 09:03:06 +08:00
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