Skip to content

Commit

Permalink
Added dashboard page with repository activity charts.
Browse files Browse the repository at this point in the history
  • Loading branch information
pluehne committed Oct 30, 2017
1 parent f776508 commit e975884
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/_data/navigation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@
- title: "Total"
url: "/pr-total"
- title: "Repositories"
url: "/repositories-total"
url: "/repositories-activity"
subnavigation:
- title: "Activity"
url: "/repositories-activity"
- title: "Total"
url: "/repositories-total"
- title: "Housekeeping"
url: "/housekeeping-git-traffic"
subnavigation:
Expand Down
45 changes: 45 additions & 0 deletions docs/repositories-activity.html
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>

0 comments on commit e975884

Please sign in to comment.