Separat status och mottagningsräknare för varje kanal.

Senaste råmeddelande, fel och ignoreringsorsaker.
Pausa visning, rensa och kopiera logg.
Uppdateras utan att störa inställningsfält eller tidtagning.
This commit is contained in:
larssand
2026-09-08 18:37:47 +02:00
parent 8aedf83826
commit a0c3d3039e
15 changed files with 265 additions and 14 deletions

View File

@@ -41,17 +41,18 @@ Acceptance: users can distinguish server contact, pending edits, an active save
- [ ] Extend stale-data feedback to the personal mobile profile.
- [ ] Review concurrent writes, reconnect recovery and multiple controllers editing the same race.
### Next: decoder/socket diagnostics
### Implemented: decoder/socket diagnostics
Acceptance: each configured channel distinguishes an open socket from actual received data and successfully parsed passing messages. Inspecting diagnostics must not interrupt timing or rerender an active settings form.
- [ ] Show Main, Split, Pit entry and Pit exit separately, with the configured WebSocket URL.
- [ ] Show socket state, last connection, last received message and elapsed time since reception.
- [ ] Count received frames, valid passing messages, ignored messages and parse errors per channel.
- [ ] Add a bounded live message sample/log with pause, clear and copy controls.
- [ ] Show why an incoming passing was ignored or rejected without changing lap validation.
- [ ] Add simulated-socket tests for receiving, parsing, disconnecting and reconnecting.
- [ ] Document IP/port/channel setup and the difference between decoder connection and incoming data.
- [x] Show Main, Split, Pit entry and Pit exit separately, with the configured WebSocket URL.
- [x] Show socket state, last connection, last received message and elapsed time since reception.
- [x] Count received frames, recognized passing messages (not accepted laps), ignored messages and parse errors per channel.
- [x] Add a bounded live message sample/log with pause, clear and copy controls.
- [x] Show why an incoming passing was ignored or rejected without changing lap validation.
- [x] Add simulated-socket tests for receiving, parsing, disconnecting and open status.
- [ ] Verify automatic reconnect against a real decoder/network interruption.
- [x] Document IP/port/channel setup and the difference between decoder connection and incoming data.
## 3. Clearer practice follow-up