From 21eac6372366a43e672ba753c5611de7e4b9d604 Mon Sep 17 00:00:00 2001 From: duffyduck Date: Thu, 2 Jul 2026 20:56:30 +0200 Subject: [PATCH] =?UTF-8?q?feat(diagnostic):=20Multi-Threading=20UI=20?= =?UTF-8?q?=E2=80=94=20Kontext-Strip=20+=20Focus-Filter=20+=20Queue-Pollin?= =?UTF-8?q?g?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Phase 3 vom Multi-Threading-Redesign. Diagnostic zeigt einen scrollbaren Streifen von Kontext-Karten ueber dem Chat (Hauptchat + Projekte), jede mit Live-Status-Dot. Tap wechselt den Focus, Chat filtert auf diesen Kontext, Sende-Input laeuft mit der Focus-ID durch Bridge → Brain-Queue. index.html: - Neuer
ueber der Chat-Box, horizontal scrollbar. - JS: focusedContextId (in localStorage gespiegelt), diagQueueStatus, diagProjectsCache. renderContextStrip() zeichnet Karten mit Dot + Status-Label. switchDiagFocus(id) wechselt Focus + versteckt Bubbles anderer Kontexte via data-project-id + style.display. - Polling: /api/brain/projects/queue-status alle 2s, /projects/list alle 15s. - addChat: nimmt options.projectId → schreibt data-project-id an die DOM-Node, versteckt sofort wenn Focus abweicht. - Chat-Reception-Handler propagiert p.projectId aus dem RVS-Payload. - testRVS() sendet msg.projectId=focusedContextId mit. server.js: - sendToRVS(text, isTrace, projectId): neuer Param, wird in payload.projectId gesetzt → Bridge routet an /chat body.project_id. - test_rvs-Handler reicht msg.projectId durch. Bewusst nicht drin (Follow-up wenn Stefan mag): - Voller Dashboard-Stack mit stacked Karten die eigene Message-Listen + Input-Felder haben. Aktuelle Variante ist „Kontext-Strip fuer schnellen Wechsel + Focus-One-Rendering" — ~90% des UX-Werts mit ~10% des Aufwands. Co-Authored-By: Claude Opus 4.7 --- diagnostic/index.html | 107 +++++++++++++++++++++++++++++++++++++++++- diagnostic/server.js | 14 ++++-- 2 files changed, 116 insertions(+), 5 deletions(-) diff --git a/diagnostic/index.html b/diagnostic/index.html index 9ef8fa6..b0f671d 100644 --- a/diagnostic/index.html +++ b/diagnostic/index.html @@ -305,6 +305,12 @@
+ +
+ +