feat(lora-pool): add folder filtering and preview tooltip enhancements

- Add include/exclude folder modals for advanced filtering
- Implement folder tree search with auto-expand functionality
- Add hover tooltip to preview header showing matching LoRA thumbnails
- Format match count with locale string for better readability
- Prevent event propagation on refresh button click
- Improve folder tree component with expand/collapse controls
This commit is contained in:
Will Miao
2026-01-12 10:08:16 +08:00
parent 9719dd4d07
commit 65cede7335
10 changed files with 1070 additions and 437 deletions

View File

@@ -38,7 +38,7 @@ function createLoraPoolWidget(node) {
// Per dev guide: providing getMinHeight via options allows the system to
// skip expensive DOM measurements during rendering loop, improving performance
getMinHeight() {
return 700
return 400
}
}
)
@@ -62,7 +62,7 @@ function createLoraPoolWidget(node) {
widget.computeLayoutSize = () => {
const minWidth = 500
const minHeight = 700
const minHeight = 400
return { minHeight, minWidth }
}