@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Unprototype Reports

Summary: Part of T16277 and T16386

Test Plan:
Go to http://phorge.localhost/tag/someproject

With `phabricator.show-prototypes` enabled:

- Without the patch: "Reports (Prototype)" appears in the left menu of the project
- With this patch: "Reports / Burnup" appears in the left menu

With `phabricator.show-prototypes` disabled:

- Without this patch: No reports menu appears.
- With this patch: A reports menu appears.

Reviewers: O1 Blessed Committers, avivey

Reviewed By: O1 Blessed Committers, avivey

Subscribers: avivey, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D26589

Pppery d9f5ff3d 59edcaec

+1 -5
+1 -5
src/applications/project/menuitem/PhabricatorProjectReportsProfileMenuItem.php
··· 10 10 } 11 11 12 12 private function getDefaultName() { 13 - return pht('Reports (Prototype)'); 13 + return pht('Reports / Burnup'); 14 14 } 15 15 16 16 public function getMenuItemTypeIcon() { ··· 24 24 25 25 public function shouldEnableForObject($object) { 26 26 $viewer = $this->getViewer(); 27 - 28 - if (!PhabricatorEnv::getEnvConfig('phabricator.show-prototypes')) { 29 - return false; 30 - } 31 27 32 28 $class = PhabricatorManiphestApplication::class; 33 29 if (!PhabricatorApplication::isClassInstalledForViewer($class, $viewer)) {