aklinker1/github-better-line-counts

Better "processing" UI

aklinker1 opened this issue · 1 comments

Right now I just set the display: none on the line counts while the extension recalculates the totals.

// Render loading UI while calculating stats
let additionsElement = getAdditionsElement();
let deletionsElement = getDeletionsElement();
if (additionsElement) additionsElement.style.display = "none";
if (deletionsElement) deletionsElement.style.display = "none";

I want to leave them visible and put a loading indicator to the right of the numbers, between the line counts and the red/green squares (where the generated count now shows up)

Closed by d8afc3b