Skip to content

Fix stale synced status label and show exact sync time on hover#287

Merged
wesm merged 1 commit intowesm:mainfrom
kinglau66:fix/status-bar-sync-time
Apr 9, 2026
Merged

Fix stale synced status label and show exact sync time on hover#287
wesm merged 1 commit intowesm:mainfrom
kinglau66:fix/status-bar-sync-time

Conversation

@kinglau66
Copy link
Copy Markdown
Contributor

Summary

Fix the status bar sync indicator so its relative time updates as time passes, and add an exact timestamp tooltip on hover for better clarity.

What changed

  • refresh the synced … relative label periodically in StatusBar.svelte
  • keep the existing synced just now copy unchanged
  • show the exact sync timestamp via the native hover tooltip
  • add a focused StatusBar test covering the refreshing label and tooltip

Why

Previously, the status bar could keep showing synced just now long after the last sync because the relative label was only recomputed when sync state changed.

Validation

  • npm run test -- src/lib/components/layout/StatusBar.test.ts

Notes

  • npm run check still reports pre-existing unrelated frontend issues in this repo and was not introduced by this PR.
  • The unrelated local staged file frontend/pnpm-lock.yaml is not part of this branch's commits.

@kinglau66
Copy link
Copy Markdown
Contributor Author

related to #286
made with copilot cli

@roborev-ci
Copy link
Copy Markdown

roborev-ci bot commented Apr 8, 2026

roborev: Combined Review (6c95d23)

Verdict: No medium-or-higher issues found; the change looks clean.

Reviewed outputs were consistent across agents. No Medium, High, or Critical findings to report.


Synthesized from 3 reviews (agents: codex, gemini | types: default, security)

- refresh the relative sync label over time
- show the exact sync timestamp on hover

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@kinglau66 kinglau66 force-pushed the fix/status-bar-sync-time branch from 6c95d23 to 2407b05 Compare April 8, 2026 05:26
@roborev-ci
Copy link
Copy Markdown

roborev-ci bot commented Apr 8, 2026

roborev: Combined Review (2407b05)

No medium-or-higher issues found; the change looks clean.

All three reviews agreed there are no findings at Medium, High, or Critical severity.


Synthesized from 3 reviews (agents: codex, gemini | types: default, security)

@wesm
Copy link
Copy Markdown
Owner

wesm commented Apr 9, 2026

looks good, thanks!

@wesm wesm merged commit e9708a2 into wesm:main Apr 9, 2026
10 checks passed
@kinglau66 kinglau66 deleted the fix/status-bar-sync-time branch April 9, 2026 09:01
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.

2 participants