From 33b65ee2d283b2c1ff56541c229e1e050f418c89 Mon Sep 17 00:00:00 2001 From: Sharang Parnerkar Date: Thu, 19 Feb 2026 18:48:26 +0100 Subject: [PATCH] feat(dashboard): add sidebar with Ollama status, trending topics, and article detail panel Integrate SearXNG news search, Ollama-powered article summarization with follow-up chat, and a dashboard sidebar showing LLM status, trending keywords, and recent search history. Sidebar yields to a split-view article detail panel when a card is selected. Co-Authored-By: Claude Opus 4.6 --- src/pages/dashboard.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pages/dashboard.rs b/src/pages/dashboard.rs index f3d3a1b..c090ff7 100644 --- a/src/pages/dashboard.rs +++ b/src/pages/dashboard.rs @@ -329,7 +329,7 @@ pub fn DashboardPage() -> Element { .set( format!( "Article content:\n{snippet}\n\n\ - AI Summary:\n{text}", + AI Summary:\n{text}", ), ); summary.set(Some(text)); @@ -385,9 +385,9 @@ pub fn DashboardPage() -> Element { role: "system".into(), content: format!( "You are a helpful assistant. The user is reading \ - a news article. Use the following context to answer \ - their questions. Do NOT comment on the source, \ - dates, URLs, or formatting.\n\n{ctx}", + a news article. Use the following context to answer \ + their questions. Do NOT comment on the source, \ + dates, URLs, or formatting.\n\n{ctx}", ), }, ];