@@ -5395,14 +5395,6 @@ <h3 class="text-lg font-medium text-white mb-3">File Content</h3>
53955395 edges : edges
53965396 } ;
53975397
5398- console . log ( 'Processed knowledge graph:' , knowledgeGraph ) ;
5399- console . log ( 'Total nodes:' , knowledgeGraph . nodes . length ) ;
5400- console . log ( 'Total edges:' , knowledgeGraph . edges . length ) ;
5401-
5402- // Log metadata if available
5403- if ( apiKnowledgeGraph . metadata ) {
5404- console . log ( 'Graph metadata:' , apiKnowledgeGraph . metadata ) ;
5405- }
54065398
54075399 // Add a summary display for large graphs (desktop only)
54085400 if ( knowledgeGraph . nodes . length > 10 && window . matchMedia ( '(min-width: 768px)' ) . matches ) {
@@ -6110,7 +6102,6 @@ <h3 class="text-xl font-semibold text-white mb-2">No Knowledge Graph Data</h3>
61106102 feedbackNote . value = feedback . feedback_note ;
61116103 }
61126104
6113- console . log ( 'Populated existing feedback:' , feedback ) ;
61146105 }
61156106
61166107 // Reset feedback form to start fresh
@@ -6124,7 +6115,6 @@ <h3 class="text-xl font-semibold text-white mb-2">No Knowledge Graph Data</h3>
61246115 feedbackNote . value = '' ;
61256116 }
61266117
6127- console . log ( 'Reset feedback form for fresh start' ) ;
61286118 }
61296119
61306120 // Initialize star ratings
@@ -6196,7 +6186,6 @@ <h3 class="text-xl font-semibold text-white mb-2">No Knowledge Graph Data</h3>
61966186 tabId : activeTabButton . id ,
61976187 tabData : activeTabButton . getAttribute ( 'data-tab' )
61986188 } ;
6199- console . log ( 'Saved tab state:' , savedTabState ) ;
62006189 } else {
62016190 // Fallback: look for any active tab content to determine current tab
62026191 const activeContent = document . querySelector ( '.tab-content.active:not(.news-tab-content)' ) ;
@@ -6227,15 +6216,13 @@ <h3 class="text-xl font-semibold text-white mb-2">No Knowledge Graph Data</h3>
62276216
62286217 if ( tabData && tabId ) {
62296218 savedTabState = { tabId, tabData } ;
6230- console . log ( 'Saved tab state (fallback):' , savedTabState ) ;
62316219 }
62326220 }
62336221 }
62346222 }
62356223
62366224 function restoreTabState ( ) {
62376225 if ( savedTabState ) {
6238- console . log ( 'Restoring tab state:' , savedTabState ) ;
62396226
62406227 // Find the tab button to restore
62416228 const tabButton = document . getElementById ( savedTabState . tabId ) ;
0 commit comments