Commit Graph

62 Commits

Author SHA1 Message Date
Will Miao
7bc63d7631 Phase 1: Model Modal Split-View Redesign
- Implement new split-view overlay layout (left showcase, right metadata)
- Add keyboard navigation (↑↓ for model, ←→ for examples, ESC to close)
- Create Thumbnail Rail for quick example navigation
- Add image controls (view params, set preview, delete)
- Implement parameter panel with prompt display
- Add metadata panel with model info, tags, licenses
- Create tabs (Description/Versions/Recipes) with accordion content
- Integrate with existing ModelCard click handlers
- Add first-use keyboard hint overlay

New files:
- static/js/components/model-modal/*.js
- static/css/components/model-modal/*.css
- docs/plan/model-modal-redesign.md
2026-02-06 19:24:49 +08:00
Will Miao
13b18ac85f refactor(update-modal): consolidate duplicate CSS files and fix changelog alignment
- Merged static/css/components/update-modal.css into static/css/components/modal/update-modal.css
- Fixed changelog item text alignment: added padding-left to .changelog-content and adjusted .changelog-item.latest padding
- Removed duplicate #updateBtn state definitions
- Deleted obsolete static/css/components/update-modal.css file
- Removed duplicate CSS import from style.css
2026-01-23 23:38:31 +08:00
Will Miao
795b9e8418 feat: enhance model version context with file metadata
- Rename `preview_overrides` to `version_context` to better reflect expanded purpose
- Add file_path and file_name fields to version serialization
- Update method names and parameter signatures for consistency
- Include file metadata from cache in version context building
- Maintain backward compatibility with existing preview URL functionality

The changes provide more comprehensive version information including file details while maintaining existing preview override behavior.
2025-10-26 08:53:53 +08:00
Will Miao
4dc80e7f6e feat: Implement sidebar navigation with folder tree and controls 2025-08-26 10:33:46 +08:00
Will Miao
71ddfafa98 refactor: move download modal styles to a dedicated file and update import path 2025-08-12 21:40:43 +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
e587189880 Refactor modal.css into modular components 2025-07-25 16:36:07 +08:00
Will Miao
39d6d8d04a Add statistics page with metrics, charts, and insights functionality
- Implemented CSS styles for the statistics page layout and components.
- Developed JavaScript functionality for managing statistics, including data fetching, chart rendering, and tab navigation.
- Created HTML template for the statistics page, integrating dynamic content for metrics, charts, and insights.
- Added responsive design adjustments and loading states for better user experience.
2025-06-24 21:36:20 +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
2ba7a0ceba Add keyboard navigation support and related styles for enhanced user experience 2025-05-15 20:17:57 +08:00
Will Miao
59aefdff77 feat: implement duplicate detection and management features; add UI components and styles for duplicates 2025-05-08 15:13:14 +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
cb876cf77e Implement saving model example images locally. Fixes https://github.com/willmiao/ComfyUI-Lora-Manager/issues/88 2025-04-29 22:41:18 +08:00
Will Miao
a043b487bd feat: Add initialization progress WebSocket and UI components
- Implement WebSocket route for initialization progress updates
- Create initialization component with progress bar and stages
- Add styles for initialization UI
- Update base template to include initialization component
- Enhance model scanner to broadcast progress during initialization
2025-04-13 10:41:27 +08:00
Will Miao
bddc7a438d feat: Add Lora recipes retrieval and filtering functionality
- Implemented a new API endpoint to fetch recipes associated with a specific Lora by its hash.
- Enhanced the recipe scanning logic to support filtering by Lora hash and bypassing other filters.
- Added a new method to retrieve a recipe by its ID with formatted metadata.
- Created a new RecipeTab component to display recipes in the Lora modal.
- Introduced session storage utilities for managing custom filter states.
- Updated the UI to include a custom filter indicator and loading/error states for recipes.
- Refactored existing recipe management logic to accommodate new features and improve maintainability.
2025-04-07 21:53:39 +08:00
Will Miao
f38b51b85a Enhance RecipeScanner and CSS components for improved functionality and styling
- Added localPath retrieval for LoRA entries in RecipeScanner to enhance metadata handling.
- Included shared.css in the main stylesheet for better component styling consistency.
- Removed unused local-badge and local-path styles from download-modal.css and recipe-modal.css to streamline the CSS and improve maintainability.
2025-03-19 08:21:51 +08:00
Will Miao
d69406c4cb checkpoint 2025-03-09 15:42:00 +08:00
Will Miao
14aef237a9 Add interactive thumbnail strip for bulk LoRA selection 2025-03-07 15:36:07 +08:00
Will Miao
2e47b30ed5 Refactor layout.css 2025-03-07 09:23:11 +08:00
Will Miao
c9c86d8c0f Add local availability check for Civitai model versions; enhance download manager UI to indicate local status 2025-03-06 20:45:09 +08:00
Will Miao
31c1139b32 Add context menu checkpoint 2025-02-18 00:02:12 +08:00
Will Miao
02e901ac2e Refactor css done 2025-02-17 21:45:15 +08:00
Will Miao
d46b94b1b8 Refactor css done 2025-02-17 21:35:47 +08:00
Will Miao
832abd743c Refactor css checkpoint2 2025-02-17 21:27:55 +08:00
Will Miao
2fc7235537 Refactor css checkpoint 2025-02-17 19:21:40 +08:00
Will Miao
36f7f33aa5 Add path preview feature in DownloadManager; update target path display on folder selection and input changes 2025-02-16 09:50:12 +08:00
Will Miao
67dde36d51 Add custom scrollbar styles for improved visibility and consistency across browsers 2025-02-16 08:10:21 +08:00
Will Miao
071b979c24 Add search clear button 2025-02-16 08:03:24 +08:00
Will Miao
f4139ea2a5 Add settings links to modals; update click handler for Lora modal 2025-02-15 11:41:10 +08:00
Will Miao
a2428b31b5 Enhance version selection UI with thumbnails and file size; improve modal click handling 2025-02-14 15:45:49 +08:00
Will Miao
89368ad0e4 Add progress tracking to downloads 2025-02-14 14:37:23 +08:00
Will Miao
451f77b99b Add download lora 2025-02-14 10:57:33 +08:00
Will Miao
b7aca9b6fc checkpoint 2025-02-13 11:34:27 +08:00
Will Miao
2222731f36 checkpoint 2025-02-10 23:40:38 +08:00
Will Miao
25c93f8cc9 Add recursive search option for folder filtering and enhance search UI 2025-02-08 18:01:22 +08:00
Will Miao
dc565feca6 Add Back to Top button functionality and styles 2025-02-06 09:57:15 +08:00
Will Miao
07ac243db6 Update toggle folders button, remove offer feedback button. 2025-02-06 09:25:51 +08:00
Will Miao
d43f133681 checkpoint 2025-02-06 08:47:17 +08:00
Will Miao
5fa5d60d2c checkpoint 2025-02-05 21:18:42 +08:00
Will Miao
842d80e798 Adjust css 2025-02-05 19:11:26 +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
e2793a71be Refactor toast notifications and improve LoraCard interactions 2025-02-05 16:41:12 +08:00
Will Miao
0c11fbcb1e Adjust layout 2025-02-04 23:39:48 +08:00
Will Miao
df957d3d67 Implement search 2025-02-04 23:15:10 +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
e0d2025eb4 Enhance modal styling for responsiveness and theme consistency; update loading status and progress bar styles 2025-02-01 12:54:37 +08:00
Will Miao
b68dbba512 Add trigger words section with copy functionality; update toast notifications for user feedback 2025-01-31 20:30:21 +08:00
Will Miao
57a4694f28 Add border radius variables and update styles for consistency across components 2025-01-31 16:46:06 +08:00