+
+ {t('wizard.organizerDesc') || `L'IA va analyser toutes les notes du carnet "${notebookName}" et proposer : tags, regroupements, et détection de doublons.`}
+
+
+
+ {/* Summary */}
+
+
+ {/* Tags */}
+ {result.suggestedTags.length > 0 && (
+
+
+ {t('wizard.suggestedTags') || 'Tags suggérés'}
+
+ {result.suggestedTags.map((tag, i) => (
+
+
+
+ {tag.name}
+
+ {tag.noteIds.length} notes
+
+
+
+ ))}
+
+ )}
+
+ {/* Categories */}
+ {result.categories.length > 0 && (
+
+
+ {t('wizard.categories') || 'Regroupements suggérés'}
+
+ {result.categories.map((cat, i) => (
+
+
{cat.name}
+
+ {cat.noteTitles.map((title, j) => (
+
+ {title.length > 35 ? title.slice(0, 35) + '...' : title}
+
+ ))}
+
+
+ ))}
+
+ )}
+
+ {/* Duplicates */}
+ {result.duplicates.length > 0 && (
+
+
+ {t('wizard.duplicates') || 'Doublons détectés'}
+
+ {result.duplicates.map((dup, i) => (
+
+
+
+ {dup.note1Title}
+ ≈
+ {dup.note2Title}
+
+
{dup.reason}
+
+ ))}
+
+ )}
+
+ {result.suggestedTags.length === 0 && result.duplicates.length === 0 && result.categories.length === 0 && (
+
+ {t('wizard.noSuggestions') || 'Aucune suggestion — le carnet semble bien organisé.'}
+
+ )}
+