Bootstrap reanimator chart viewer

This commit is contained in:
Mikhail Chusavitin
2026-03-15 17:28:19 +03:00
commit df91e24fea
22 changed files with 1231 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
# Decision: Read-Only Schema-Preserving Viewer
**Date:** 2026-03-15
**Status:** active
## Context
A separate repository is being created to display Reanimator JSON snapshots in a simpler and more reusable way than the existing `logpile` UI.
The goal is to let other Go applications embed the viewer module and present Reanimator snapshot data without duplicating UI work.
There was an explicit requirement that the viewer must show all JSON fields and must not add new computed data.
## Decision
Reanimator Chart is defined as a small read-only web viewer for one Reanimator JSON snapshot.
It will:
- render source data as-is
- preserve unknown fields
- use simple section navigation and tables
- color-code device statuses for presentation only
It will not:
- perform collection or parsing of raw vendor logs
- run upload/API-connect/convert workflows
- compute aggregate health summaries unless they are already present in the input JSON
- become a generic analyzer product
## Consequences
- The viewer architecture must stay minimal and server-rendered by default.
- The rendering layer must be tolerant of schema evolution.
- UI code must not silently drop unexpected fields.
- `logpile` patterns for upload, convert, collectors, and job management are out of scope here.

View File

@@ -0,0 +1,21 @@
# Architectural Decision Log
Each file in this directory records one architectural decision.
Format:
```markdown
# Decision: <short title>
**Date:** YYYY-MM-DD
**Status:** active | superseded by YYYY-MM-DD-topic.md
## Context
Why the decision was needed.
## Decision
What was decided.
## Consequences
What this requires or forbids going forward.
```