Skip to content

feat(dashboard): show last synced time for each connected provider - #30

Open
nobledeveloper01 wants to merge 6 commits into
oseghalep:mainfrom
nobledeveloper01:nobledeveloper01/dashboard-last-synced-issue-19
Open

feat(dashboard): show last synced time for each connected provider#30
nobledeveloper01 wants to merge 6 commits into
oseghalep:mainfrom
nobledeveloper01:nobledeveloper01/dashboard-last-synced-issue-19

Conversation

@nobledeveloper01

Copy link
Copy Markdown
Contributor

Adds a data-freshness strip at the top of the dashboard showing the last successful sync per connected provider, with its brand logo and account count. Closes #19.

Frontend only. The dashboard summary payload carries no sync information, but GET /accounts already returns provider and last_sync_at, so the dashboard fetches both in parallel and takes the most recent successful sync across each provider's accounts. No backend change needed.

Verified end to end: triggering a real sync moved the Google Cloud chip from 'about 1 hour ago' to 'less than a minute ago' while AWS and Azure correctly stayed put.

Details: providers with no successful sync read 'Never synced' in amber rather than showing a misleading time; relative times re-render every 60s so a dashboard left open does not go stale; the strip has its own shimmer skeleton while loading, matching the GET-loads-use-skeletons pattern.

Stacks on #26, #27, #28 and #29; those commits drop off as they merge.

@vercel

vercel Bot commented Jul 19, 2026

Copy link
Copy Markdown

@nobledeveloper01 is attempting to deploy a commit to the oseghalep's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

Add a "Last Synced" Timestamp to the Dashboard

1 participant