feat: add KnowledgeGraph visualization and handbook synchronization component for admin interface

This commit is contained in:
RaymondVerhoef
2026-05-18 22:01:02 +02:00
parent 3555048308
commit 00541f4a08

View File

@@ -251,7 +251,7 @@ const KnowledgeGraph = () => {
}
}
}
setSyncProgress('Sync Complete!');
setSyncProgress('Sync Complete! Click "Analyze & Optimize Graph" above to clean up and merge.');
reloadKb();
}
@@ -259,7 +259,7 @@ const KnowledgeGraph = () => {
setSyncError(e.message || 'Failed to check GitHub for updates.');
} finally {
setIsSyncing(false);
setTimeout(() => setSyncProgress(null), 5000); // Clear progress after 5s
setTimeout(() => setSyncProgress(null), 10000); // Clear progress after 10s
}
};