Commit Graph

55 Commits

Author SHA1 Message Date
Will Miao
63b087fc80 feat: Implement cache busting for static assets, remove client-side version mismatch banner, and add project overview documentation. 2025-12-19 22:40:36 +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
a258a18fa4 refactor(preload): remove unnecessary preload blocks from multiple templates 2025-08-31 11:28:49 +08:00
Will Miao
29160bd6e5 feat(i18n): Implement server-side internationalization support
- Added ServerI18nManager to handle translations and locale settings on the server.
- Integrated server-side translations into templates, reducing language flashing on initial load.
- Created API endpoints for setting and getting user language preferences.
- Enhanced client-side i18n handling to work seamlessly with server-rendered content.
- Updated various templates to utilize the new translation system.
- Added mixed i18n handler to coordinate server and client translations, improving user experience.
- Expanded translation files to include initialization messages for various components.
2025-08-30 16:56:56 +08:00
Will Miao
f6bd48cfcd feat: Update box-shadow for header and adjust controls styling for improved layout 2025-08-27 15:43:44 +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
fa9c78209f feat: update API endpoints to include '/list' for model retrieval in routes and templates, fixes #344 2025-08-07 18:06:40 +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
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
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
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
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
Will Miao
d1fd5b7f27 feat: implement alphabet filtering feature with letter counts and UI components v1 2025-05-01 20:07:12 +08:00
Will Miao
5a8a402fdc Enhance LoraRoutes and templates for improved cache initialization handling
- Updated LoraRoutes to better check cache initialization status and handle loading states.
- Added logging for successful cache loading and error handling for cache retrieval failures.
- Enhanced base.html and loras.html templates to display a loading spinner and initialization notice during cache setup.
- Improved user experience by ensuring the loading notice is displayed appropriately based on initialization state.
2025-03-28 15:04:35 +08:00
Will Miao
7924e4000c Refactor LoraModal and RecipeSearchManager for improved functionality and performance
- Updated LoraModal to enhance lazy loading and scroll behavior, utilizing MutationObserver for dynamic content changes and adding a new helper function for the back-to-top button.
- Modified RecipeSearchManager to ensure proper recipe loading through the window.recipeManager object, improving reliability in recipe reloading.
- Added additional components to loras.html for better modularity and organization of the modal structure.
2025-03-19 16:15:18 +08:00
Will Miao
710857dd41 checkpoint 2025-03-17 19:58:17 +08:00
Will Miao
1034282161 Enhance LoRA and Recipe templates by adding request context to template rendering. Update JavaScript to initialize search managers with context-specific options and improve header navigation with dynamic search placeholders. Refactor header component for better context awareness in search functionality. 2025-03-17 10:11:50 +08:00
Will Miao
e7233c147d checkpoint 2025-03-13 15:04:18 +08:00
Will Miao
004c203ef2 Merge branch 'main' into dev 2025-03-13 11:45:43 +08:00
Will Miao
be5e8bad17 Revert "Enhance infinite scroll functionality; increase sentinel height and ensure full width, trigger layout recalculation on initialization."
This reverts commit a1e9e440ed.
2025-03-11 14:47:15 +08:00
Will Miao
d69406c4cb checkpoint 2025-03-09 15:42:00 +08:00
Will Miao
0c4914909a Add bulk operation 2025-03-07 13:15:39 +08:00
Will Miao
a9b3131e64 Enhance modal toggle functionality and update service interaction 2025-03-07 09:33:58 +08:00
Will Miao
a1e9e440ed Enhance infinite scroll functionality; increase sentinel height and ensure full width, trigger layout recalculation on initialization. Try to fix: https://github.com/willmiao/ComfyUI-Lora-Manager/issues/24 2025-03-07 06:50:31 +08:00
Will Miao
5e6cce936d Add update notifications 2025-03-05 22:03:54 +08:00
Will Miao
493dff5c19 Add support modal and toggle button for user feedback and support 2025-03-05 20:47:17 +08:00
Will Miao
31c1139b32 Add context menu checkpoint 2025-02-18 00:02:12 +08:00
Will Miao
425ba1fd36 Enhance modal styles and add scrollbar width calculation for improved layout 2025-02-17 23:23:20 +08:00
Will Miao
df5bb91afa Add toggle settings 2025-02-17 21:42:01 +08:00
Will Miao
b7aca9b6fc checkpoint 2025-02-13 11:34:27 +08:00
Will Miao
d43f133681 checkpoint 2025-02-06 08:47:17 +08:00
Will Miao
77ee93b385 Enhance theme toggle functionality and update styles; add light and dark SVG icons 2025-02-05 18:45:21 +08:00
Will Miao
210bc70481 Add folder tag toggle and feedback button; refactor theme toggle 2025-02-05 17:40:39 +08:00
Will Miao
763e55fcae Optimize LoRA cache sorting with flexible resort method
- Add optional name-only sorting to LoRA cache resort method
- Update API routes to use new resort method with name-only flag
- Refactor HTML template to improve script placement and initialization check
2025-02-04 20:02:59 +08:00
Will Miao
7fb7e2aa2e Add initialization handling for LoRA page with loading state
- Implement dynamic initialization detection in lora_routes
- Add initialization notice template with loading spinner
- Create CSS styles for initialization notice
- Add client-side script to auto-refresh page when initialization completes
2025-02-04 19:44:23 +08:00
Will Miao
9489a1989a Refactor LoRA template with modular components and script updates 2025-02-04 12:20:56 +08:00
Will Miao
4b247995d1 Implement paginated LoRA data fetching with caching and infinite scroll 2025-02-02 22:57:22 +08:00
Will Miao
4de6177e3a Update trigger words display and enhance click feedback for Lora cards 2025-01-31 21:02:22 +08:00
Will Miao
decaf7759c Enhance image loading strategy in modal and add security-related meta tags for improved performance and safety 2025-01-31 16:52:14 +08:00
Will Miao
2dff60d367 Enhance performance and user experience by adding debounce functionality, optimizing sorting, lazy loading images, and improving WebSocket handling. Include resource preloading and performance monitoring in the HTML template. 2025-01-31 08:22:45 +08:00
Will Miao
46abc77964 Refactor folder filtering logic and update responsive grid layout in CSS 2025-01-30 18:43:28 +08:00
Will Miao
580539c779 Add delete confirmation modal and update related styles and logic 2025-01-30 17:51:28 +08:00
Will Miao
dedb734a01 Add favicon 2025-01-27 15:28:07 +08:00
Will Miao
60a21bc7db Add replace preview 2025-01-27 08:35:25 +08:00
Will Miao
26a84afb20 Fix modal window display 2025-01-27 00:42:33 +08:00
Will Miao
87c64f9b71 Fix toggle theme 2025-01-26 23:41:55 +08:00
Will Miao
0c80555cc7 Add refresh loras 2025-01-26 23:32:17 +08:00