Give "Burndown" charts a more straightforward definition and move all the event stuff into "Activity" charts
Summary:
Depends on D20818. Ref T13279. The behavior of the "burndown" chart has wandered fairly far afield; make it look more like a burndown.
Move the other thing into an "Activity" chart.
Test Plan: {F6865207}
Maniphest Tasks: T13279
Differential Revision: https://secure.phabricator.com/D20819
This commit is contained in:
@@ -44,10 +44,24 @@ final class PhabricatorProjectReportsController
|
||||
->setParentPanelPHIDs(array())
|
||||
->renderPanel();
|
||||
|
||||
$activity_panel = id(new PhabricatorProjectActivityChartEngine())
|
||||
->setViewer($viewer)
|
||||
->setProjects(array($project))
|
||||
->buildChartPanel();
|
||||
|
||||
$activity_panel->setName(pht('%s: Activity', $project->getName()));
|
||||
|
||||
$activity_view = id(new PhabricatorDashboardPanelRenderingEngine())
|
||||
->setViewer($viewer)
|
||||
->setPanel($activity_panel)
|
||||
->setParentPanelPHIDs(array())
|
||||
->renderPanel();
|
||||
|
||||
$view = id(new PHUITwoColumnView())
|
||||
->setFooter(
|
||||
array(
|
||||
$chart_view,
|
||||
$activity_view,
|
||||
));
|
||||
|
||||
return $this->newPage()
|
||||
|
||||
Reference in New Issue
Block a user