feat: add KnowledgeGraph visualization and handbook synchronization component for admin interface
This commit is contained in:
@@ -251,7 +251,7 @@ const KnowledgeGraph = () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
setSyncProgress('Sync Complete!');
|
setSyncProgress('Sync Complete! Click "Analyze & Optimize Graph" above to clean up and merge.');
|
||||||
reloadKb();
|
reloadKb();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -259,7 +259,7 @@ const KnowledgeGraph = () => {
|
|||||||
setSyncError(e.message || 'Failed to check GitHub for updates.');
|
setSyncError(e.message || 'Failed to check GitHub for updates.');
|
||||||
} finally {
|
} finally {
|
||||||
setIsSyncing(false);
|
setIsSyncing(false);
|
||||||
setTimeout(() => setSyncProgress(null), 5000); // Clear progress after 5s
|
setTimeout(() => setSyncProgress(null), 10000); // Clear progress after 10s
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user