feat(services): map backend service data to UI components, add stats & logs parsing, fetch service stats, and fix logs request param

This commit is contained in:
2026-03-03 11:57:41 +00:00
parent 4c485cdc0a
commit 0631b7731f
6 changed files with 119 additions and 8 deletions

View File

@@ -1,5 +1,14 @@
# Changelog
## 2026-03-03 - 1.11.0 - feat(services)
map backend service data to UI components, add stats & logs parsing, fetch service stats, and fix logs request param
- Fix: rename service logs request property from 'lines' to 'tail' when calling typedRequest
- Add data transformation helpers: formatBytes, parseImageString, mapStatus, toServiceDetail, toServiceStats, parseLogs
- Transform service list and detail props to match @serve.zone/catalog component interfaces (map status, image, repo/tag, timestamps, registry)
- Dispatch fetchServiceStatsAction on service click and surface transformed stats with default values to avoid nulls
- Parse and normalize logs into timestamp/message pairs for the detail view
## 2026-03-02 - 1.10.3 - fix(bin)
make bin/onebox-wrapper.js executable