-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added dashboard page with repository activity charts.
- Loading branch information
Showing
2 changed files
with
51 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
layout: default | ||
title: Repository Activity | ||
permalink: /repositories-activity | ||
--- | ||
|
||
<h3>Repositories (Active)</h3> | ||
|
||
<div class="row"> | ||
<div class="col-main"> | ||
<div class="chart-container"> | ||
<canvas | ||
class="chart" | ||
data-url="{{ site.dataURL }}/repository-activity.tsv" | ||
data-type="history" | ||
data-config='{ | ||
"series": [ | ||
"in organizations (last four weeks)", | ||
"in user accounts (last four weeks)", | ||
"in organizations (last week)", | ||
"in user accounts (last week)", | ||
"in organizations (last day)", | ||
"in user accounts (last day)" | ||
], | ||
"visibleSeries": [ | ||
"in organizations (last four weeks)", | ||
"in user accounts (last four weeks)" | ||
] | ||
}' | ||
></canvas> | ||
</div> | ||
</div> | ||
<div class="col-aside"> | ||
<div class="info-box"> | ||
<p> | ||
Shows how many repositories repositories are active in organizations and user accounts. | ||
</p> | ||
</div> | ||
<div class="info-box"> | ||
<p> | ||
Repositories are counted as <em>active</em> if they received at least one push within the respective time period. | ||
</p> | ||
</div> | ||
</div> | ||
</div> |