wu-sheng opened a new pull request, #82: URL: https://github.com/apache/skywalking-horizon-ui/pull/82
## Why Two small operator-facing gaps on existing screens: - On the **Kubernetes Node** dashboard, the Node Status card is a single-line `card` next to two-row charts, so the grid cell directly under it was left blank — wasted space on a dense observability page. - On the **Alarms timeline**, you can drag to brush a time range, but nothing on screen tells you that — the affordance was undiscoverable (only "click to filter to this minute" was hinted). ## What **K8s Node dashboard — new "Pod Total" card.** A compact card now sits directly under Node Status showing the current count of pods scheduled on the node, `latest(k8s_node_pod_total)`. It back-fills the previously-blank grid cell (same span/row footprint as Node Status; the `grid-auto-flow: dense` layout drops it into the empty slot). The node scope has no Running-only pod metric (`k8s_node_pod_total` = `kube_pod_info.sum(['cluster','node'])`, all phases), so it is titled "Pod Total" and the tip says "all phases" — the latest value of the same series the existing "Pods on Node" trend charts. Title + tip added to the English source template and all seven locale overlays (zh-CN, de, es, fr, ja, ko, pt); positional overlay alignment preserved. **Alarms timeline — range-select hint.** The hover tooltip now surfaces both affordances: `click to filter to this minute · drag to select a range` over a populated bucket, and `drag to select a range` over an empty minute. No behavior change — only discoverability. (The tooltip strings in this component are hardcoded English today; the new hint matches that existing pattern. A full i18n pass on the component is a separate follow-up.) Docs (`docs/dashboards/k8s.md`) and `CHANGELOG.md` updated. ## Validation - **Preflight green:** `type-check` (vue-tsc + tsc, strict), `build-ui`, `build-bff`, `lint`, `test:unit` (162 BFF + 116 UI), `license:check`, and BFF `i18n:validate` (no overlay drift). - **Live OAP (demo):** `latest(k8s_node_pod_total)` validated against the demo OAP on a real node — returns `SINGLE_VALUE` = 56 (matches the "Pods on Node" trend's last bucket), confirming the `card` widget type. The bundled K8s template + all 7 overlays were pushed to the demo OAP and re-fetched in live mode: the card renders at the right slot and localizes correctly (zh-CN "Pod 总数") with no positional shift in the other node widgets. - **Alarms timeline** is a UI-only tooltip change (no OAP wire); verified the component hot-reloads and type-checks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
