LLM Wiki is a cross-platform desktop application that turns your documents into an organized, interlinked knowledge base — automatically. Instead of traditional RAG (retrieve-and-answer from scratch every time), the LLM incrementally builds and maintains a persistent wiki from your sources。
TypeScript
feat: larger Extension popup with scrollable content preview (480px wide, 280px preview)
nash_su672cb2670f2b
diff --git a/extension/popup.html b/extension/popup.htmlindex e1de9283..fd937d93 100644--- a/extension/popup.html+++ b/extension/popup.html@@ -5,7 +5,8 @@<style>* { margin: 0; padding: 0; box-sizing: border-box; }body {- width: 340px;+ width: 480px;+ max-height: 600px;font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;font-size: 13px;color: #1a1a2e;@@ -59,16 +60,21 @@.field textarea { resize: vertical; min-height: 60px; }.field select { cursor: pointer; }.preview {- padding: 8px;+ padding: 10px;background: #f3f4f6;border-radius: 6px;- font-size: 11px;- color: #6b7280;- max-height: 80px;+ font-size: 12px;+ color: #4b5563;+ line-height: 1.5;+ max-height: 280px;overflow-y: auto;white-space: pre-wrap;- word-break: break-all;+ word-break: break-word;}+ .preview::-webkit-scrollbar { width: 6px; }+ .preview::-webkit-scrollbar-track { background: transparent; }+ .preview::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }+ .preview::-webkit-scrollbar-thumb:hover { background: #9ca3af; }.btn {width: 100%;padding: 10px;diff --git a/extension/popup.js b/extension/popup.jsindex fc924a53..3923b329 100644--- a/extension/popup.js+++ b/extension/popup.js@@ -157,11 +157,11 @@ async function extractContent() {}extractedContent = result.content;- const preview = extractedContent.slice(0, 300);- contentPreview.textContent = preview + (extractedContent.length > 300 ? "..." : "");+ const preview = extractedContent.slice(0, 2000);+ contentPreview.textContent = preview + (extractedContent.length > 2000 ? "\n\n..." : "");if (result.excerpt) {- contentPreview.textContent = result.excerpt.slice(0, 200) + "\n\n" + preview;+ contentPreview.textContent = "📝 " + result.excerpt + "\n\n---\n\n" + preview;}clipBtn.disabled = false;