mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-21 21:22:11 -03:00
feat(ui): add setup guidance when example images path is not configured
When users try to import custom example images without configuring the download location, show a helpful guidance interface instead of failing silently or showing an error after the fact. Changes: - ShowcaseView.js: Check if example_images_path is configured before showing import interface; display setup guidance with open settings button - showcase.css: Add styles for the setup guidance state - locales: Add translation keys for all 10 supported languages Clicking 'Open Settings' will: 1. Open the settings modal 2. Scroll to the Example Images section 3. Highlight the section with a brief animation 4. Focus the input field Fixes #785
This commit is contained in:
@@ -1165,7 +1165,11 @@
|
||||
"exampleImages": {
|
||||
"opened": "Example images folder opened",
|
||||
"openingFolder": "Opening example images folder",
|
||||
"failedToOpen": "Failed to open example images folder"
|
||||
"failedToOpen": "Failed to open example images folder",
|
||||
"setupRequired": "Example Images Storage",
|
||||
"setupDescription": "To add custom example images, you need to set a download location first.",
|
||||
"setupUsage": "This path is used for both downloaded and custom example images.",
|
||||
"openSettings": "Open Settings"
|
||||
}
|
||||
},
|
||||
"help": {
|
||||
|
||||
Reference in New Issue
Block a user