Skip to content

feat: add device owner to analytics and fix data instability#169

Merged
rajsinghtech merged 9 commits intomainfrom
feat/analytics-owner-stability
Apr 16, 2026
Merged

feat: add device owner to analytics and fix data instability#169
rajsinghtech merged 9 commits intomainfrom
feat/analytics-owner-stability

Conversation

@rajsinghtech
Copy link
Copy Markdown
Owner

@rajsinghtech rajsinghtech commented Apr 16, 2026

Closes #163

Summary

  • Analytics stability fix: Removes the liveEmpty fallback in stats-store.ts that caused data to oscillate between GB and MB on every 60s refresh. The analytics page now defaults to a 1h window on mount and shows a clear empty-state banner when the selected window has no data but historical data exists.
  • Device owner column: Propagates the Tailscale user (email) field end-to-end — device cache → resolveNodeOwner helper → top-talkers/top-pairs API responses → TypeScript types → UI. Owner appears as a column in Top Talkers and stacked below the device name in Top Pairs (desktop + mobile).

@rajsinghtech rajsinghtech merged commit 8736c95 into main Apr 16, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Device owners on analytics page

1 participant