You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by hu...@apache.org on 2019/08/03 12:52:29 UTC

svn commit: r1864330 - in /comdev/reporter.apache.org/trunk/site/wizard/js: source/generators.js wizard.js

Author: humbedooh
Date: Sat Aug  3 12:52:28 2019
New Revision: 1864330

URL: http://svn.apache.org/viewvc?rev=1864330&view=rev
Log:
we should only ever need 3 elements here, lest we risk showing too old things

Modified:
    comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js
    comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js

Modified: comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js?rev=1864330&r1=1864329&r2=1864330&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/source/generators.js Sat Aug  3 12:52:28 2019
@@ -313,7 +313,7 @@ function activity_tips(data) {
         ages.push(reldate.unix());
     }
     ages.sort().reverse();
-    ages = ages.splice(0,6);
+    ages = ages.splice(0,3);
     console.log(ages)
     let releases_shown = 0;
     for (var rel in data.releases[project]) {

Modified: comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js?rev=1864330&r1=1864329&r2=1864330&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js Sat Aug  3 12:52:28 2019
@@ -1482,7 +1482,7 @@ function activity_tips(data) {
         ages.push(reldate.unix());
     }
     ages.sort().reverse();
-    ages = ages.splice(0,6);
+    ages = ages.splice(0,3);
     console.log(ages)
     let releases_shown = 0;
     for (var rel in data.releases[project]) {