mirror of
https://github.com/niels-emmer/nanoclaw-dashboard.git
synced 2026-09-13 23:53:29 +02:00
[PR #57] [MERGED] fix: live activity feed ordering + timezone normalization #57
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
github-mirrors/nanoclaw-dashboard#57
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/niels-emmer/nanoclaw-dashboard/pull/57
Author: @niels-emmer
Created: 9/2/2026
Status: ✅ Merged
Merged: 9/2/2026
Merged by: @niels-emmer
Base:
main← Head:fix/live-activity-scroll📝 Commits (2)
d0f7787feat: enrich API discoverability for agents + fix WS rejection close code949e7f2fix: live activity feed ordering + timezone normalization📊 Changes
11 files changed (+320 additions, -9 deletions)
View changed files
➕
API.md(+109 -0)📝
README.md(+1 -0)📝
backend/app/events.py(+3 -1)📝
backend/app/main.py(+47 -1)📝
backend/app/telemetry/nanoclaw.py(+28 -5)📝
backend/tests/test_app.py(+50 -0)📝
backend/tests/test_telemetry.py(+26 -0)📝
docs/ARCHITECTURE.md(+1 -1)📝
docs/decision-log.md(+23 -0)📝
frontend/src/lib/activityFeed.test.ts(+18 -0)📝
frontend/src/lib/activityFeed.ts(+14 -1)📄 Description
Summary
Fixes the Live activity feed (right column) on the main dashboard.
Problem
Root causes
messages_out,delivered_at,status_changed,created_at), which the dashboard treated as UTC, shifting them into the future.Fix
activityFeed.ts): sort the feed newest-first by timestamp so every entry lands on top and scrolls down as newer messages arrive.nanoclaw.py): add_normalize_timestamp()and apply it to all row-sourced timestamps — naive values are interpreted as host-local and converted to UTC; already-UTC ISO values are preserved.Tests
_normalize_timestamp).Docs
docs/decision-log.md.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.