feat(dashboard): show last synced time for each connected provider - #30
Open
nobledeveloper01 wants to merge 6 commits into
Open
Conversation
…ons and per-account refresh (closes oseghalep#15)
…ring and pagination to the accounts page (closes oseghalep#15)
…pe-accurate placeholders (closes oseghalep#17)
|
@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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.