Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

admin: Display repo sync counters per sync job#43039

Merged
ryanslade merged 8 commits into
mainfrom
rs/display-sync-counters
Oct 18, 2022
Merged

admin: Display repo sync counters per sync job#43039
ryanslade merged 8 commits into
mainfrom
rs/display-sync-counters

Conversation

@ryanslade

@ryanslade ryanslade commented Oct 17, 2022

Copy link
Copy Markdown
Contributor

Expose sync counters in the UI per external service sync job.

Here's a short demo:

sync-counters.mov

Closes https://github.com/sourcegraph/sourcegraph/issues/42868

Thanks @sashaostrikov for the help figuring out how to get the ValueLegendList component integrated.

Test plan

Tested locally, see video above

@sg-e2e-regression-test-bob

sg-e2e-regression-test-bob commented Oct 17, 2022

Copy link
Copy Markdown

Bundle size report 📦

Initial size Total size Async size Modules
0.00% (+0.13 kb) 0.03% (+4.16 kb) 0.03% (+4.04 kb) 0.00% (0)

Look at the Statoscope report for a full comparison between the commits 646afbe and d833098 or learn more.

Open explanation
  • Initial size is the size of the initial bundle (the one that is loaded when you open the page)
  • Total size is the size of the initial bundle + all the async loaded chunks
  • Async size is the size of all the async loaded chunks
  • Modules is the number of modules in the initial bundle

@ryanslade ryanslade changed the title rs/display sync counters admin: Display repo sync counters per sync job Oct 17, 2022
@ryanslade ryanslade requested review from a team and eseliger October 17, 2022 12:29
@ryanslade ryanslade marked this pull request as ready for review October 17, 2022 12:29

@eseliger eseliger left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wow this is so cool!

@sashaostrikov sashaostrikov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's gooooooo! :shipit::shipit::shipit:

(I'd engage designers just in case, but to my preference this looks awesome!)

Comment on lines +315 to +320
reposSynced
repoSyncErrors
reposAdded
reposDeleted
reposModified
reposUnmodified

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to update client/web/src/components/externalServices/ExternalServicePage.story.tsx , line 54, to contain these fields as well

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expose external service sync status

6 participants