docs: update documentation to OKF v0.1 format

This commit is contained in:
OpenVelo Agent
2026-07-22 09:04:42 +00:00
parent c0427f8c20
commit 9a98835c99
3 changed files with 29 additions and 5 deletions
+5 -2
View File
@@ -3,7 +3,7 @@ type: guide
title: Event Window
description: How the event window state machine is computed and surfaced via REST + SSE.
tags: [guide, event, countdown, sse, state-machine]
timestamp: 2026-07-21T22:19:08Z
timestamp: 2026-07-22T09:03:53Z
---
# Configuration
@@ -78,7 +78,10 @@ The store:
The header (`ShellHeaderComponent`) renders an LED with the
`led-{state}` class so the colour reflects the current state (the
exact theme colours are wired in `styles.css` against the existing
`--color-success` / `--color-warning` / `--color-danger` tokens).
`--color-success` / `--color-warning` / `--color-danger` tokens;
`unconfigured` uses `--color-secondary`). See the
[Event LED colors](/guides/authenticated-shell.md#event-led-colors)
table in the Authenticated Shell guide for the full mapping.
`HomeComponent.ngOnDestroy()` (and the `DestroyRef` hook in the store
itself) close the SSE source and clear the tick interval, so leaving