Language statistics bar for repositories (#8037)
* Implementation for calculating language statistics Impement saving code language statistics to database Implement rendering langauge stats Add primary laguage to show in repository list Implement repository stats indexer queue Add indexer test Refactor to use queue module * Do not timeout for queues
This commit is contained in:
parent
37892be635
commit
ad2642a8aa
89 changed files with 182950 additions and 57 deletions
|
@ -1127,6 +1127,14 @@ function initRepository() {
|
|||
}
|
||||
});
|
||||
}
|
||||
|
||||
// Language stats
|
||||
if ($('.language-stats').length > 0) {
|
||||
$('.language-stats').on('click', (e) => {
|
||||
e.preventDefault();
|
||||
$('.language-stats-details, .repository-menu').slideToggle();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function initMigration() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue