feat(F-074): completed feature

This commit is contained in:
chattie
2026-08-19 19:25:39 +02:00
parent 1fe9b8babd
commit e699285b1d
12 changed files with 278 additions and 47 deletions

View File

@@ -0,0 +1,18 @@
{
"feature_id": "F-074",
"agent": "reviewer",
"verdict": "APPROVED",
"summary": "F-074 adds 5-second polling to the audit page for real-time log display. Polls only on page 0 with no filter, uses useRef for stable deduplication, stops on page change/filter. UI shows live indicator and new entry count.",
"evidence": [
"Polling useEffect with setInterval(5000) triggers fetch every 5 seconds",
"Polling active only when page===0 and no filter (debounced)",
"itemsRef prevents effect from re-running on items state change",
"New entries prepended to list, deduplicated by id",
"Live indicator shows when polling is active",
"New count badge shows number of new entries, click to dismiss",
"npx tsc --noEmit admin exit 0",
"npx eslint exit 0",
"verify.sh exit 0"
],
"timestamp": "2026-08-19T17:26:00Z"
}