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 <noreply@anthropic.com>
This commit is contained in:
Sharang Parnerkar
2026-02-19 18:48:26 +01:00
parent 6ca3d3cb39
commit 33b65ee2d2

View File

@@ -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}",
),
},
];