Commit graph

34 commits

Author SHA1 Message Date
4936bfd94f Query-Management in main.ts verdrahtet, Schema/Modal CSS
History, Favorites, Templates und Schema-Browser initialisiert
und mit Commands verknuepft. CSS fuer Schema-Browser-Sidebar,
Template-Picker und Favoriten-Modal ergaenzt.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:24:28 +01:00
df3bddeaeb QueryModal: History-Integration und initiale SQL
Query-Editor trackt jetzt alle Ausfuehrungen im HistoryManager
(Laufzeit, Zeilenanzahl). Akzeptiert optionale initiale SQL
fuer Template- und Favoriten-Integration.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:24:20 +01:00
3d0519db8f Schema-Browser: Sidebar mit Tabellen, Spalten und Indizes
SchemaView als ItemView zeigt alle Logfire-DB-Tabellen mit
aufklappbaren Details (Spaltentypen, PK, Indizes, Zeilenanzahl).
Rechtsklick kopiert SELECT-Statement.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:24:14 +01:00
b9732810f9 Templates: Built-in und Custom Query-Templates mit Parametern
TemplateManager mit 9 Built-in Templates fuer Logfire-Schema
(Events, Sessions, Stats, Dateien, Tags, verwaiste Notizen,
defekte Links). Parameter-Substitution via {{name:default}}.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:24:08 +01:00
6c7d239108 Favoriten: gespeicherte Queries mit Kategorien und Tags
FavoritesManager mit Kategorien (Allgemein, Analyse, Wartung),
Tags, Usage-Tracking. SaveFavoriteModal fuer Obsidian-UI.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:24:00 +01:00
4b8f1fc814 Query-History: automatisches Tracking aller Queries
HistoryManager speichert ausgefuehrte Queries mit Metriken
(Laufzeit, Zeilenanzahl), Deduplizierung, max 200 Eintraege,
Favoriten-Schutz vor Loeschung, Suche.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:23:54 +01:00
4547e0606e Merge feature/visualisierung: Charts und Dashboards
SVG-Chart-Renderer (10 Typen), Dashboard-View und Code-Block,
Chart-Support in logfire-sql, vollstaendiges CSS-Theming.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:17:34 +01:00
2f7ee27e9b Visualisierung in main.ts verdrahtet, Chart/Dashboard CSS
Dashboard-View registriert, Ribbon-Icon, Befehl und
logfire-dashboard Block-Prozessor eingebunden. CSS fuer
SVG-Charts, Legenden, Dashboard-Grid und Widgets ergaenzt.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:17:28 +01:00
aba060f3a5 Processor: Chart-Support und Dashboard-Block-Prozessor
logfire-sql Bloecke unterstuetzen jetzt -- chart: Direktiven
fuer Inline-Visualisierung. Neuer logfire-dashboard Block-
Prozessor rendert Multi-Widget-Dashboards direkt in Notizen.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:17:22 +01:00
eec66b738d Dashboard: View und Code-Block-Parser fuer Multi-Widget-Layouts
DashboardView als Obsidian-Sidebar, parseDashboardBlock fuer
logfire-dashboard Code-Bloecke. Grid-Layout mit query, chart,
stat und text Widgets. Unabhaengige Refresh-Intervalle pro Widget.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:17:16 +01:00
794cb42b72 Chart-Renderer: SVG-Visualisierung mit 10 Chart-Typen
Bar, Line, Pie, Doughnut, HorizontalBar, Scatter, Area,
StackedBar, Radar und Gauge — alles reines SVG ohne externe
Bibliotheken. Nutzt Obsidian-CSS-Variablen fuer Theming.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:17:09 +01:00
df39e0174a Merge feature/virtual-tables: Virtual Tables 2026-02-12 11:10:00 +01:00
a4f695d75a Virtual Tables in main.ts verdrahtet, Author auf tolvitty
VirtualTableManager nach Layout-Ready initialisieren,
Cleanup in onunload, Kommando zum manuellen Rebuild.
manifest.json Author-Feld aktualisiert.

Co-Authored-By: tolvitty <noreply@anthropic.com>
2026-02-12 11:09:54 +01:00
3f12824170 Virtual Tables: _files, _links, _tags, _headings
Auto-generierte Tabellen aus Vault-Metadaten mit prepared statements
und Transaktionen. Inkrementelle Updates bei Datei-Aenderungen und
Metadata-Cache-Events. Unterstuetzt manuellen Rebuild.

Co-Authored-By: tolvitty <noreply@anthropic.com>
2026-02-12 11:09:48 +01:00
c2f0270f1e DatabaseManager: exec, run und transaction Methoden ergaenzt
Generische Hilfsmethoden fuer Schema-Operationen (exec),
parametrisierte Writes (run) und Transaktionen (transaction).

