Skip to content

feat(web): show sidebar last-updated status#18

Merged
offendingcommit merged 1 commit into
mainfrom
feat/sidebar-last-updated
May 28, 2026
Merged

feat(web): show sidebar last-updated status#18
offendingcommit merged 1 commit into
mainfrom
feat/sidebar-last-updated

Conversation

@offendingcommit
Copy link
Copy Markdown
Owner

Adds a relative "Updated Ns/m/h ago" freshness indicator under the active instance in the sidebar. A useLastDataUpdate hook scans the TanStack Query cache for the max dataUpdatedAt, subscribes to cache changes, and ticks every 30s; formatLastUpdated renders the relative time.

Self-contained — touches only Sidebar.tsx, no API or config changes.

Credit

Cherry-picked from @zoidypuh's fork (feat/sidebar-last-updated); original authorship preserved in the commit. Thanks @zoidypuh!

Verification

make check — lint + typecheck + 11/11 tests pass locally.

@offendingcommit offendingcommit merged commit 972fd83 into main May 28, 2026
2 checks passed
@offendingcommit offendingcommit deleted the feat/sidebar-last-updated branch May 28, 2026 19:32
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.

1 participant