fix(dash): improved dashboard and some bug fixes #8

Merged
sharang merged 8 commits from feat/CAI-4-dashboard into main 2026-02-20 12:17:10 +00:00

8 Commits

Author SHA1 Message Date
Sharang Parnerkar
1b1c4831b9 fix(server): use explicit #[get] and #[post] attributes for server endpoints
Some checks failed
CI / Format (push) Successful in 3s
CI / Security Audit (push) Has been cancelled
CI / Tests (push) Has been cancelled
CI / Deploy (push) Has been cancelled
CI / Clippy (push) Has been cancelled
CI / Format (pull_request) Has been cancelled
CI / Clippy (pull_request) Has been cancelled
CI / Security Audit (pull_request) Has been cancelled
CI / Tests (pull_request) Has been cancelled
CI / Deploy (pull_request) Has been cancelled
Replace #[server(endpoint = "...")] with explicit HTTP method attributes
to ensure correct method handling behind Traefik reverse proxy.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 13:16:06 +01:00
Sharang Parnerkar
949249dd4d fix(server): remove duplicate /api/ prefix from server function endpoints
Dioxus mounts server functions under /api/ automatically. Our endpoints
specified "/api/search" etc., resulting in double-prefixed paths like
/api//api/search which hit the static file server (GET-only) instead
of the server function handler, causing 405 errors.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 13:16:06 +01:00
Sharang Parnerkar
a7329efa5e fix(searxng): use POST instead of GET for SearXNG search API
SearXNG's default config sets `method: "POST"` which rejects GET
requests with 405. Switch both search_topic and get_trending_topics
to POST with form-encoded parameters.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 13:16:06 +01:00
Sharang Parnerkar
42b79371a2 fix(ui): replace Dioxus favicon with CERTifAI shield logo
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 13:16:06 +01:00
Sharang Parnerkar
bc6250b6e7 fix(fmt): whitespace 2026-02-20 13:16:06 +01:00
Sharang Parnerkar
33b65ee2d2 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>
2026-02-20 13:15:56 +01:00
Sharang Parnerkar
6ca3d3cb39 ci: add deploy stage to trigger Coolify after CI passes
Deploy job runs only on main branch after all quality checks and tests
succeed, replacing the immediate push webhook with a gated deployment.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 13:15:34 +01:00
Sharang Parnerkar
064157581d fix(ci): removed build and changelog 2026-02-20 13:15:34 +01:00