[groq] Research: NotebookLM — create audio overview of SOUL.md as podcast (#293) (#391)
Some checks failed
Deploy Nexus / deploy (push) Failing after 4s

This commit was merged in pull request #391.
This commit is contained in:
2026-03-24 13:19:03 +00:00
parent b68d874cdc
commit 024d3a458a
2 changed files with 21 additions and 0 deletions

8
app.js
View File

@@ -3741,6 +3741,11 @@ async function initBookshelves() {
} catch (err) {
errorEl.textContent = 'Failed to load SOUL.md. Check console for details.';
errorEl.style.display = 'block';
errorEl.style.opacity = '1';
setTimeout(() => {
errorEl.style.opacity = '0';
setTimeout(() => errorEl.style.display = 'none', 300);
}, 3000);
console.error('Podcast error:', err);
}
});
@@ -3764,6 +3769,9 @@ async function initBookshelves() {
speakNext();
}
// Add error handling and visual feedback
document.getElementById('podcast-error').style.display = 'none';
if (prs.length === 0) return;
// Split PRs across two shelves — left and right of the scene background

View File

@@ -128,6 +128,19 @@ canvas {
opacity: 0.6;
cursor: not-allowed;
}
#podcast-error {
position: fixed;
bottom: 10px;
left: 50%;
transform: translateX(-50%);
background: rgba(255, 0, 0, 0.9);
color: white;
padding: 8px 16px;
border-radius: 4px;
font-size: 12px;
display: none;
}
}
#podcast-toggle:hover {
background-color: var(--color-primary);