From d5cf81a9191ba5f1dab6306adf379e43dbb6c5ca Mon Sep 17 00:00:00 2001 From: Abdussamet Kocak Date: Tue, 11 Aug 2026 09:51:30 +0200 Subject: [PATCH] feat(chat): Support Youtube transcripts --- chat/index.html | 244 +++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 219 insertions(+), 25 deletions(-) diff --git a/chat/index.html b/chat/index.html index 03806ed..e2b60cc 100644 --- a/chat/index.html +++ b/chat/index.html @@ -74,6 +74,49 @@ overflow-y: auto; padding-right: 0.5rem; } + .attachment-card { + max-width: 85%; + margin: 1rem 0; + padding: 0.8rem 1.2rem; + border: 1px solid var(--border-color); + border-radius: 0.8rem; + background: var(--bg-secondary); + } + .attachment-card__title { + font-weight: 700; + } + .attachment-card__meta { + color: var(--text-secondary); + font-size: 0.9em; + } + .attachment-card summary { + cursor: pointer; + margin-top: 0.5rem; + } + .attachment-card pre { + max-height: 14rem; + overflow: auto; + white-space: pre-wrap; + overflow-wrap: anywhere; + padding: 0.6rem; + background: var(--bg-code); + border: 1px solid var(--border-color); + border-radius: 0.3rem; + } + .suggested-questions { + display: flex; + flex-wrap: wrap; + gap: 0.5rem; + margin: 0.75rem 0; + } + .suggested-questions button { + cursor: pointer; + padding: 0.35rem 0.6rem; + color: var(--text-primary); + background: var(--bg-primary); + border: 1px solid var(--border-color); + border-radius: 0.3rem; + } .message { padding: 0.8rem 1.2rem; border-radius: 0.8rem; @@ -308,6 +351,21 @@
+
+
Transcript attached
+
+
+ Show transcript +

+                        
+ +