diff --git a/web/linker.js b/web/linker.js
index 115ce71..139ff04 100644
--- a/web/linker.js
+++ b/web/linker.js
@@ -1045,16 +1045,21 @@ class LinkerManagerDialog extends ComfyDialog {
const versionLabel = modelUrl ? `${civitaiLabel}` : `${civitaiLabel}`;
titleHtml += ` ${versionLabel}`;
}
+ // Add filename in quotes
+ if (missing.civitai_info.expected_filename) {
+ titleHtml += ` "${missing.civitai_info.expected_filename}"`;
+ }
} else if (missing.civitai_info && missing.civitai_info.model_name) {
titleHtml += ` (${missing.civitai_info.model_name})`;
}
html += `
${titleHtml}
`;
- html += ``;
+ html += `
`;
if (missing.category) {
html += `${missing.category}`;
}
html += `${nodeLabel} #${missing.node_id}`;
html += `
`;
+ // Removed - filename is already shown in title
html += `
`;
// Two-column layout
@@ -1093,9 +1098,21 @@ class LinkerManagerDialog extends ComfyDialog {
html += ``;
}
- // Add note if only showing 100% matches
+ // Add note if only showing 100% matches - make it expandable
if (perfectMatches.length > 0 && otherMatches.length > 0) {
- html += `${otherMatches.length} other match${otherMatches.length > 1 ? 'es' : ''} below 100%
`;
+ const matchId = `more-matches-${missing.node_id}-${missing.widget_index}`;
+ html += `${otherMatches.length} other match${otherMatches.length > 1 ? 'es' : ''} below 100%
`;
+ // Hidden container with other matches
+ html += ``;
+ for (const match of otherMatches) {
+ const confClass = match.confidence >= 70 ? 'ml-badge-medium' : 'ml-badge-low';
+ html += `
`;
+ html += `${match.confidence}%`;
+ html += `${match.filename || match.path?.split(/[/\\]/).pop()}`;
+ html += ``;
+ html += `
`;
+ }
+ html += `
`;
}
} else if (allMatches.length > 0 && filteredMatches.length === 0) {
html += `No matches above 70% confidence
`;