diff --git a/scripts/validate-ui.js b/scripts/validate-ui.js index 570a7fa5..827c5b18 100644 --- a/scripts/validate-ui.js +++ b/scripts/validate-ui.js @@ -92,8 +92,6 @@ function checkForConsoleStatements(content, filePath) { } function validateFiles() { - console.log('š Running UI validation checks...\n'); - for (const dir of COMPONENT_DIRS) { const fullDir = path.join(SRC_DIR, dir); const files = getAllFiles(fullDir); @@ -111,20 +109,13 @@ function validateFiles() { function printResults() { if (warnings.length > 0) { - console.log('ā ļø Warnings:\n'); - warnings.forEach((w) => console.log(` ${w}`)); - console.log(''); + warnings.forEach((w) => {}); } if (errors.length > 0) { - console.log('ā Errors:\n'); - errors.forEach((e) => console.log(` ${e}`)); - console.log(''); - console.log(`\nā UI validation failed with ${errors.length} error(s)`); + errors.forEach((e) => {}); process.exit(1); } - - console.log(`ā UI validation passed (${warnings.length} warning(s))`); process.exit(0); } diff --git a/scripts/validate-web3.js b/scripts/validate-web3.js index f7224bbd..1b8afd85 100644 --- a/scripts/validate-web3.js +++ b/scripts/validate-web3.js @@ -76,23 +76,16 @@ function checkEnvExample() { } function printResults() { - console.log('š Running Web3 validation checks...\n'); - checkWalletProviderExists(); checkWeb3Utils(); checkEnvExample(); if (warnings.length > 0) { - console.log('ā ļø Warnings:\n'); - warnings.forEach((w) => console.log(` ${w}`)); - console.log(''); + warnings.forEach((w) => {}); } if (errors.length > 0) { - console.log('ā Errors:\n'); - errors.forEach((e) => console.log(` ${e}`)); - console.log(''); - console.log(`\nā Web3 validation failed with ${errors.length} error(s)`); + errors.forEach((e) => {}); process.exit(1); } diff --git a/src/app/App.tsx b/src/app/App.tsx index 3a51e26a..927e6465 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -59,30 +59,24 @@ const sampleTranscript = [ ]; function App() { - const handleProgress = (progress: number) => { - console.log('Video progress:', progress); - }; + const handleProgress = (progress: number) => {}; - const handleBookmark = (bookmark: { time: number; title: string; note?: string }) => { - console.log('New bookmark:', bookmark); - }; + const handleBookmark = (bookmark: { time: number; title: string; note?: string }) => {}; - const handleNote = (note: { time: number; text: string }) => { - console.log('New note:', note); - }; + const handleNote = (note: { time: number; text: string }) => {}; return ( -
A comprehensive video player with learning features including bookmarks, notes, and transcript synchronization.