feat: Add LoRA selector modal to Cycler widget

- Add LoraListModal component with search and preview tooltip
- Make 'Next LoRA' name clickable to open selector modal
- Integrate PreviewTooltip with custom resolver for Vue widgets
- Disable selector when prompts are queued (consistent with pause button)
- Fix tooltip z-index to display above modal backdrop

Fixes issue: users couldn't easily identify which index corresponds
to specific LoRA in large lists
This commit is contained in:
Will Miao
2026-02-01 20:57:06 +08:00
parent 71c8cf84e0
commit 04ba966a6e
8 changed files with 1133 additions and 381 deletions

View File

@@ -24,7 +24,8 @@ export default defineConfig({
'../../../scripts/app.js',
'../../../scripts/api.js',
'../loras_widget.js',
'../autocomplete.js'
'../autocomplete.js',
'../preview_tooltip.js'
],
output: {
dir: '../web/comfyui/vue-widgets',