Add UI console and spare forecast naming

This commit is contained in:
2026-02-06 00:01:52 +03:00
parent 5af1462645
commit ee46a093d3
21 changed files with 1573 additions and 207 deletions

10
TODO.md
View File

@@ -11,13 +11,13 @@ Status legend: `[ ] todo` `[-] in progress` `[x] done` `[!] blocked`
- Registry: `customer/project/asset/component/internal_pn (LOT)`
- Ingest `logbundle` -> parse `first_seen` + installation relationships
- Timeline events: `LOG_COLLECTED`, `INSTALLED`, `REMOVED`, `FIRMWARE_CHANGED`
- UI: server card + current components + movement list
- UI: dashboard + server card + current components + movement list + ingest console
- Basic tickets import + link to server (`asset`)
### Out of Scope (After MVP-1)
- AFR/MTBF production analytics
- Spare-parts forecasting (ZIP)
- Spare-parts forecasting (Spare)
- Advanced ticket/component time-window inheritance
- Predictive models and anomaly detection
@@ -108,6 +108,10 @@ Status legend: `[ ] todo` `[-] in progress` `[x] done` `[!] blocked`
- [x] Minimal UI: server card
- [x] Minimal UI: current components list
- [x] Minimal UI: movement/event list from timeline
- [x] Minimal UI: dashboard + assets/components lists
- [x] Minimal UI: ticket/failure lists
- [x] Minimal UI: ingest console
- [x] Minimal UI: analytics view (lot/firmware/spare)
- [x] SQL migrations: `tickets`, `ticket_links`
- [x] Endpoint: `POST /connectors/tickets/sync`
- [x] Link ticket to server (`asset`)
@@ -127,7 +131,7 @@ Status legend: `[ ] todo` `[-] in progress` `[x] done` `[!] blocked`
- [x] Explicit `failure_events` model and ingestion path
- [x] AFR/MTBF calculations by LOT/component class
- [x] Firmware risk analytics
- [x] ZIP forecasting baseline
- [x] Spare forecasting baseline
**Definition of done:**
- metrics are reproducible and usable for operational planning