Co-Authored-By: tolvitty <noreply@anthropic.com>
2026-02-12 11:09:41 +01:00
263c50c8fd Merge feature/sql-engine: SQL-Query-Engine 2026-02-12 11:03:06 +01:00
c050807ad0 SQL-Engine in main.ts verdrahtet, Query-Styles ergaenzt
Code-Block-Prozessoren registriert, Query-Kommando hinzugefuegt,
Refresh-Timer-Cleanup in onunload. Styles fuer Query-Modal,
Datentabellen, Timeline, Summary, Metric, Heatmap, Error-States.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:03:00 +01:00
c90bbbf5e3 Code-Block-Prozessoren und Query-Modal
logfire-Block (YAML-Config), logfire-sql-Block (Raw SQL) mit
Auto-Refresh-Timern. Query-Modal mit Shorthand- und SQL-Modus,
Kopieren-als-Markdown und In-Notiz-einfuegen.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:02:52 +01:00
b2fc5b8f6b Table-Renderer: Render-Funktionen fuer Query-Ergebnisse
Tabelle, Timeline, Summary, Metric, Liste, Heatmap sowie
Markdown-Export und Wertformatierung (Timestamps, Zahlen).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:02:45 +01:00
00446c4227 Query-Builder: QueryConfig zu parametrisiertem SQL
Konvertiert strukturierte QueryConfig-Objekte in parametrisierte
SQL-Queries mit Zeitbereich-Aufloesung, Event-/Kategorie-Filtern,
Glob-to-LIKE-Pfadfiltern und GROUP BY (file/type/hour/day/session).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:02:40 +01:00
3a64d723d5 Merge feature/echtzeit-ui: Echtzeit-UI
Event-Stream-Sidebar mit Suche und Kategorie-Filtern,
Status-Bar mit Live-Metriken und Klick-Pause,
Ribbon-Icon, Styles im System-Monitor-Design.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:55:34 +01:00
bf63f5f9e3 Echtzeit-UI in main.ts verdrahtet
Event-Stream-View registriert, StatusBar mit Live-Updates,
Ribbon-Icon für Event-Stream, Kommando 'Event-Stream
anzeigen', activateEventStream-Methode.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:55:28 +01:00
22a6c2e188 Styles: Utilitarian-System-Monitor-Design
Event-Stream mit Monospace, alternierenden Zeilen,
Toolbar, Kategorie-Chips. Status-Bar kompakt.
Scan-Modal mit animiertem Fortschrittsbalken.
Ausschließlich Obsidian CSS-Variablen.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:55:21 +01:00
eb58de96fe Status-Bar: Live-Widget mit Klick-Pause
Zeigt Aufnahme/Pausiert-Status, Event-Zähler,
Wort-Delta, Session-Dauer. Klick togglet Pause.
Updates jede Sekunde.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:55:15 +01:00
50af0eb802 Event-Stream-View: Echtzeit-Sidebar mit Filtern
Sidebar-View mit Live-Event-Liste, Suche nach Quelle,
Kategorie-Filter-Checkboxen, Pause/Leeren-Buttons,
max 500 sichtbare Einträge, Payload-Zusammenfassung
je Event-Typ.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:55:08 +01:00
afc8c8281d Merge feature/event-system: Event-System & Collectors
EventBus mit Buffer/Flush, SessionManager, ContentAnalyzer,
5 Collectors (File, Content, Nav, Editor, System),
Initial-Scan-Modal, Pause/Resume, Kommandos.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:51:05 +01:00
64d43dfab2 Event-System in main.ts verdrahtet
EventBus, SessionManager, ContentAnalyzer, alle 5 Collectors
und CM6-Extension integriert. Tracking-Lifecycle mit
Pause/Resume, Initial-Scan bei fehlendem Baseline,
Wartung beim Start. Kommandos für Toggle, Rescan,
Wartung und Debug-Info.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:50:55 +01:00
91cc22c3e5 Initial-Scan-Modal mit Fortschrittsanzeige
Batch-Processing (50 Dateien pro Batch) mit UI-Yield,
Fortschrittsbalken, Datei-/Wort-/Link-/Tag-Zähler,
Abbruch-Möglichkeit, Baseline-Event nach Scan.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:50:48 +01:00
e0d9f301d6 Alle Event-Collectors implementiert
FileCollector: create, delete, rename, move, modify Events.
ContentCollector: Semantische Analyse bei file:modify
(Wörter, Links, Tags, Headings, Embeds, Frontmatter).
NavCollector: file-open/close mit Dauer, active-leaf-change.
EditorCollector: CM6 ViewPlugin mit Debouncing.
SystemCollector: Command-Patching für Kommando-Tracking.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:50:41 +01:00
4e27ec2a90 Event-Bus, Session-Manager und Content-Analyzer
EventBus: Circular Buffer mit Pub/Sub, Auto-Flush bei
Threshold oder Intervall, Error-Recovery.
SessionManager: Session-Lifecycle mit UUID, Dauer-Tracking.
ContentAnalyzer: Snapshot-Cache, semantische Diffs für
Wörter, Links, Tags, Headings, Frontmatter, Embeds.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:50:33 +01:00
36b25b321b Plugin-Einstieg und Settings-Tab
Minimaler main.ts: onload/onunload, DB-Initialisierung,
Settings laden/speichern, shouldTrack-Filter mit Glob-Matching.
Settings-Tab mit Tracking-Toggles, Exclude-Patterns,
erweitertem Bereich für Performance/Retention/DB-Info.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:46:02 +01:00
f11eb45324 Datenbank-Layer: better-sqlite3 mit Schema und Retention
DatabaseManager mit WAL-Modus, Schema-Migrationen,
Tabellen: events, sessions, baseline, daily_stats, monthly_stats,
retention_log. Prepared Statements, Batch-Inserts,
Retention-Policies mit Aggregation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:45:55 +01:00
d5dfdd6b0d Kern-Typen: Event-System, Settings, Query-Interfaces
Alle Event-Typen (file, content, nav, editor, vault, plugin, system),
ContentSnapshot/Delta, QueryConfig, ProjectionTemplate,
LogfireSettings mit Defaults, deepMerge-Utility.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:45:49 +01:00
4d31129090 Projekt-Grundgerüst: Build-System und Konfiguration
package.json mit better-sqlite3, tsconfig (strict, ES2022),
esbuild mit native-module-resolver für better-sqlite3,
manifest.json (Desktop-only), leere styles.css.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 10:45:43 +01:00